Home
last modified time | relevance | path

Searched refs:class_attribute (Results 1 – 3 of 3) sorted by relevance

/include/linux/device/
Dclass.h197 struct class_attribute { struct
199 ssize_t (*show)(struct class *class, struct class_attribute *attr, argument
201 ssize_t (*store)(struct class *class, struct class_attribute *attr, argument
206 struct class_attribute class_attr_##_name = __ATTR_RW(_name)
208 struct class_attribute class_attr_##_name = __ATTR_RO(_name)
210 struct class_attribute class_attr_##_name = __ATTR_WO(_name)
213 const struct class_attribute *attr,
216 const struct class_attribute *attr,
220 const struct class_attribute *attr) in class_create_file()
226 const struct class_attribute *attr) in class_remove_file()
[all …]
/include/net/
Dbonding.h629 struct class_attribute class_attr_bonding_masters;
/include/linux/
Dnetdevice.h5080 int netdev_class_create_file_ns(const struct class_attribute *class_attr,
5082 void netdev_class_remove_file_ns(const struct class_attribute *class_attr,