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 a
70 * attribute of the group. Will be called repeatedly for
71 * each non-binary attribute in the group. Only read/write
73 * return 0 if an attribute is not visible. The returned
75 * attribute. Use SYSFS_GROUP_VISIBLE() when assigning this
80 * binary attribute of the group. Will be called repeatedly
81 * for each binary attribute in the group. Only read/write
84 * return 0 if a binary attribute is not visible. The
97 struct attribute *, int);
100 struct attribute **attrs;
113 * simplification of attribute visibility lifetime that implies,
114 * without polluting sysfs with empty attribute directories.
118 * struct attribute *attr, int n)
149 struct kobject *kobj, struct attribute *attr, int n) \
160 * not require the implementation of a per-attribute visibility
181 struct kobject *kobj, struct attribute *a, int n) \
294 struct attribute attr;
315 * enabled. Lockdep gives a nice error when your attribute is
386 ssize_t (*show)(struct kobject *, struct attribute *, char *);
387 ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
405 const struct attribute *attr,
408 const struct attribute * const *attr);
410 const struct attribute *attr, umode_t mode);
412 const struct attribute *attr);
414 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr,
416 bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr);
417 void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *attr);
451 const struct attribute *attr, const char *group);
453 const struct attribute *attr, const char *group);
532 const struct attribute *attr, in sysfs_create_file_ns()
539 const struct attribute * const *attr) in sysfs_create_files()
545 const struct attribute *attr, umode_t mode) in sysfs_chmod_file()
552 const struct attribute *attr) in sysfs_break_active_protection()
562 const struct attribute *attr, in sysfs_remove_file_ns()
568 const struct attribute *attr) in sysfs_remove_file_self()
574 const struct attribute * const *attr) in sysfs_remove_files()
653 const struct attribute *attr, const char *group) in sysfs_add_file_to_group()
659 const struct attribute *attr, const char *group) in sysfs_remove_file_from_group()
765 const struct attribute *attr) in sysfs_create_file()
771 const struct attribute *attr) in sysfs_remove_file()