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
239 ssize_t (*show)(struct kobject *, struct attribute *, char *);
240 ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
258 const struct attribute *attr,
261 const struct attribute * const *attr);
263 const struct attribute *attr, umode_t mode);
265 const struct attribute *attr);
267 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr,
269 bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr);
270 void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *attr);
304 const struct attribute *attr, const char *group);
306 const struct attribute *attr, const char *group);
381 const struct attribute *attr, in sysfs_create_file_ns()
388 const struct attribute * const *attr) in sysfs_create_files()
394 const struct attribute *attr, umode_t mode) in sysfs_chmod_file()
401 const struct attribute *attr) in sysfs_break_active_protection()
411 const struct attribute *attr, in sysfs_remove_file_ns()
417 const struct attribute *attr) in sysfs_remove_file_self()
423 const struct attribute * const *attr) in sysfs_remove_files()
502 const struct attribute *attr, const char *group) in sysfs_add_file_to_group()
508 const struct attribute *attr, const char *group) in sysfs_remove_file_from_group()
605 const struct attribute *attr) in sysfs_create_file()
611 const struct attribute *attr) in sysfs_remove_file()