Home
last modified time | relevance | path

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

/block/
Dblk-stat.h19 struct blk_stat_callback { struct
55 void (*timer_fn)(struct blk_stat_callback *); argument
84 struct blk_stat_callback *
85 blk_stat_alloc_callback(void (*timer_fn)(struct blk_stat_callback *),
99 struct blk_stat_callback *cb);
111 struct blk_stat_callback *cb);
122 void blk_stat_free_callback(struct blk_stat_callback *cb);
129 static inline bool blk_stat_is_active(struct blk_stat_callback *cb) in blk_stat_is_active()
142 static inline void blk_stat_activate_nsecs(struct blk_stat_callback *cb, in blk_stat_activate_nsecs()
148 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()
81 struct blk_stat_callback *cb = from_timer(cb, t, timer); in blk_stat_timer_fn()
101 struct blk_stat_callback *
102 blk_stat_alloc_callback(void (*timer_fn)(struct blk_stat_callback *), in blk_stat_alloc_callback() argument
106 struct blk_stat_callback *cb; in blk_stat_alloc_callback()
136 struct blk_stat_callback *cb) in blk_stat_add_callback()
156 struct blk_stat_callback *cb) in blk_stat_remove_callback()
169 struct blk_stat_callback *cb; in blk_stat_free_callback_rcu()
171 cb = container_of(head, struct blk_stat_callback, rcu); in blk_stat_free_callback_rcu()
177 void blk_stat_free_callback(struct blk_stat_callback *cb) in blk_stat_free_callback()
Dblk-wbt.h57 struct blk_stat_callback *cb;
Dblk-wbt.c352 static void wb_timer_fn(struct blk_stat_callback *cb) in wb_timer_fn()
Dblk-mq.c44 static void blk_mq_poll_stats_fn(struct blk_stat_callback *cb);
3351 static void blk_mq_poll_stats_fn(struct blk_stat_callback *cb) in blk_mq_poll_stats_fn()