Searched refs:to_attr (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/fs/configfs/ |
D | configfs_internal.h | 108 static inline struct configfs_attribute * to_attr(struct dentry * dentry) in to_attr() function 116 struct configfs_attribute *attr = to_attr(dentry); in to_bin_attr()
|
D | file.c | 379 attr = to_attr(dentry); in __configfs_open_file()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_error.c | 65 to_attr(struct attribute *attr) in to_attr() function 86 struct xfs_errortag_attr *xfs_attr = to_attr(attr); in xfs_errortag_attr_store() 111 struct xfs_errortag_attr *xfs_attr = to_attr(attr); in xfs_errortag_attr_show()
|
D | xfs_sysfs.c | 24 to_attr(struct attribute *attr) in to_attr() function 44 struct xfs_sysfs_attr *xfs_attr = to_attr(attr); in xfs_sysfs_object_show() 56 struct xfs_sysfs_attr *xfs_attr = to_attr(attr); in xfs_sysfs_object_store()
|
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
D | esrt.c | 87 static struct esre_attribute *to_attr(struct attribute *attr) in to_attr() function 96 struct esre_attribute *attr = to_attr(_attr); in esre_attr_show()
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
D | topology.c | 270 #define to_attr(a) container_of(a, struct cache_attr, attr) macro 274 struct cache_attr *fattr = to_attr(attr); in ia64_cache_show()
|
/kernel/linux/linux-5.10/kernel/sched/ |
D | core_ctl.c | 241 #define to_attr(a) container_of(a, struct core_ctl_attr, attr) macro 245 struct core_ctl_attr *cattr = to_attr(attr); in show() 258 struct core_ctl_attr *cattr = to_attr(attr); in store()
|
/kernel/linux/linux-5.10/drivers/firmware/ |
D | dmi-sysfs.c | 93 static struct dmi_sysfs_attribute *to_attr(struct attribute *attr) in to_attr() function 102 struct dmi_sysfs_attribute *attr = to_attr(_attr); in dmi_sysfs_attr_show()
|
D | qemu_fw_cfg.c | 361 static inline struct fw_cfg_sysfs_attribute *to_attr(struct attribute *attr) in to_attr() function 435 struct fw_cfg_sysfs_attribute *attr = to_attr(a); in fw_cfg_sysfs_attr_show()
|
/kernel/linux/linux-5.10/drivers/acpi/ |
D | device_sysfs.c | 58 #define to_attr(a) container_of(a, struct acpi_data_node_attr, attr) macro 64 struct acpi_data_node_attr *dn_attr = to_attr(attr); in acpi_data_node_attr_show()
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/ |
D | amd.c | 1162 #define to_attr(a) container_of(a, struct threshold_attr, attr) macro 1167 struct threshold_attr *a = to_attr(attr); in show() 1179 struct threshold_attr *a = to_attr(attr); in store()
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
D | cpufreq.c | 943 #define to_attr(a) container_of(a, struct freq_attr, attr) macro 948 struct freq_attr *fattr = to_attr(attr); in show() 965 struct freq_attr *fattr = to_attr(attr); in store()
|