Searched refs:to_attr (Results 1 – 7 of 7) sorted by relevance
32 to_attr(struct attribute *attr) in to_attr() function98 struct xfs_sysfs_attr *xfs_attr = to_attr(attr); in xfs_dbg_show()110 struct xfs_sysfs_attr *xfs_attr = to_attr(attr); in xfs_dbg_store()212 struct xfs_sysfs_attr *xfs_attr = to_attr(attr); in xfs_log_show()225 struct xfs_sysfs_attr *xfs_attr = to_attr(attr); in xfs_log_store()
66 struct configfs_attribute * attr = to_attr(dentry); in fill_read_buffer()172 struct configfs_attribute * attr = to_attr(dentry); in flush_write_buffer()216 struct configfs_attribute * attr = to_attr(file->f_path.dentry); in check_perm()290 struct configfs_attribute * attr = to_attr(filp->f_path.dentry); in configfs_release()
116 static inline struct configfs_attribute * to_attr(struct dentry * dentry) in to_attr() function
274 #define to_attr(a) container_of(a, struct cache_attr, attr) macro278 struct cache_attr *fattr = to_attr(attr); in ia64_cache_show()
432 #define to_attr(a) container_of(a, struct threshold_attr, attr) macro437 struct threshold_attr *a = to_attr(attr); in show()449 struct threshold_attr *a = to_attr(attr); in store()
91 static struct dmi_sysfs_attribute *to_attr(struct attribute *attr) in to_attr() function100 struct dmi_sysfs_attribute *attr = to_attr(_attr); in dmi_sysfs_attr_show()
760 #define to_attr(a) container_of(a, struct freq_attr, attr) macro765 struct freq_attr *fattr = to_attr(attr); in show()788 struct freq_attr *fattr = to_attr(attr); in store()