/linux-4.1.27/arch/avr32/boards/merisc/ |
H A D | merisc_sysfs.c | 41 static struct class_attribute merisc_class_attrs[] = {
|
/linux-4.1.27/drivers/uwb/ |
H A D | driver.c | 78 struct class_attribute *attr, beacon_timeout_ms_show() 86 struct class_attribute *attr, beacon_timeout_ms_store() 98 static struct class_attribute uwb_class_attrs[] = {
|
/linux-4.1.27/drivers/base/ |
H A D | class.c | 24 #define to_class_attr(_attr) container_of(_attr, struct class_attribute, attr) 29 struct class_attribute *class_attr = to_class_attr(attr); class_attr_show() 41 struct class_attribute *class_attr = to_class_attr(attr); class_attr_store() 89 int class_create_file_ns(struct class *cls, const struct class_attribute *attr, class_create_file_ns() 102 void class_remove_file_ns(struct class *cls, const struct class_attribute *attr, class_remove_file_ns() 489 struct class_attribute *attr, char *buf) show_class_attr_string()
|
H A D | devcoredump.c | 137 static ssize_t disabled_show(struct class *class, struct class_attribute *attr, disabled_show() 143 static ssize_t disabled_store(struct class *class, struct class_attribute *attr, disabled_store() 163 static struct class_attribute devcd_class_attrs[] = {
|
H A D | firmware_class.c | 506 static ssize_t timeout_show(struct class *class, struct class_attribute *attr, timeout_show() 525 static ssize_t timeout_store(struct class *class, struct class_attribute *attr, timeout_store() 535 static struct class_attribute firmware_class_attrs[] = {
|
/linux-4.1.27/include/linux/ |
H A D | device.h | 357 struct class_attribute *class_attrs; 419 struct class_attribute { struct 421 ssize_t (*show)(struct class *class, struct class_attribute *attr, 423 ssize_t (*store)(struct class *class, struct class_attribute *attr, 428 struct class_attribute class_attr_##_name = __ATTR(_name, _mode, _show, _store) 430 struct class_attribute class_attr_##_name = __ATTR_RW(_name) 432 struct class_attribute class_attr_##_name = __ATTR_RO(_name) 435 const struct class_attribute *attr, 438 const struct class_attribute *attr, 442 const struct class_attribute *attr) class_create_file() 448 const struct class_attribute *attr) class_remove_file() 455 struct class_attribute attr; 466 extern ssize_t show_class_attr_string(struct class *class, struct class_attribute *attr,
|
H A D | netdevice.h | 3626 int netdev_class_create_file_ns(struct class_attribute *class_attr, 3628 void netdev_class_remove_file_ns(struct class_attribute *class_attr, 3631 static inline int netdev_class_create_file(struct class_attribute *class_attr) netdev_class_create_file() 3636 static inline void netdev_class_remove_file(struct class_attribute *class_attr) netdev_class_remove_file()
|
/linux-4.1.27/drivers/block/ |
H A D | osdblk.c | 472 struct class_attribute *attr, class_osdblk_list() 498 struct class_attribute *attr, class_osdblk_add() 592 struct class_attribute *attr, class_osdblk_remove() 639 static struct class_attribute class_osdblk_attrs[] = {
|
H A D | pktcdvd.c | 351 struct class_attribute *attr, class_pktcdvd_show_map() 372 struct class_attribute *attr, class_pktcdvd_store_add() 394 struct class_attribute *attr, class_pktcdvd_store_remove() 406 static struct class_attribute class_pktcdvd_attrs[] = {
|
/linux-4.1.27/drivers/net/bonding/ |
H A D | bond_sysfs.c | 52 struct class_attribute *attr, bonding_show_bonds() 96 struct class_attribute *attr, bonding_store_bonds() 148 static const struct class_attribute class_attr_bonding_masters = {
|
/linux-4.1.27/drivers/gpio/ |
H A D | gpiolib-sysfs.c | 447 struct class_attribute *attr, export_store() 489 struct class_attribute *attr, unexport_store() 523 static struct class_attribute gpio_class_attrs[] = {
|
/linux-4.1.27/drivers/misc/cxl/ |
H A D | sysfs.c | 456 static struct kobj_attribute class_attribute = variable in typeref:struct:kobj_attribute 462 &class_attribute.attr,
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
H A D | mobility.c | 318 static ssize_t migrate_store(struct class *class, struct class_attribute *attr, migrate_store()
|
H A D | dlpar.c | 568 static ssize_t dlpar_store(struct class *class, struct class_attribute *attr, dlpar_store()
|
/linux-4.1.27/include/net/ |
H A D | bonding.h | 524 struct class_attribute class_attr_bonding_masters;
|
/linux-4.1.27/net/core/ |
H A D | net-sysfs.c | 1538 int netdev_class_create_file_ns(struct class_attribute *class_attr, netdev_class_create_file_ns() 1545 void netdev_class_remove_file_ns(struct class_attribute *class_attr, netdev_class_remove_file_ns()
|
/linux-4.1.27/drivers/mtd/ubi/ |
H A D | build.c | 110 struct class_attribute *attr, char *buf) ubi_version_show() 116 static struct class_attribute ubi_version =
|