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()
251 .attr = {.name = "dispatched", .mode = S_IRUGO },
255 .attr = {.name = "merged", .mode = S_IRUGO },
259 .attr = {.name = "completed", .mode = S_IRUGO },
263 .attr = {.name = "rq_list", .mode = S_IRUGO },
268 &blk_mq_sysfs_dispatched.attr,
269 &blk_mq_sysfs_merged.attr,
270 &blk_mq_sysfs_completed.attr,
271 &blk_mq_sysfs_rq_list.attr,
276 .attr = {.name = "queued", .mode = S_IRUGO },
280 .attr = {.name = "run", .mode = S_IRUGO },
284 .attr = {.name = "dispatched", .mode = S_IRUGO },
288 .attr = {.name = "active", .mode = S_IRUGO },
292 .attr = {.name = "pending", .mode = S_IRUGO },
296 .attr = {.name = "tags", .mode = S_IRUGO },
300 .attr = {.name = "cpu_list", .mode = S_IRUGO },
304 .attr = {.name = "io_poll", .mode = S_IRUGO },
309 &blk_mq_hw_sysfs_queued.attr,
310 &blk_mq_hw_sysfs_run.attr,
311 &blk_mq_hw_sysfs_dispatched.attr,
312 &blk_mq_hw_sysfs_pending.attr,
313 &blk_mq_hw_sysfs_tags.attr,
314 &blk_mq_hw_sysfs_cpus.attr,
315 &blk_mq_hw_sysfs_active.attr,
316 &blk_mq_hw_sysfs_poll.attr,