Searched refs:class_attr (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/base/ |
A D | class.c | 28 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/drivers/gpu/drm/i915/gt/ |
A D | sysfs_engines.c | 39 static struct kobj_attribute class_attr = variable 485 &class_attr.attr, in intel_engines_add_sysfs()
|
/linux/net/core/ |
A D | net-sysfs.c | 2056 int netdev_class_create_file_ns(const struct class_attribute *class_attr, in netdev_class_create_file_ns() argument 2059 return class_create_file_ns(&net_class, class_attr, ns); in netdev_class_create_file_ns() 2063 void netdev_class_remove_file_ns(const struct class_attribute *class_attr, in netdev_class_remove_file_ns() argument 2066 class_remove_file_ns(&net_class, class_attr, ns); in netdev_class_remove_file_ns()
|
/linux/include/linux/ |
A D | netdevice.h | 5015 int netdev_class_create_file_ns(const struct class_attribute *class_attr, 5017 void netdev_class_remove_file_ns(const struct class_attribute *class_attr,
|
Completed in 25 milliseconds