Lines Matching refs:attr
37 .attr = {.name = __stringify(_name), .mode = _mode, .owner = THIS_MODULE }, \
43 .attr = { .name = __stringify(_name), .mode = 0444, .owner = THIS_MODULE }, \
47 #define __ATTR_NULL { .attr = { .name = NULL } }
49 #define attr_name(_attr) (_attr).attr.name
54 struct attribute attr;
59 int (*mmap)(struct kobject *, struct bin_attribute *attr,
106 sysfs_chmod_file(struct kobject *kobj, struct attribute *attr, mode_t mode);
117 int sysfs_create_bin_file(struct kobject * kobj, struct bin_attribute * attr);
118 int sysfs_remove_bin_file(struct kobject * kobj, struct bin_attribute * attr);
122 void sysfs_notify(struct kobject * k, char *dir, char *attr);
152 static inline int sysfs_chmod_file(struct kobject *kobj, struct attribute *attr, mode_t mode)
193 static inline void sysfs_notify(struct kobject * k, char *dir, char *attr)