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()
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.c49 static void blk_mq_poll_stats_fn(struct blk_stat_callback *cb);
3898 static void blk_mq_poll_stats_fn(struct blk_stat_callback *cb) in blk_mq_poll_stats_fn()