Searched refs:to_attr (Results 1 – 10 of 10) sorted by relevance
108 static inline struct configfs_attribute * to_attr(struct dentry * dentry) in to_attr() function116 struct configfs_attribute *attr = to_attr(dentry); in to_bin_attr()
313 attr = to_attr(dentry); in __configfs_open_file()
75 to_attr(struct attribute *attr) in to_attr() function96 struct xfs_errortag_attr *xfs_attr = to_attr(attr); in xfs_errortag_attr_store()121 struct xfs_errortag_attr *xfs_attr = to_attr(attr); in xfs_errortag_attr_show()
26 to_attr(struct attribute *attr) in to_attr() function46 struct xfs_sysfs_attr *xfs_attr = to_attr(attr); in xfs_sysfs_object_show()58 struct xfs_sysfs_attr *xfs_attr = to_attr(attr); in xfs_sysfs_object_store()
85 static struct esre_attribute *to_attr(struct attribute *attr) in to_attr() function94 struct esre_attribute *attr = to_attr(_attr); in esre_attr_show()
59 #define to_attr(a) container_of(a, struct acpi_data_node_attr, attr) macro65 struct acpi_data_node_attr *dn_attr = to_attr(attr); in acpi_data_node_attr_show()
93 static struct dmi_sysfs_attribute *to_attr(struct attribute *attr) in to_attr() function102 struct dmi_sysfs_attribute *attr = to_attr(_attr); in dmi_sysfs_attr_show()
361 static inline struct fw_cfg_sysfs_attribute *to_attr(struct attribute *attr) in to_attr() function437 struct fw_cfg_sysfs_attribute *attr = to_attr(a); in fw_cfg_sysfs_attr_show()
1066 #define to_attr(a) container_of(a, struct threshold_attr, attr) macro1071 struct threshold_attr *a = to_attr(attr); in show()1083 struct threshold_attr *a = to_attr(attr); in store()
1022 #define to_attr(a) container_of(a, struct freq_attr, attr) macro1027 struct freq_attr *fattr = to_attr(attr); in show()1045 struct freq_attr *fattr = to_attr(attr); in store()