Lines Matching defs:attribute

30 struct attribute {
41 * sysfs_attr_init - initialize a dynamically allocated sysfs attribute
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.
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
375 ssize_t (*show)(struct kobject *, struct attribute *, char *);
376 ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t);
394 const struct attribute *attr,
397 const struct attribute * const *attr);
399 const struct attribute *attr, umode_t mode);
401 const struct attribute *attr);
403 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr,
405 bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr);
406 void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *attr);
440 const struct attribute *attr, const char *group);
442 const struct attribute *attr, const char *group);
517 const struct attribute *attr,
524 const struct attribute * const *attr)
530 const struct attribute *attr, umode_t mode)
537 const struct attribute *attr)
547 const struct attribute *attr,
553 const struct attribute *attr)
559 const struct attribute * const *attr)
638 const struct attribute *attr, const char *group)
644 const struct attribute *attr, const char *group)
741 const struct attribute *attr)
747 const struct attribute *attr)