/linux/include/linux/device/ |
A D | class.h | 191 struct class_attribute { struct 193 ssize_t (*show)(struct class *class, struct class_attribute *attr, argument 195 ssize_t (*store)(struct class *class, struct class_attribute *attr, argument 200 struct class_attribute class_attr_##_name = __ATTR_RW(_name) 202 struct class_attribute class_attr_##_name = __ATTR_RO(_name) 204 struct class_attribute class_attr_##_name = __ATTR_WO(_name) 207 const struct class_attribute *attr, 210 const struct class_attribute *attr, 214 const struct class_attribute *attr) in class_create_file() 220 const struct class_attribute *attr) in class_remove_file() [all …]
|
/linux/drivers/base/ |
A D | class.c | 23 #define to_class_attr(_attr) container_of(_attr, struct class_attribute, attr) 28 struct class_attribute *class_attr = to_class_attr(attr); in class_attr_show() 40 struct class_attribute *class_attr = to_class_attr(attr); in class_attr_store() 88 int class_create_file_ns(struct class *cls, const struct class_attribute *attr, in class_create_file_ns() 101 void class_remove_file_ns(struct class *cls, const struct class_attribute *attr, in class_remove_file_ns() 476 struct class_attribute *attr, char *buf) in show_class_attr_string()
|
A D | devcoredump.c | 119 static ssize_t disabled_show(struct class *class, struct class_attribute *attr, in disabled_show() 125 static ssize_t disabled_store(struct class *class, struct class_attribute *attr, in disabled_store()
|
/linux/fs/ksmbd/ |
A D | server.c | 417 static ssize_t stats_show(struct class *class, struct class_attribute *attr, in stats_show() 439 struct class_attribute *attr, const char *buf, in kill_server_store() 459 static ssize_t debug_show(struct class *class, struct class_attribute *attr, in debug_show() 483 static ssize_t debug_store(struct class *class, struct class_attribute *attr, in debug_store()
|
/linux/arch/powerpc/platforms/pseries/ |
A D | dlpar.c | 525 static ssize_t dlpar_store(struct class *class, struct class_attribute *attr, in dlpar_store() 564 static ssize_t dlpar_show(struct class *class, struct class_attribute *attr, in dlpar_show()
|
A D | mobility.c | 683 struct class_attribute *attr, const char *buf, in migration_store()
|
/linux/drivers/net/bonding/ |
A D | bond_sysfs.c | 35 struct class_attribute *attr, in bonding_show_bonds() 79 struct class_attribute *attr, in bonding_store_bonds() 131 static const struct class_attribute class_attr_bonding_masters = {
|
/linux/drivers/base/firmware_loader/ |
A D | fallback.c | 123 static ssize_t timeout_show(struct class *class, struct class_attribute *attr, in timeout_show() 142 static ssize_t timeout_store(struct class *class, struct class_attribute *attr, in timeout_store()
|
/linux/drivers/gpio/ |
A D | gpiolib-sysfs.c | 447 struct class_attribute *attr, in export_store() 502 struct class_attribute *attr, in unexport_store()
|
/linux/drivers/misc/cxl/ |
A D | sysfs.c | 564 static struct kobj_attribute class_attribute = variable 570 &class_attribute.attr,
|
/linux/drivers/s390/crypto/ |
A D | zcrypt_api.c | 305 struct class_attribute *attr, in zcdn_create_store() 319 static const struct class_attribute class_attr_zcdn_create = 323 struct class_attribute *attr, in zcdn_destroy_store() 337 static const struct class_attribute class_attr_zcdn_destroy =
|
/linux/drivers/block/zram/ |
A D | zram_drv.c | 2062 struct class_attribute *attr, in hot_add_show() 2075 static struct class_attribute class_attr_hot_add = 2079 struct class_attribute *attr, in hot_remove_store()
|
/linux/include/net/ |
A D | bonding.h | 627 struct class_attribute class_attr_bonding_masters;
|
/linux/drivers/block/ |
A D | pktcdvd.c | 353 static ssize_t device_map_show(struct class *c, struct class_attribute *attr, in device_map_show() 374 static ssize_t add_store(struct class *c, struct class_attribute *attr, in add_store() 395 static ssize_t remove_store(struct class *c, struct class_attribute *attr, in remove_store()
|
/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() 2063 void netdev_class_remove_file_ns(const struct class_attribute *class_attr, in netdev_class_remove_file_ns()
|
/linux/drivers/mtd/ubi/ |
A D | build.c | 96 static ssize_t version_show(struct class *class, struct class_attribute *attr, in version_show()
|
/linux/drivers/infiniband/core/ |
A D | user_mad.c | 1233 struct class_attribute *attr, char *buf) in abi_version_show()
|
/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,
|