• Home
  • Raw
  • Download

Lines Matching refs:attr

21 	struct attribute attr;  member
27 struct attribute attr; member
32 static ssize_t blk_mq_sysfs_show(struct kobject *kobj, struct attribute *attr, in blk_mq_sysfs_show() argument
40 entry = container_of(attr, struct blk_mq_ctx_sysfs_entry, attr); in blk_mq_sysfs_show()
55 static ssize_t blk_mq_sysfs_store(struct kobject *kobj, struct attribute *attr, in blk_mq_sysfs_store() argument
63 entry = container_of(attr, struct blk_mq_ctx_sysfs_entry, attr); in blk_mq_sysfs_store()
79 struct attribute *attr, char *page) in blk_mq_hw_sysfs_show() argument
86 entry = container_of(attr, struct blk_mq_hw_ctx_sysfs_entry, attr); in blk_mq_hw_sysfs_show()
102 struct attribute *attr, const char *page, in blk_mq_hw_sysfs_store() argument
110 entry = container_of(attr, struct blk_mq_hw_ctx_sysfs_entry, attr); in blk_mq_hw_sysfs_store()
256 .attr = {.name = "dispatched", .mode = S_IRUGO },
260 .attr = {.name = "merged", .mode = S_IRUGO },
264 .attr = {.name = "completed", .mode = S_IRUGO },
268 .attr = {.name = "rq_list", .mode = S_IRUGO },
273 &blk_mq_sysfs_dispatched.attr,
274 &blk_mq_sysfs_merged.attr,
275 &blk_mq_sysfs_completed.attr,
276 &blk_mq_sysfs_rq_list.attr,
281 .attr = {.name = "queued", .mode = S_IRUGO },
285 .attr = {.name = "run", .mode = S_IRUGO },
289 .attr = {.name = "dispatched", .mode = S_IRUGO },
293 .attr = {.name = "active", .mode = S_IRUGO },
297 .attr = {.name = "pending", .mode = S_IRUGO },
301 .attr = {.name = "tags", .mode = S_IRUGO },
305 .attr = {.name = "cpu_list", .mode = S_IRUGO },
309 .attr = {.name = "io_poll", .mode = S_IRUGO },
314 &blk_mq_hw_sysfs_queued.attr,
315 &blk_mq_hw_sysfs_run.attr,
316 &blk_mq_hw_sysfs_dispatched.attr,
317 &blk_mq_hw_sysfs_pending.attr,
318 &blk_mq_hw_sysfs_tags.attr,
319 &blk_mq_hw_sysfs_cpus.attr,
320 &blk_mq_hw_sysfs_active.attr,
321 &blk_mq_hw_sysfs_poll.attr,