Home
last modified time | relevance | path

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

/linux-6.12.1/block/
Dblk-stat.h19 struct blk_stat_callback { struct
55 void (*timer_fn)(struct blk_stat_callback *); argument
85 struct blk_stat_callback *
86 blk_stat_alloc_callback(void (*timer_fn)(struct blk_stat_callback *),
100 struct blk_stat_callback *cb);
112 struct blk_stat_callback *cb);
123 void blk_stat_free_callback(struct blk_stat_callback *cb);
130 static inline bool blk_stat_is_active(struct blk_stat_callback *cb) in blk_stat_is_active()
143 static inline void blk_stat_activate_nsecs(struct blk_stat_callback *cb, in blk_stat_activate_nsecs()
149 static inline void blk_stat_deactivate(struct blk_stat_callback *cb) in blk_stat_deactivate()
[all …]
Dblk-stat.c53 struct blk_stat_callback *cb; in blk_stat_add()
79 struct blk_stat_callback *cb = from_timer(cb, t, timer); in blk_stat_timer_fn()
99 struct blk_stat_callback *
100 blk_stat_alloc_callback(void (*timer_fn)(struct blk_stat_callback *), in blk_stat_alloc_callback() argument
104 struct blk_stat_callback *cb; in blk_stat_alloc_callback()
134 struct blk_stat_callback *cb) in blk_stat_add_callback()
155 struct blk_stat_callback *cb) in blk_stat_remove_callback()
170 struct blk_stat_callback *cb; in blk_stat_free_callback_rcu()
172 cb = container_of(head, struct blk_stat_callback, rcu); in blk_stat_free_callback_rcu()
178 void blk_stat_free_callback(struct blk_stat_callback *cb) in blk_stat_free_callback()
Dblk-wbt.c83 struct blk_stat_callback *cb;
421 static void wb_timer_fn(struct blk_stat_callback *cb) in wb_timer_fn()
/linux-6.12.1/include/linux/
Dblkdev.h41 struct blk_stat_callback;