Searched refs:to_attr (Results 1 – 11 of 11) sorted by relevance
119 static inline struct configfs_attribute * to_attr(struct dentry * dentry) in to_attr() function127 struct configfs_attribute *attr = to_attr(dentry); in to_bin_attr()
71 struct configfs_attribute * attr = to_attr(dentry); in fill_read_buffer()258 struct configfs_attribute * attr = to_attr(dentry); in flush_write_buffer()369 struct configfs_attribute * attr = to_attr(file->f_path.dentry); in check_perm()454 struct configfs_attribute * attr = to_attr(filp->f_path.dentry); in configfs_release()
62 to_attr(struct attribute *attr) in to_attr() function83 struct xfs_errortag_attr *xfs_attr = to_attr(attr); in xfs_errortag_attr_store()108 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()
86 static struct esre_attribute *to_attr(struct attribute *attr) in to_attr() function95 struct esre_attribute *attr = to_attr(_attr); in esre_attr_show()
274 #define to_attr(a) container_of(a, struct cache_attr, attr) macro278 struct cache_attr *fattr = to_attr(attr); in ia64_cache_show()
92 static struct dmi_sysfs_attribute *to_attr(struct attribute *attr) in to_attr() function101 struct dmi_sysfs_attribute *attr = to_attr(_attr); in dmi_sysfs_attr_show()
360 static inline struct fw_cfg_sysfs_attribute *to_attr(struct attribute *attr) in to_attr() function436 struct fw_cfg_sysfs_attribute *attr = to_attr(a); in fw_cfg_sysfs_attr_show()
66 #define to_attr(a) container_of(a, struct acpi_data_node_attr, attr) macro72 struct acpi_data_node_attr *dn_attr = to_attr(attr); in acpi_data_node_attr_show()
1054 #define to_attr(a) container_of(a, struct threshold_attr, attr) macro1059 struct threshold_attr *a = to_attr(attr); in show()1071 struct threshold_attr *a = to_attr(attr); in store()
904 #define to_attr(a) container_of(a, struct freq_attr, attr) macro909 struct freq_attr *fattr = to_attr(attr); in show()923 struct freq_attr *fattr = to_attr(attr); in store()