Searched refs:class_attr (Results 1 – 2 of 2) sorted by relevance
27 struct class_attribute *class_attr = to_class_attr(attr); in class_attr_show() local31 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() local43 if (class_attr->store) in class_attr_store()44 ret = class_attr->store(cp->class, class_attr, buf, count); in class_attr_store()
4406 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() argument4413 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() argument4418 netdev_class_remove_file_ns(class_attr, NULL); in netdev_class_remove_file()