Lines Matching refs:class_attribute
169 struct class_attribute { struct
171 ssize_t (*show)(const struct class *class, const struct class_attribute *attr, argument
173 ssize_t (*store)(const struct class *class, const struct class_attribute *attr, argument
178 struct class_attribute class_attr_##_name = __ATTR_RW(_name)
180 struct class_attribute class_attr_##_name = __ATTR_RO(_name)
182 struct class_attribute class_attr_##_name = __ATTR_WO(_name)
184 int __must_check class_create_file_ns(const struct class *class, const struct class_attribute *attr,
186 void class_remove_file_ns(const struct class *class, const struct class_attribute *attr,
190 const struct class_attribute *attr) in class_create_file()
196 const struct class_attribute *attr) in class_remove_file()
203 struct class_attribute attr;
214 ssize_t show_class_attr_string(const struct class *class, const struct class_attribute *attr,