Home
last modified time | relevance | path

Searched defs:attr (Results 1 – 10 of 10) sorted by relevance

/block/
Dblk-crypto-sysfs.c19 struct attribute attr; member
29 static struct blk_crypto_attr *attr_to_crypto_attr(struct attribute *attr) in attr_to_crypto_attr()
35 struct blk_crypto_attr *attr, char *page) in max_dun_bits_show()
41 struct blk_crypto_attr *attr, char *page) in num_keyslots_show()
70 struct attribute *attr, int n) in blk_crypto_mode_is_visible()
82 struct blk_crypto_attr *attr, char *page) in blk_crypto_mode_show()
102 struct attribute *attr, char *page) in blk_crypto_attr_show()
163 struct blk_crypto_attr *attr = &__blk_crypto_mode_attrs[i]; in blk_crypto_sysfs_init() local
Dgenhd.c656 struct device_attribute *attr, in disk_badblocks_show()
668 struct device_attribute *attr, in disk_badblocks_store()
862 struct device_attribute *attr, char *buf) in disk_range_show()
870 struct device_attribute *attr, char *buf) in disk_ext_range_show()
878 struct device_attribute *attr, char *buf) in disk_removable_show()
887 struct device_attribute *attr, char *buf) in disk_hidden_show()
896 struct device_attribute *attr, char *buf) in disk_ro_show()
904 struct device_attribute *attr, char *buf) in part_size_show()
910 struct device_attribute *attr, char *buf) in part_stat_show()
953 ssize_t part_inflight_show(struct device *dev, struct device_attribute *attr, in part_inflight_show()
[all …]
Ddisk-events.c358 struct device_attribute *attr, char *buf) in disk_events_show()
368 struct device_attribute *attr, char *buf) in disk_events_async_show()
374 struct device_attribute *attr, in disk_events_poll_msecs_show()
385 struct device_attribute *attr, in disk_events_poll_msecs_store()
Dblk-timeout.c39 ssize_t part_timeout_show(struct device *dev, struct device_attribute *attr, in part_timeout_show()
48 ssize_t part_timeout_store(struct device *dev, struct device_attribute *attr, in part_timeout_store()
Dblk-mq-sysfs.c49 struct attribute attr; member
55 struct attribute *attr, char *page) in blk_mq_hw_sysfs_show()
76 struct attribute *attr, const char *page, in blk_mq_hw_sysfs_store()
Dblk-integrity.c216 struct attribute attr; member
221 static ssize_t integrity_attr_show(struct kobject *kobj, struct attribute *attr, in integrity_attr_show()
233 struct attribute *attr, const char *page, in integrity_attr_store()
Dblk-mq-debugfs.c719 const struct blk_mq_debugfs_attr *attr = m->private; in blk_mq_debugfs_show() local
729 const struct blk_mq_debugfs_attr *attr = m->private; in blk_mq_debugfs_write() local
744 const struct blk_mq_debugfs_attr *attr = inode->i_private; in blk_mq_debugfs_open() local
766 const struct blk_mq_debugfs_attr *attr = inode->i_private; in blk_mq_debugfs_release() local
813 const struct blk_mq_debugfs_attr *attr) in debugfs_create_files()
Delevator.c446 elv_attr_show(struct kobject *kobj, struct attribute *attr, char *page) in elv_attr_show()
463 elv_attr_store(struct kobject *kobj, struct attribute *attr, in elv_attr_store()
499 struct elv_fs_entry *attr = e->type->elevator_attrs; in elv_register_queue() local
Dblk-sysfs.c22 struct attribute attr; member
687 static umode_t queue_attr_visible(struct kobject *kobj, struct attribute *attr, in queue_attr_visible()
714 queue_attr_show(struct kobject *kobj, struct attribute *attr, char *page) in queue_attr_show()
730 queue_attr_store(struct kobject *kobj, struct attribute *attr, in queue_attr_store()
/block/partitions/
Dcore.c184 struct device_attribute *attr, char *buf) in part_partition_show()
190 struct device_attribute *attr, char *buf) in part_start_show()
196 struct device_attribute *attr, char *buf) in part_ro_show()
202 struct device_attribute *attr, char *buf) in part_alignment_offset_show()
212 struct device_attribute *attr, char *buf) in part_discard_alignment_show()
305 struct device_attribute *attr, char *buf) in whole_disk_show()