/linux-4.19.296/include/linux/ |
D | hwmon-sysfs.h | 32 #define SENSOR_ATTR(_name, _mode, _show, _store, _index) \ argument 33 { .dev_attr = __ATTR(_name, _mode, _show, _store), \ 36 #define SENSOR_DEVICE_ATTR(_name, _mode, _show, _store, _index) \ argument 38 = SENSOR_ATTR(_name, _mode, _show, _store, _index) 48 #define SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index) \ argument 49 { .dev_attr = __ATTR(_name, _mode, _show, _store), \ 53 #define SENSOR_DEVICE_ATTR_2(_name,_mode,_show,_store,_nr,_index) \ argument 55 = SENSOR_ATTR_2(_name, _mode, _show, _store, _nr, _index)
|
D | sysfs.h | 101 #define __ATTR(_name, _mode, _show, _store) { \ argument 105 .store = _store, \ 108 #define __ATTR_PREALLOC(_name, _mode, _show, _store) { \ argument 112 .store = _store, \ 128 .store = _name##_store, \ 131 #define __ATTR_RW(_name) __ATTR(_name, 0644, _name##_show, _name##_store) 136 #define __ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) { \ argument 140 .store = _store, \
|
D | mdev.h | 94 #define MDEV_TYPE_ATTR(_name, _mode, _show, _store) \ argument 96 __ATTR(_name, _mode, _show, _store)
|
D | configfs.h | 145 .store = _pfx##_name##_store, \ 161 .store = _pfx##_name##_store, \
|
D | device.h | 52 #define BUS_ATTR(_name, _mode, _show, _store) \ argument 53 struct bus_attribute bus_attr_##_name = __ATTR(_name, _mode, _show, _store) 591 #define DEVICE_ATTR(_name, _mode, _show, _store) \ argument 592 struct device_attribute dev_attr_##_name = __ATTR(_name, _mode, _show, _store) 593 #define DEVICE_ATTR_PREALLOC(_name, _mode, _show, _store) \ argument 595 __ATTR_PREALLOC(_name, _mode, _show, _store) 611 #define DEVICE_ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) \ argument 613 __ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store)
|
/linux-4.19.296/include/linux/iio/ |
D | sysfs.h | 54 #define IIO_ATTR(_name, _mode, _show, _store, _addr) \ argument 55 { .dev_attr = __ATTR(_name, _mode, _show, _store), \ 70 #define IIO_DEVICE_ATTR(_name, _mode, _show, _store, _addr) \ argument 72 = IIO_ATTR(_name, _mode, _show, _store, _addr) 86 #define IIO_DEVICE_ATTR_NAMED(_vname, _name, _mode, _show, _store, _addr) \ argument 88 = IIO_ATTR(_name, _mode, _show, _store, _addr) 108 #define IIO_DEV_ATTR_SAMP_FREQ(_mode, _show, _store) \ argument 109 IIO_DEVICE_ATTR(sampling_frequency, _mode, _show, _store, 0)
|
/linux-4.19.296/fs/btrfs/ |
D | sysfs.h | 18 #define __INIT_KOBJ_ATTR(_name, _mode, _show, _store) \ argument 22 .store = _store, \ 25 #define BTRFS_ATTR_RW(_prefix, _name, _show, _store) \ argument 27 __INIT_KOBJ_ATTR(_name, 0644, _show, _store)
|
/linux-4.19.296/drivers/edac/ |
D | edac_pci_sysfs.c | 127 #define INSTANCE_ATTR(_name, _mode, _show, _store) \ argument 131 .store = _store, \ 266 #define EDAC_PCI_ATTR(_name,_mode,_show,_store) \ argument 271 .store = _store, \ 274 #define EDAC_PCI_STRING_ATTR(_name,_data,_mode,_show,_store) \ argument 279 .store = _store, \
|
D | edac_device_sysfs.c | 147 #define CTL_INFO_ATTR(_name,_mode,_show,_store) \ argument 151 .store = _store, \ 376 #define INSTANCE_ATTR(_name,_mode,_show,_store) \ argument 380 .store = _store, \ 479 #define BLOCK_ATTR(_name,_mode,_show,_store) \ argument 483 .store = _store, \
|
D | edac_mc_sysfs.c | 129 #define DEVICE_ATTR_LEGACY(_name, _mode, _show, _store) \ argument 130 static struct device_attribute dev_attr_legacy_##_name = __ATTR(_name, _mode, _show, _store) 137 #define DEVICE_CHANNEL(_name, _mode, _show, _store, _var) \ argument 139 { __ATTR(_name, _mode, _show, _store), (_var) }
|
D | octeon_edac-lmc.c | 141 static ssize_t octeon_mc_inject_##reg##_store(struct device *dev, \
|
/linux-4.19.296/include/scsi/ |
D | scsi_transport_fc.h | 177 #define FC_VPORT_ATTR(_name,_mode,_show,_store) \ argument 179 __ATTR(_name,_mode,_show,_store) 303 #define FC_RPORT_ATTR(_name,_mode,_show,_store) \ argument 305 __ATTR(_name,_mode,_show,_store)
|
/linux-4.19.296/drivers/pci/endpoint/ |
D | pci-ep-cfs.c | 220 static ssize_t pci_epf_##_name##_store(struct config_item *item, \ 236 static ssize_t pci_epf_##_name##_store(struct config_item *item, \ 252 static ssize_t pci_epf_##_name##_store(struct config_item *item, \
|
/linux-4.19.296/fs/gfs2/ |
D | sys.c | 519 #define GDLM_ATTR(_name,_mode,_show,_store) \ argument 520 static struct gfs2_attr gdlm_attr_##_name = __ATTR(_name,_mode,_show,_store) 609 static ssize_t name##_store(struct gfs2_sbd *sdp, const char *buf, size_t len)\ 613 TUNE_ATTR_2(name, name##_store)
|
/linux-4.19.296/drivers/parisc/ |
D | pdc_stable.c | 122 #define PDCS_ATTR(_name, _mode, _show, _store) \ argument 126 .store = _store, \ 129 #define PATHS_ATTR(_name, _mode, _show, _store) \ argument 133 .store = _store, \
|
/linux-4.19.296/include/linux/usb/ |
D | gadget_configfs.h | 11 static ssize_t __struct##_##__name##_store(struct config_item *item, \
|
/linux-4.19.296/drivers/iio/light/ |
D | lm3533-als.c | 575 #define ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2) \ argument 576 { .dev_attr = __ATTR(_name, _mode, _show, _store), \ 581 #define LM3533_ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2) \ argument 583 ALS_ATTR(_name, _mode, _show, _store, _type, _val1, _val2)
|
/linux-4.19.296/fs/nilfs2/ |
D | sysfs.h | 102 nilfs_##type##_##name##_store)
|
/linux-4.19.296/drivers/s390/scsi/ |
D | zfcp_sysfs.c | 16 #define ZFCP_DEV_ATTR(_feat, _name, _mode, _show, _store) \ argument 18 _show, _store)
|
/linux-4.19.296/fs/f2fs/ |
D | sysfs.c | 367 #define F2FS_ATTR_OFFSET(_struct_type, _name, _mode, _show, _store, _offset) \ argument 371 .store = _store, \
|
/linux-4.19.296/block/ |
D | deadline-iosched.c | 515 __ATTR(name, 0644, deadline_##name##_show, deadline_##name##_store)
|
D | mq-deadline.c | 646 __ATTR(name, 0644, deadline_##name##_show, deadline_##name##_store)
|
/linux-4.19.296/drivers/s390/net/ |
D | qeth_l3_sys.c | 16 #define QETH_DEVICE_ATTR(_id, _name, _mode, _show, _store) \ argument 17 struct device_attribute dev_attr_##_id = __ATTR(_name, _mode, _show, _store)
|
/linux-4.19.296/drivers/base/ |
D | bus.c | 34 #define DRIVER_ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store) \ argument 36 __ATTR_IGNORE_LOCKDEP(_name, _mode, _show, _store)
|
/linux-4.19.296/drivers/xen/ |
D | sys-hypervisor.c | 32 __ATTR(_name, 0644, _name##_show, _name##_store)
|