Home
last modified time | relevance | path

Searched refs:class_attr (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/base/
Dclass.c27 struct class_attribute *class_attr = to_class_attr(attr); in class_attr_show() local
31 if (class_attr->show) in class_attr_show()
32 ret = class_attr->show(cp->class, class_attr, buf); in class_attr_show()
39 struct class_attribute *class_attr = to_class_attr(attr); in class_attr_store() local
43 if (class_attr->store) in class_attr_store()
44 ret = class_attr->store(cp->class, class_attr, buf, count); in class_attr_store()
/linux-4.19.296/include/linux/
Dnetdevice.h4406 int netdev_class_create_file_ns(const struct class_attribute *class_attr,
4408 void netdev_class_remove_file_ns(const struct class_attribute *class_attr,
4411 static inline int netdev_class_create_file(const struct class_attribute *class_attr) in netdev_class_create_file() argument
4413 return netdev_class_create_file_ns(class_attr, NULL); in netdev_class_create_file()
4416 static inline void netdev_class_remove_file(const struct class_attribute *class_attr) in netdev_class_remove_file() argument
4418 netdev_class_remove_file_ns(class_attr, NULL); in netdev_class_remove_file()