Lines Matching refs:attr
49 struct attribute attr; member
55 struct attribute attr; member
60 static ssize_t blk_mq_sysfs_show(struct kobject *kobj, struct attribute *attr, in blk_mq_sysfs_show() argument
68 entry = container_of(attr, struct blk_mq_ctx_sysfs_entry, attr); in blk_mq_sysfs_show()
81 static ssize_t blk_mq_sysfs_store(struct kobject *kobj, struct attribute *attr, in blk_mq_sysfs_store() argument
89 entry = container_of(attr, struct blk_mq_ctx_sysfs_entry, attr); in blk_mq_sysfs_store()
103 struct attribute *attr, char *page) in blk_mq_hw_sysfs_show() argument
110 entry = container_of(attr, struct blk_mq_hw_ctx_sysfs_entry, attr); in blk_mq_hw_sysfs_show()
124 struct attribute *attr, const char *page, in blk_mq_hw_sysfs_store() argument
132 entry = container_of(attr, struct blk_mq_hw_ctx_sysfs_entry, attr); in blk_mq_hw_sysfs_store()
181 .attr = {.name = "nr_tags", .mode = 0444 },
185 .attr = {.name = "nr_reserved_tags", .mode = 0444 },
189 .attr = {.name = "cpu_list", .mode = 0444 },
194 &blk_mq_hw_sysfs_nr_tags.attr,
195 &blk_mq_hw_sysfs_nr_reserved_tags.attr,
196 &blk_mq_hw_sysfs_cpus.attr,