Home
last modified time | relevance | path

Searched refs:to_attr (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/fs/configfs/
Dconfigfs_internal.h108 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()
Dfile.c379 attr = to_attr(dentry); in __configfs_open_file()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_error.c65 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()
Dxfs_sysfs.c24 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/
Desrt.c87 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/
Dtopology.c270 #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/
Dcore_ctl.c241 #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/
Ddmi-sysfs.c93 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()
Dqemu_fw_cfg.c361 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/
Ddevice_sysfs.c58 #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/
Damd.c1162 #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/
Dcpufreq.c943 #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()