Home
last modified time | relevance | path

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

/include/linux/
Ddevice.h726 struct class_attribute { struct
728 ssize_t (*show)(struct class *class, struct class_attribute *attr, argument
730 ssize_t (*store)(struct class *class, struct class_attribute *attr, argument
735 struct class_attribute class_attr_##_name = __ATTR_RW(_name)
737 struct class_attribute class_attr_##_name = __ATTR_RO(_name)
739 struct class_attribute class_attr_##_name = __ATTR_WO(_name)
742 const struct class_attribute *attr,
745 const struct class_attribute *attr,
749 const struct class_attribute *attr) in class_create_file()
755 const struct class_attribute *attr) in class_remove_file()
[all …]
Dnetdevice.h4441 int netdev_class_create_file_ns(const struct class_attribute *class_attr,
4443 void netdev_class_remove_file_ns(const struct class_attribute *class_attr,
4446 static inline int netdev_class_create_file(const struct class_attribute *class_attr) in netdev_class_create_file()
4451 static inline void netdev_class_remove_file(const struct class_attribute *class_attr) in netdev_class_remove_file()
/include/net/
Dbonding.h609 struct class_attribute class_attr_bonding_masters;