Searched +defs:attribute +path:sysfs +path:. +path:h (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/include/linux/ |
H A D | sysfs.h | 29 struct attribute { struct 40 * sysfs_attr_init - initialize a dynamically allocated sysfs attribute 41 * @attr: struct attribute to initialize 43 * Initialize a dynamically allocated struct attribute so we can 46 * Lockdep gives a nice error when your attribute is added to 61 * struct attribute_group - data structure used to declare an attribute group. 63 * If specified, the attribute group will be created in 66 * attribute of the group. Will be called repeatedly for each 67 * attribute in the group. Only read/write permissions as well as 68 * SYSFS_PREALLOC are accepted. Must return 0 if an attribute is 70 * defined in struct attribute or struct bin_attribute. 78 struct attribute *, int); 79 struct attribute **attrs; 146 struct attribute attr; 164 * enabled. Lockdep gives a nice error when your attribute is 200 ssize_t (*show)(struct kobject *, struct attribute *, char *); 201 ssize_t (*store)(struct kobject *, struct attribute *, const char *, size_t); 219 const struct attribute *attr, 222 const struct attribute **attr); 224 const struct attribute *attr, umode_t mode); 225 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr, 227 bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr); 228 void sysfs_remove_files(struct kobject *kobj, const struct attribute **attr); 260 const struct attribute *attr, const char *group); 262 const struct attribute *attr, const char *group); 317 const struct attribute *attr, sysfs_create_file_ns() 324 const struct attribute **attr) sysfs_create_files() 330 const struct attribute *attr, umode_t mode) sysfs_chmod_file() 336 const struct attribute *attr, sysfs_remove_file_ns() 342 const struct attribute *attr) sysfs_remove_file_self() 348 const struct attribute **attr) sysfs_remove_files() 421 const struct attribute *attr, const char *group) sysfs_add_file_to_group() 427 const struct attribute *attr, const char *group) sysfs_remove_file_from_group() 471 const struct attribute *attr) sysfs_create_file() 477 const struct attribute *attr) sysfs_remove_file()
|
Completed in 112 milliseconds