Searched defs:attr (Results 1 - 7 of 7) sorted by relevance

/block/
H A Dblk-timeout.c40 ssize_t part_timeout_show(struct device *dev, struct device_attribute *attr, argument
49 ssize_t part_timeout_store(struct device *dev, struct device_attribute *attr, argument
H A Dblk-integrity.c240 struct attribute attr; member in struct:integrity_sysfs_entry
245 static ssize_t integrity_attr_show(struct kobject *kobj, struct attribute *attr, argument
251 container_of(attr, struct integrity_sysfs_entry, attr);
257 struct attribute *attr, const char *page,
263 container_of(attr, struct integrity_sysfs_entry, attr);
333 .attr = { .name = "format", .mode = S_IRUGO },
338 .attr = { .name = "tag_size", .mode = S_IRUGO },
343 .attr
256 integrity_attr_store(struct kobject *kobj, struct attribute *attr, const char *page, size_t count) argument
[all...]
H A Dblk-mq-sysfs.c21 struct attribute attr; member in struct:blk_mq_ctx_sysfs_entry
27 struct attribute attr; member in struct:blk_mq_hw_ctx_sysfs_entry
32 static ssize_t blk_mq_sysfs_show(struct kobject *kobj, struct attribute *attr, argument
40 entry = container_of(attr, struct blk_mq_ctx_sysfs_entry, attr);
55 static ssize_t blk_mq_sysfs_store(struct kobject *kobj, struct attribute *attr, argument
63 entry = container_of(attr, struct blk_mq_ctx_sysfs_entry, attr);
79 struct attribute *attr, char *page)
86 entry = container_of(attr, struc
78 blk_mq_hw_sysfs_show(struct kobject *kobj, struct attribute *attr, char *page) argument
101 blk_mq_hw_sysfs_store(struct kobject *kobj, struct attribute *attr, const char *page, size_t length) argument
[all...]
H A Dpartition-generic.c68 struct device_attribute *attr, char *buf)
76 struct device_attribute *attr, char *buf)
84 struct device_attribute *attr, char *buf)
91 struct device_attribute *attr, char *buf)
98 struct device_attribute *attr, char *buf)
105 struct device_attribute *attr, char *buf)
112 struct device_attribute *attr, char *buf)
139 struct device_attribute *attr, char *buf)
149 struct device_attribute *attr, char *buf)
157 struct device_attribute *attr,
67 part_partition_show(struct device *dev, struct device_attribute *attr, char *buf) argument
75 part_start_show(struct device *dev, struct device_attribute *attr, char *buf) argument
83 part_size_show(struct device *dev, struct device_attribute *attr, char *buf) argument
90 part_ro_show(struct device *dev, struct device_attribute *attr, char *buf) argument
97 part_alignment_offset_show(struct device *dev, struct device_attribute *attr, char *buf) argument
104 part_discard_alignment_show(struct device *dev, struct device_attribute *attr, char *buf) argument
111 part_stat_show(struct device *dev, struct device_attribute *attr, char *buf) argument
138 part_inflight_show(struct device *dev, struct device_attribute *attr, char *buf) argument
148 part_fail_show(struct device *dev, struct device_attribute *attr, char *buf) argument
156 part_fail_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
272 whole_disk_show(struct device *dev, struct device_attribute *attr, char *buf) argument
[all...]
H A Dblk-sysfs.c17 struct attribute attr; member in struct:queue_sysfs_entry
289 .attr = {.name = "nr_requests", .mode = S_IRUGO | S_IWUSR },
295 .attr = {.name = "read_ahead_kb", .mode = S_IRUGO | S_IWUSR },
301 .attr = {.name = "max_sectors_kb", .mode = S_IRUGO | S_IWUSR },
307 .attr = {.name = "max_hw_sectors_kb", .mode = S_IRUGO },
312 .attr = {.name = "max_segments", .mode = S_IRUGO },
317 .attr = {.name = "max_integrity_segments", .mode = S_IRUGO },
322 .attr = {.name = "max_segment_size", .mode = S_IRUGO },
327 .attr = {.name = "scheduler", .mode = S_IRUGO | S_IWUSR },
333 .attr
436 queue_attr_show(struct kobject *kobj, struct attribute *attr, char *page) argument
456 queue_attr_store(struct kobject *kobj, struct attribute *attr, const char *page, size_t length) argument
[all...]
H A Delevator.c749 #define to_elv(atr) container_of((atr), struct elv_fs_entry, attr)
752 elv_attr_show(struct kobject *kobj, struct attribute *attr, char *page) argument
754 struct elv_fs_entry *entry = to_elv(attr);
769 elv_attr_store(struct kobject *kobj, struct attribute *attr, argument
772 struct elv_fs_entry *entry = to_elv(attr);
803 struct elv_fs_entry *attr = e->type->elevator_attrs; local
804 if (attr) {
805 while (attr->attr.name) {
806 if (sysfs_create_file(&e->kobj, &attr
[all...]
H A Dgenhd.c922 struct device_attribute *attr, char *buf)
930 struct device_attribute *attr, char *buf)
938 struct device_attribute *attr, char *buf)
947 struct device_attribute *attr, char *buf)
955 struct device_attribute *attr, char *buf)
963 struct device_attribute *attr,
972 struct device_attribute *attr,
1002 &dev_attr_range.attr,
1003 &dev_attr_ext_range.attr,
1004 &dev_attr_removable.attr,
921 disk_range_show(struct device *dev, struct device_attribute *attr, char *buf) argument
929 disk_ext_range_show(struct device *dev, struct device_attribute *attr, char *buf) argument
937 disk_removable_show(struct device *dev, struct device_attribute *attr, char *buf) argument
946 disk_ro_show(struct device *dev, struct device_attribute *attr, char *buf) argument
954 disk_capability_show(struct device *dev, struct device_attribute *attr, char *buf) argument
962 disk_alignment_offset_show(struct device *dev, struct device_attribute *attr, char *buf) argument
971 disk_discard_alignment_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1694 disk_events_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1702 disk_events_async_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1710 disk_events_poll_msecs_show(struct device *dev, struct device_attribute *attr, char *buf) argument
1719 disk_events_poll_msecs_store(struct device *dev, struct device_attribute *attr, const char *buf, size_t count) argument
[all...]

Completed in 12 milliseconds