Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dsysfs_engines.c39 static struct kobj_attribute class_attr = variable
490 &class_attr.attr, in intel_engines_add_sysfs()
/linux-6.1.9/net/core/
Dnet-sysfs.c2061 int netdev_class_create_file_ns(const struct class_attribute *class_attr, in netdev_class_create_file_ns() argument
2064 return class_create_file_ns(&net_class, class_attr, ns); in netdev_class_create_file_ns()
2068 void netdev_class_remove_file_ns(const struct class_attribute *class_attr, in netdev_class_remove_file_ns() argument
2071 class_remove_file_ns(&net_class, class_attr, ns); in netdev_class_remove_file_ns()
/linux-6.1.9/include/linux/
Dnetdevice.h4868 int netdev_class_create_file_ns(const struct class_attribute *class_attr,
4870 void netdev_class_remove_file_ns(const struct class_attribute *class_attr,