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()
250 .attr = {.name = "dispatched", .mode = S_IRUGO },
254 .attr = {.name = "merged", .mode = S_IRUGO },
258 .attr = {.name = "completed", .mode = S_IRUGO },
262 .attr = {.name = "rq_list", .mode = S_IRUGO },
267 &blk_mq_sysfs_dispatched.attr,
268 &blk_mq_sysfs_merged.attr,
269 &blk_mq_sysfs_completed.attr,
270 &blk_mq_sysfs_rq_list.attr,
275 .attr = {.name = "queued", .mode = S_IRUGO },
279 .attr = {.name = "run", .mode = S_IRUGO },
283 .attr = {.name = "dispatched", .mode = S_IRUGO },
287 .attr = {.name = "active", .mode = S_IRUGO },
291 .attr = {.name = "pending", .mode = S_IRUGO },
295 .attr = {.name = "tags", .mode = S_IRUGO },
299 .attr = {.name = "cpu_list", .mode = S_IRUGO },
304 &blk_mq_hw_sysfs_queued.attr,
305 &blk_mq_hw_sysfs_run.attr,
306 &blk_mq_hw_sysfs_dispatched.attr,
307 &blk_mq_hw_sysfs_pending.attr,
308 &blk_mq_hw_sysfs_tags.attr,
309 &blk_mq_hw_sysfs_cpus.attr,
310 &blk_mq_hw_sysfs_active.attr,