• Home
  • Raw
  • Download

Lines Matching refs:data

28 static int queue_poll_stat_show(void *data, struct seq_file *m)  in queue_poll_stat_show()  argument
30 struct request_queue *q = data; in queue_poll_stat_show()
99 static int queue_pm_only_show(void *data, struct seq_file *m) in queue_pm_only_show() argument
101 struct request_queue *q = data; in queue_pm_only_show()
136 static int queue_state_show(void *data, struct seq_file *m) in queue_state_show() argument
138 struct request_queue *q = data; in queue_state_show()
146 static ssize_t queue_state_write(void *data, const char __user *buf, in queue_state_write() argument
149 struct request_queue *q = data; in queue_state_write()
200 static int hctx_state_show(void *data, struct seq_file *m) in hctx_state_show() argument
202 struct blk_mq_hw_ctx *hctx = data; in hctx_state_show()
228 static int hctx_flags_show(void *data, struct seq_file *m) in hctx_flags_show() argument
230 struct blk_mq_hw_ctx *hctx = data; in hctx_flags_show()
380 static bool hctx_show_busy_rq(struct request *rq, void *data) in hctx_show_busy_rq() argument
382 const struct show_busy_params *params = data; in hctx_show_busy_rq()
390 static int hctx_busy_show(void *data, struct seq_file *m) in hctx_busy_show() argument
392 struct blk_mq_hw_ctx *hctx = data; in hctx_busy_show()
407 static int hctx_type_show(void *data, struct seq_file *m) in hctx_type_show() argument
409 struct blk_mq_hw_ctx *hctx = data; in hctx_type_show()
416 static int hctx_ctx_map_show(void *data, struct seq_file *m) in hctx_ctx_map_show() argument
418 struct blk_mq_hw_ctx *hctx = data; in hctx_ctx_map_show()
441 static int hctx_tags_show(void *data, struct seq_file *m) in hctx_tags_show() argument
443 struct blk_mq_hw_ctx *hctx = data; in hctx_tags_show()
458 static int hctx_tags_bitmap_show(void *data, struct seq_file *m) in hctx_tags_bitmap_show() argument
460 struct blk_mq_hw_ctx *hctx = data; in hctx_tags_bitmap_show()
475 static int hctx_sched_tags_show(void *data, struct seq_file *m) in hctx_sched_tags_show() argument
477 struct blk_mq_hw_ctx *hctx = data; in hctx_sched_tags_show()
492 static int hctx_sched_tags_bitmap_show(void *data, struct seq_file *m) in hctx_sched_tags_bitmap_show() argument
494 struct blk_mq_hw_ctx *hctx = data; in hctx_sched_tags_bitmap_show()
509 static int hctx_run_show(void *data, struct seq_file *m) in hctx_run_show() argument
511 struct blk_mq_hw_ctx *hctx = data; in hctx_run_show()
517 static ssize_t hctx_run_write(void *data, const char __user *buf, size_t count, in hctx_run_write() argument
520 struct blk_mq_hw_ctx *hctx = data; in hctx_run_write()
526 static int hctx_active_show(void *data, struct seq_file *m) in hctx_active_show() argument
528 struct blk_mq_hw_ctx *hctx = data; in hctx_active_show()
534 static int hctx_dispatch_busy_show(void *data, struct seq_file *m) in hctx_dispatch_busy_show() argument
536 struct blk_mq_hw_ctx *hctx = data; in hctx_dispatch_busy_show()
582 void *data = d_inode(m->file->f_path.dentry->d_parent)->i_private; in blk_mq_debugfs_show() local
584 return attr->show(data, m); in blk_mq_debugfs_show()
592 void *data = d_inode(file->f_path.dentry->d_parent)->i_private; in blk_mq_debugfs_write() local
598 if (attr == data || !attr->write) in blk_mq_debugfs_write()
601 return attr->write(data, buf, count, ppos); in blk_mq_debugfs_write()
607 void *data = d_inode(file->f_path.dentry->d_parent)->i_private; in blk_mq_debugfs_open() local
615 m->private = data; in blk_mq_debugfs_open()
668 static void debugfs_create_files(struct dentry *parent, void *data, in debugfs_create_files() argument
674 d_inode(parent)->i_private = data; in debugfs_create_files()