Home
last modified time | relevance | path

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

/block/
Dblk-rq-qos.c208 void *private_data; member
223 if (!data->cb(data->rqw, data->private_data)) in rq_qos_wake_function()
249 void rq_qos_wait(struct rq_wait *rqw, void *private_data, in rq_qos_wait() argument
261 .private_data = private_data, in rq_qos_wait()
266 if (!has_sleeper && acquire_inflight_cb(rqw, private_data)) in rq_qos_wait()
275 if (!has_sleeper && acquire_inflight_cb(rqw, private_data)) { in rq_qos_wait()
285 cleanup_cb(rqw, private_data); in rq_qos_wait()
Dblk-rq-qos.h144 typedef bool (acquire_inflight_cb_t)(struct rq_wait *rqw, void *private_data);
145 typedef void (cleanup_cb_t)(struct rq_wait *rqw, void *private_data);
147 void rq_qos_wait(struct rq_wait *rqw, void *private_data,
Dblk-wbt.c496 static bool wbt_inflight_cb(struct rq_wait *rqw, void *private_data) in wbt_inflight_cb() argument
498 struct wbt_wait_data *data = private_data; in wbt_inflight_cb()
502 static void wbt_cleanup_cb(struct rq_wait *rqw, void *private_data) in wbt_cleanup_cb() argument
504 struct wbt_wait_data *data = private_data; in wbt_cleanup_cb()
Dblk-iolatency.c273 static void iolat_cleanup_cb(struct rq_wait *rqw, void *private_data) in iolat_cleanup_cb() argument
279 static bool iolat_acquire_inflight(struct rq_wait *rqw, void *private_data) in iolat_acquire_inflight() argument
281 struct iolatency_grp *iolat = private_data; in iolat_acquire_inflight()
Dblk-mq-debugfs.c728 struct seq_file *m = file->private_data; in blk_mq_debugfs_write()
752 m = file->private_data; in blk_mq_debugfs_open()