/linux-6.6.21/include/linux/device/ |
D | class.h | 171 struct class_attribute { struct 173 ssize_t (*show)(const struct class *class, const struct class_attribute *attr, argument 175 ssize_t (*store)(const struct class *class, const struct class_attribute *attr, argument 180 struct class_attribute class_attr_##_name = __ATTR_RW(_name) 182 struct class_attribute class_attr_##_name = __ATTR_RO(_name) 184 struct class_attribute class_attr_##_name = __ATTR_WO(_name) 186 int __must_check class_create_file_ns(const struct class *class, const struct class_attribute *attr, 188 void class_remove_file_ns(const struct class *class, const struct class_attribute *attr, 192 const struct class_attribute *attr) in class_create_file() 198 const struct class_attribute *attr) in class_remove_file() [all …]
|
/linux-6.6.21/drivers/base/ |
D | class.c | 26 #define to_class_attr(_attr) container_of(_attr, struct class_attribute, attr) 72 struct class_attribute *class_attr = to_class_attr(attr); in class_attr_show() 84 struct class_attribute *class_attr = to_class_attr(attr); in class_attr_store() 129 int class_create_file_ns(const struct class *cls, const struct class_attribute *attr, in class_create_file_ns() 145 void class_remove_file_ns(const struct class *cls, const struct class_attribute *attr, in class_remove_file_ns() 536 const struct class_attribute *attr, char *buf) in show_class_attr_string()
|
D | devcoredump.c | 170 static ssize_t disabled_show(const struct class *class, const struct class_attribute *attr, in disabled_show() 200 static ssize_t disabled_store(const struct class *class, const struct class_attribute *attr, in disabled_store()
|
/linux-6.6.21/fs/smb/server/ |
D | server.c | 435 static ssize_t stats_show(const struct class *class, const struct class_attribute *attr, in stats_show() 455 const struct class_attribute *attr, const char *buf, in kill_server_store() 475 static ssize_t debug_show(const struct class *class, const struct class_attribute *attr, in debug_show() 493 static ssize_t debug_store(const struct class *class, const struct class_attribute *attr, in debug_store()
|
/linux-6.6.21/drivers/base/firmware_loader/ |
D | sysfs.c | 28 static ssize_t timeout_show(const struct class *class, const struct class_attribute *attr, in timeout_show() 47 static ssize_t timeout_store(const struct class *class, const struct class_attribute *attr, in timeout_store()
|
/linux-6.6.21/arch/powerpc/platforms/pseries/ |
D | dlpar.c | 515 static ssize_t dlpar_store(const struct class *class, const struct class_attribute *attr, in dlpar_store() 554 static ssize_t dlpar_show(const struct class *class, const struct class_attribute *attr, in dlpar_show()
|
D | mobility.c | 784 const struct class_attribute *attr, const char *buf, in migration_store()
|
/linux-6.6.21/drivers/net/bonding/ |
D | bond_sysfs.c | 35 const struct class_attribute *attr, in bonding_show_bonds() 79 const struct class_attribute *attr, in bonding_store_bonds() 131 static const struct class_attribute class_attr_bonding_masters = {
|
/linux-6.6.21/drivers/gpio/ |
D | gpiolib-sysfs.c | 441 const struct class_attribute *attr, in export_store() 496 const struct class_attribute *attr, in unexport_store()
|
/linux-6.6.21/drivers/misc/cxl/ |
D | sysfs.c | 564 static struct kobj_attribute class_attribute = variable 570 &class_attribute.attr,
|
/linux-6.6.21/drivers/s390/crypto/ |
D | zcrypt_api.c | 322 const struct class_attribute *attr, in zcdn_create_store() 335 static const struct class_attribute class_attr_zcdn_create = 339 const struct class_attribute *attr, in zcdn_destroy_store() 352 static const struct class_attribute class_attr_zcdn_destroy =
|
/linux-6.6.21/include/net/ |
D | bonding.h | 650 struct class_attribute class_attr_bonding_masters;
|
/linux-6.6.21/drivers/block/zram/ |
D | zram_drv.c | 2324 const struct class_attribute *attr, in hot_add_show() 2338 static struct class_attribute class_attr_hot_add = 2342 const struct class_attribute *attr, in hot_remove_store()
|
/linux-6.6.21/drivers/block/ |
D | pktcdvd.c | 330 static ssize_t device_map_show(const struct class *c, const struct class_attribute *attr, in device_map_show() 351 static ssize_t add_store(const struct class *c, const struct class_attribute *attr, in add_store() 372 static ssize_t remove_store(const struct class *c, const struct class_attribute *attr, in remove_store()
|
/linux-6.6.21/net/core/ |
D | net-sysfs.c | 2090 int netdev_class_create_file_ns(const struct class_attribute *class_attr, in netdev_class_create_file_ns() 2097 void netdev_class_remove_file_ns(const struct class_attribute *class_attr, in netdev_class_remove_file_ns()
|
/linux-6.6.21/drivers/mtd/ubi/ |
D | build.c | 98 static ssize_t version_show(const struct class *class, const struct class_attribute *attr, in version_show()
|
/linux-6.6.21/drivers/infiniband/core/ |
D | user_mad.c | 1238 const struct class_attribute *attr, char *buf) in abi_version_show()
|
/linux-6.6.21/include/linux/ |
D | netdevice.h | 4932 int netdev_class_create_file_ns(const struct class_attribute *class_attr, 4934 void netdev_class_remove_file_ns(const struct class_attribute *class_attr,
|