Lines Matching refs:data

27 static int queue_poll_stat_show(void *data, struct seq_file *m)
29 struct request_queue *q = data;
95 static int queue_pm_only_show(void *data, struct seq_file *m)
97 struct request_queue *q = data;
137 static int queue_state_show(void *data, struct seq_file *m)
139 struct request_queue *q = data;
147 static ssize_t queue_state_write(void *data, const char __user *buf,
150 struct request_queue *q = data;
184 static int queue_write_hint_show(void *data, struct seq_file *m)
186 struct request_queue *q = data;
195 static ssize_t queue_write_hint_store(void *data, const char __user *buf,
198 struct request_queue *q = data;
226 static int hctx_state_show(void *data, struct seq_file *m)
228 struct blk_mq_hw_ctx *hctx = data;
254 static int hctx_flags_show(void *data, struct seq_file *m)
256 struct blk_mq_hw_ctx *hctx = data;
405 static bool hctx_show_busy_rq(struct request *rq, void *data, bool reserved)
407 const struct show_busy_params *params = data;
415 static int hctx_busy_show(void *data, struct seq_file *m)
417 struct blk_mq_hw_ctx *hctx = data;
432 static int hctx_type_show(void *data, struct seq_file *m)
434 struct blk_mq_hw_ctx *hctx = data;
441 static int hctx_ctx_map_show(void *data, struct seq_file *m)
443 struct blk_mq_hw_ctx *hctx = data;
466 static int hctx_tags_show(void *data, struct seq_file *m)
468 struct blk_mq_hw_ctx *hctx = data;
483 static int hctx_tags_bitmap_show(void *data, struct seq_file *m)
485 struct blk_mq_hw_ctx *hctx = data;
500 static int hctx_sched_tags_show(void *data, struct seq_file *m)
502 struct blk_mq_hw_ctx *hctx = data;
517 static int hctx_sched_tags_bitmap_show(void *data, struct seq_file *m)
519 struct blk_mq_hw_ctx *hctx = data;
534 static int hctx_io_poll_show(void *data, struct seq_file *m)
536 struct blk_mq_hw_ctx *hctx = data;
544 static ssize_t hctx_io_poll_write(void *data, const char __user *buf,
547 struct blk_mq_hw_ctx *hctx = data;
553 static int hctx_dispatched_show(void *data, struct seq_file *m)
555 struct blk_mq_hw_ctx *hctx = data;
570 static ssize_t hctx_dispatched_write(void *data, const char __user *buf,
573 struct blk_mq_hw_ctx *hctx = data;
581 static int hctx_queued_show(void *data, struct seq_file *m)
583 struct blk_mq_hw_ctx *hctx = data;
589 static ssize_t hctx_queued_write(void *data, const char __user *buf,
592 struct blk_mq_hw_ctx *hctx = data;
598 static int hctx_run_show(void *data, struct seq_file *m)
600 struct blk_mq_hw_ctx *hctx = data;
606 static ssize_t hctx_run_write(void *data, const char __user *buf, size_t count,
609 struct blk_mq_hw_ctx *hctx = data;
615 static int hctx_active_show(void *data, struct seq_file *m)
617 struct blk_mq_hw_ctx *hctx = data;
623 static int hctx_dispatch_busy_show(void *data, struct seq_file *m)
625 struct blk_mq_hw_ctx *hctx = data;
668 static int ctx_dispatched_show(void *data, struct seq_file *m)
670 struct blk_mq_ctx *ctx = data;
676 static ssize_t ctx_dispatched_write(void *data, const char __user *buf,
679 struct blk_mq_ctx *ctx = data;
685 static int ctx_merged_show(void *data, struct seq_file *m)
687 struct blk_mq_ctx *ctx = data;
693 static ssize_t ctx_merged_write(void *data, const char __user *buf,
696 struct blk_mq_ctx *ctx = data;
702 static int ctx_completed_show(void *data, struct seq_file *m)
704 struct blk_mq_ctx *ctx = data;
710 static ssize_t ctx_completed_write(void *data, const char __user *buf,
713 struct blk_mq_ctx *ctx = data;
722 void *data = d_inode(m->file->f_path.dentry->d_parent)->i_private;
724 return attr->show(data, m);
732 void *data = d_inode(file->f_path.dentry->d_parent)->i_private;
736 * the same with 'data' in this case.
738 if (attr == data || !attr->write)
741 return attr->write(data, buf, count, ppos);
747 void *data = d_inode(file->f_path.dentry->d_parent)->i_private;
755 m->private = data;
814 static void debugfs_create_files(struct dentry *parent, void *data,
820 d_inode(parent)->i_private = data;