Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/base/
Dclass.c28 struct class_attribute *class_attr = to_class_attr(attr); in class_attr_show() local
32 if (class_attr->show) in class_attr_show()
33 ret = class_attr->show(cp->class, class_attr, buf); in class_attr_show()
40 struct class_attribute *class_attr = to_class_attr(attr); in class_attr_store() local
44 if (class_attr->store) in class_attr_store()
45 ret = class_attr->store(cp->class, class_attr, buf, count); in class_attr_store()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dsysfs_engines.c39 static struct kobj_attribute class_attr = variable
489 &class_attr.attr, in intel_engines_add_sysfs()
/kernel/linux/linux-5.10/net/core/
Dnet-sysfs.c2043 int netdev_class_create_file_ns(const struct class_attribute *class_attr, in netdev_class_create_file_ns() argument
2046 return class_create_file_ns(&net_class, class_attr, ns); in netdev_class_create_file_ns()
2050 void netdev_class_remove_file_ns(const struct class_attribute *class_attr, in netdev_class_remove_file_ns() argument
2053 class_remove_file_ns(&net_class, class_attr, ns); in netdev_class_remove_file_ns()
/kernel/linux/linux-5.10/include/linux/
Dnetdevice.h4810 int netdev_class_create_file_ns(const struct class_attribute *class_attr,
4812 void netdev_class_remove_file_ns(const struct class_attribute *class_attr,