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;
169 struct attribute attr;
187 * enabled. Lockdep gives a nice error when your attribute is
231 ssize_t (*show)(struct kobject *, struct attribute *, char *);
232 ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
250 const struct attribute *attr,
253 const struct attribute * const *attr);
255 const struct attribute *attr, umode_t mode);
257 const struct attribute *attr);
259 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr,
261 bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr);
262 void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *attr);
296 const struct attribute *attr, const char *group);
298 const struct attribute *attr, const char *group);
373 const struct attribute *attr, in sysfs_create_file_ns()
380 const struct attribute * const *attr) in sysfs_create_files()
386 const struct attribute *attr, umode_t mode) in sysfs_chmod_file()
393 const struct attribute *attr) in sysfs_break_active_protection()
403 const struct attribute *attr, in sysfs_remove_file_ns()
409 const struct attribute *attr) in sysfs_remove_file_self()
415 const struct attribute * const *attr) in sysfs_remove_files()
494 const struct attribute *attr, const char *group) in sysfs_add_file_to_group()
500 const struct attribute *attr, const char *group) in sysfs_remove_file_from_group()
597 const struct attribute *attr) in sysfs_create_file()
603 const struct attribute *attr) in sysfs_remove_file()