Home
last modified time | relevance | path

Searched refs:blk_stat_callback (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/block/
Dblk-stat.h19 struct blk_stat_callback { struct
55 void (*timer_fn)(struct blk_stat_callback *); argument
86 struct blk_stat_callback *
87 blk_stat_alloc_callback(void (*timer_fn)(struct blk_stat_callback *),
101 struct blk_stat_callback *cb);
113 struct blk_stat_callback *cb);
124 void blk_stat_free_callback(struct blk_stat_callback *cb);
131 static inline bool blk_stat_is_active(struct blk_stat_callback *cb) in blk_stat_is_active()
144 static inline void blk_stat_activate_nsecs(struct blk_stat_callback *cb, in blk_stat_activate_nsecs()
150 static inline void blk_stat_deactivate(struct blk_stat_callback *cb) in blk_stat_deactivate()
[all …]
Dblk-stat.c54 struct blk_stat_callback *cb; in blk_stat_add()
82 struct blk_stat_callback *cb = from_timer(cb, t, timer); in blk_stat_timer_fn()
102 struct blk_stat_callback *
103 blk_stat_alloc_callback(void (*timer_fn)(struct blk_stat_callback *), in blk_stat_alloc_callback() argument
107 struct blk_stat_callback *cb; in blk_stat_alloc_callback()
137 struct blk_stat_callback *cb) in blk_stat_add_callback()
158 struct blk_stat_callback *cb) in blk_stat_remove_callback()
173 struct blk_stat_callback *cb; in blk_stat_free_callback_rcu()
175 cb = container_of(head, struct blk_stat_callback, rcu); in blk_stat_free_callback_rcu()
181 void blk_stat_free_callback(struct blk_stat_callback *cb) in blk_stat_free_callback()
Dblk-wbt.h58 struct blk_stat_callback *cb;
Dblk-wbt.c353 static void wb_timer_fn(struct blk_stat_callback *cb) in wb_timer_fn()
Dblk-mq.c50 static void blk_mq_poll_stats_fn(struct blk_stat_callback *cb);
4749 static void blk_mq_poll_stats_fn(struct blk_stat_callback *cb) in blk_mq_poll_stats_fn()
/linux-6.1.9/include/linux/
Dblkdev.h41 struct blk_stat_callback;
475 struct blk_stat_callback *poll_cb;