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()
74 to_attr(struct attribute *attr) in to_attr() function95 struct xfs_errortag_attr *xfs_attr = to_attr(attr); in xfs_errortag_attr_store()120 struct xfs_errortag_attr *xfs_attr = to_attr(attr); in xfs_errortag_attr_show()
25 to_attr(struct attribute *attr) in to_attr() function45 struct xfs_sysfs_attr *xfs_attr = to_attr(attr); in xfs_sysfs_object_show()57 struct xfs_sysfs_attr *xfs_attr = to_attr(attr); in xfs_sysfs_object_store()
87 static struct esre_attribute *to_attr(struct attribute *attr) in to_attr() function96 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()
1052 #define to_attr(a) container_of(a, struct threshold_attr, attr) macro1057 struct threshold_attr *a = to_attr(attr); in show()1069 struct threshold_attr *a = to_attr(attr); in store()
979 #define to_attr(a) container_of(a, struct freq_attr, attr) macro984 struct freq_attr *fattr = to_attr(attr); in show()1002 struct freq_attr *fattr = to_attr(attr); in store()