Lines Matching full:attribute
30 struct attribute { struct
41 * sysfs_attr_init - initialize a dynamically allocated sysfs attribute argument
42 * @attr: struct attribute to initialize
44 * Initialize a dynamically allocated struct attribute so we can
47 * Lockdep gives a nice error when your attribute is added to
62 * struct attribute_group - data structure used to declare an attribute group.
63 * @name: Optional: Attribute group name
64 * If specified, the attribute group will be created in
67 * attribute of the group. Will be called repeatedly for each
68 * non-binary attribute in the group. Only read/write
70 * return 0 if an attribute is not visible. The returned value
71 * will replace static permissions defined in struct attribute.
74 * binary attribute of the group. Will be called repeatedly
75 * for each binary attribute in the group. Only read/write
77 * return 0 if a binary attribute is not visible. The returned
87 struct attribute *, int);
90 struct attribute **attrs;
176 struct attribute attr;
195 * enabled. Lockdep gives a nice error when your attribute is
255 ssize_t (*show)(struct kobject *, struct attribute *, char *);
256 ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
274 const struct attribute *attr,
277 const struct attribute * const *attr);
279 const struct attribute *attr, umode_t mode);
281 const struct attribute *attr);
283 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr,
285 bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr);
286 void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *attr);
320 const struct attribute *attr, const char *group);
322 const struct attribute *attr, const char *group);
397 const struct attribute *attr, in sysfs_create_file_ns()
404 const struct attribute * const *attr) in sysfs_create_files()
410 const struct attribute *attr, umode_t mode) in sysfs_chmod_file()
417 const struct attribute *attr) in sysfs_break_active_protection()
427 const struct attribute *attr, in sysfs_remove_file_ns()
433 const struct attribute *attr) in sysfs_remove_file_self()
439 const struct attribute * const *attr) in sysfs_remove_files()
518 const struct attribute *attr, const char *group) in sysfs_add_file_to_group()
524 const struct attribute *attr, const char *group) in sysfs_remove_file_from_group()
621 const struct attribute *attr) in sysfs_create_file()
627 const struct attribute *attr) in sysfs_remove_file()