| /Linux-v5.4/drivers/nvmem/ | 
| D | nvmem-sysfs.c | 34 				    struct bin_attribute *attr,  in bin_attr_nvmem_read()68 				     struct bin_attribute *attr,  in bin_attr_nvmem_write()
 102 static struct bin_attribute bin_attr_rw_nvmem = {
 111 static struct bin_attribute *nvmem_bin_rw_attributes[] = {
 127 static struct bin_attribute bin_attr_ro_nvmem = {
 135 static struct bin_attribute *nvmem_bin_ro_attributes[] = {
 151 static struct bin_attribute bin_attr_rw_root_nvmem = {
 160 static struct bin_attribute *nvmem_bin_rw_root_attributes[] = {
 176 static struct bin_attribute bin_attr_ro_root_nvmem = {
 184 static struct bin_attribute *nvmem_bin_ro_root_attributes[] = {
 
 | 
| /Linux-v5.4/include/linux/ | 
| D | sysfs.h | 27 struct bin_attribute;89 						  struct bin_attribute *, int);
 91 	struct bin_attribute	**bin_attrs;
 161 struct bin_attribute {  struct
 165 	ssize_t (*read)(struct file *, struct kobject *, struct bin_attribute *,  argument
 167 	ssize_t (*write)(struct file *, struct kobject *, struct bin_attribute *,  argument
 169 	int (*mmap)(struct file *, struct kobject *, struct bin_attribute *attr,  argument
 211 struct bin_attribute bin_attr_##_name = __BIN_ATTR(_name, _mode, _read,	\
 215 struct bin_attribute bin_attr_##_name = __BIN_ATTR_RO(_name, _size)
 218 struct bin_attribute bin_attr_##_name = __BIN_ATTR_WO(_name, _size)
 [all …]
 
 | 
| /Linux-v5.4/drivers/w1/slaves/ | 
| D | w1_ds2408.c | 68 			  struct bin_attribute *bin_attr, char *buf, loff_t off,  in state_read()80 			   struct bin_attribute *bin_attr, char *buf,  in output_read()
 93 			     struct bin_attribute *bin_attr, char *buf,  in activity_read()
 106 				     struct bin_attribute *bin_attr, char *buf,  in cond_search_mask_read()
 120 					 struct bin_attribute *bin_attr,  in cond_search_polarity_read()
 130 				   struct bin_attribute *bin_attr, char *buf,  in status_control_read()
 163 			    struct bin_attribute *bin_attr, char *buf,  in output_write()
 213 			      struct bin_attribute *bin_attr, char *buf,  in activity_write()
 243 				    struct bin_attribute *bin_attr, char *buf,  in status_control_write()
 320 static struct bin_attribute *w1_f29_bin_attrs[] = {
 
 | 
| D | w1_ds2438.c | 256 			 struct bin_attribute *bin_attr, char *buf,  in iad_write()278 			struct bin_attribute *bin_attr, char *buf,  in iad_read()
 299 			  struct bin_attribute *bin_attr, char *buf,  in page0_read()
 329 				struct bin_attribute *bin_attr, char *buf,  in temperature_read()
 350 			struct bin_attribute *bin_attr, char *buf,  in vad_read()
 371 			struct bin_attribute *bin_attr, char *buf,  in vdd_read()
 397 static struct bin_attribute *w1_ds2438_bin_attrs[] = {
 
 | 
| D | w1_ds2406.c | 27 	struct bin_attribute *bin_attr,  in w1_f12_read_state()64 	struct bin_attribute *bin_attr,  in w1_f12_write_output()
 98 static struct bin_attribute w1_f12_sysfs_bin_files[NB_SYSFS_BIN_FILES] = {
 
 | 
| D | w1_ds2413.c | 28 			  struct bin_attribute *bin_attr, char *buf, loff_t off,  in state_read()84 			    struct bin_attribute *bin_attr, char *buf,  in output_write()
 131 static struct bin_attribute *w1_f3a_bin_attrs[] = {
 
 | 
| D | w1_ds28e04.c | 115 			   struct bin_attribute *bin_attr, char *buf,  in eeprom_read()223 			    struct bin_attribute *bin_attr, char *buf,  in eeprom_write()
 279 			struct bin_attribute *bin_attr, char *buf, loff_t off,  in pio_read()
 298 			 struct bin_attribute *bin_attr, char *buf, loff_t off,  in pio_write()
 377 static struct bin_attribute *w1_f1C_bin_attrs[] = {
 
 | 
| /Linux-v5.4/drivers/hid/ | 
| D | hid-roccat-common.h | 49 		struct kobject *kobj, struct bin_attribute *attr, char *buf, \58 		struct kobject *kobj, struct bin_attribute *attr, char *buf, \
 71 static struct bin_attribute bin_attr_ ## thingy = { \
 80 static struct bin_attribute bin_attr_ ## thingy = { \
 88 static struct bin_attribute bin_attr_ ## thingy = { \
 
 | 
| D | hid-roccat-pyra.c | 135 		struct kobject *kobj, struct bin_attribute *attr, char *buf, \144 		struct kobject *kobj, struct bin_attribute *attr, char *buf, \
 157 static struct bin_attribute bin_attr_##thingy = { \
 166 static struct bin_attribute bin_attr_##thingy = { \
 174 static struct bin_attribute bin_attr_##thingy = { \
 186 		struct kobject *kobj, struct bin_attribute *attr, char *buf,  in pyra_sysfs_read_profilex_settings()
 204 		struct kobject *kobj, struct bin_attribute *attr, char *buf,  in pyra_sysfs_read_profilex_buttons()
 222 static struct bin_attribute bin_attr_profile##number##_settings = {	\
 228 static struct bin_attribute bin_attr_profile##number##_buttons = {	\
 241 		struct kobject *kobj, struct bin_attribute *attr, char *buf,  in pyra_sysfs_write_settings()
 [all …]
 
 | 
| D | hid-roccat-koneplus.c | 133 		struct kobject *kobj, struct bin_attribute *attr, char *buf, \142 		struct kobject *kobj, struct bin_attribute *attr, char *buf, \
 155 static struct bin_attribute bin_attr_##thingy = { \
 164 static struct bin_attribute bin_attr_##thingy = { \
 172 static struct bin_attribute bin_attr_##thingy = { \
 188 		struct kobject *kobj, struct bin_attribute *attr, char *buf,  in koneplus_sysfs_read_profilex_settings()
 206 		struct kobject *kobj, struct bin_attribute *attr, char *buf,  in koneplus_sysfs_read_profilex_buttons()
 224 static struct bin_attribute bin_attr_profile##number##_settings = {	\
 230 static struct bin_attribute bin_attr_profile##number##_buttons = {	\
 326 static struct bin_attribute *koneplus_bin_attributes[] = {
 
 | 
| D | hid-roccat-kovaplus.c | 176 		struct kobject *kobj, struct bin_attribute *attr, char *buf, \185 		struct kobject *kobj, struct bin_attribute *attr, char *buf, \
 198 static struct bin_attribute bin_attr_##thingy = { \
 207 static struct bin_attribute bin_attr_##thingy = { \
 218 		struct kobject *kobj, struct bin_attribute *attr, char *buf,  in kovaplus_sysfs_read_profilex_settings()
 236 		struct kobject *kobj, struct bin_attribute *attr, char *buf,  in kovaplus_sysfs_read_profilex_buttons()
 254 static struct bin_attribute bin_attr_profile##number##_settings = {	\
 260 static struct bin_attribute bin_attr_profile##number##_buttons = {	\
 384 static struct bin_attribute *kovaplus_bin_attributes[] = {
 
 | 
| /Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/ | 
| D | qlcnic_sysfs.c | 269 				     struct bin_attribute *attr, char *buf,  in qlcnic_sysfs_read_crb()286 				      struct bin_attribute *attr, char *buf,  in qlcnic_sysfs_write_crb()
 315 				     struct bin_attribute *attr, char *buf,  in qlcnic_sysfs_read_mem()
 337 				      struct bin_attribute *attr, char *buf,  in qlcnic_sysfs_write_mem()
 401 					    struct bin_attribute *attr,  in qlcnic_sysfs_write_pm_config()
 451 					   struct bin_attribute *attr,  in qlcnic_sysfs_read_pm_config()
 544 					     struct bin_attribute *attr,  in qlcnic_sysfs_write_esw_config()
 628 					    struct bin_attribute *attr,  in qlcnic_sysfs_read_esw_config()
 680 					      struct bin_attribute *attr,  in qlcnic_sysfs_write_npar_config()
 727 					     struct bin_attribute *attr,  in qlcnic_sysfs_read_npar_config()
 [all …]
 
 | 
| /Linux-v5.4/arch/x86/kernel/ | 
| D | ksysfs.c | 31 				     struct bin_attribute *bin_attr,  in boot_params_data_read()38 static struct bin_attribute boot_params_data_attr = {
 52 static struct bin_attribute *boot_params_data_attrs[] = {
 140 				    struct bin_attribute *bin_attr,  in setup_data_data_read()
 186 static struct bin_attribute data_attr __ro_after_init = {
 199 static struct bin_attribute *setup_data_data_attrs[] = {
 
 | 
| /Linux-v5.4/mm/ | 
| D | page_idle.c | 122 				     struct bin_attribute *attr, char *buf,  in page_idle_bitmap_read()167 				      struct bin_attribute *attr, char *buf,  in page_idle_bitmap_write()
 203 static struct bin_attribute page_idle_bitmap_attr =
 207 static struct bin_attribute *page_idle_bin_attrs[] = {
 
 | 
| /Linux-v5.4/arch/alpha/kernel/ | 
| D | pci-sysfs.c | 65 			     struct bin_attribute *attr,  in pci_mmap_resource()94 				    struct bin_attribute *attr,  in pci_mmap_resource_sparse()
 101 				   struct bin_attribute *attr,  in pci_mmap_resource_dense()
 119 		struct bin_attribute *res_attr;  in pci_remove_resource_files()
 155 			       char *suffix, struct bin_attribute *res_attr,  in pci_create_one_attr()
 175 	struct bin_attribute *attr;  in pci_create_attr()
 
 | 
| /Linux-v5.4/drivers/pci/ | 
| D | pci-sysfs.c | 675 			       struct bin_attribute *bin_attr, char *buf,  in pci_read_config()751 				struct bin_attribute *bin_attr, char *buf,  in pci_write_config()
 830 				  struct bin_attribute *bin_attr, char *buf,  in pci_read_legacy_io()
 855 				   struct bin_attribute *bin_attr, char *buf,  in pci_write_legacy_io()
 879 			       struct bin_attribute *attr,  in pci_mmap_legacy_mem()
 899 			      struct bin_attribute *attr,  in pci_mmap_legacy_io()
 934 	b->legacy_io = kcalloc(2, sizeof(struct bin_attribute),  in pci_create_legacy_files()
 1017 static int pci_mmap_resource(struct kobject *kobj, struct bin_attribute *attr,  in pci_mmap_resource()
 1042 				struct bin_attribute *attr,  in pci_mmap_resource_uc()
 1049 				struct bin_attribute *attr,  in pci_mmap_resource_wc()
 [all …]
 
 | 
| /Linux-v5.4/kernel/bpf/ | 
| D | sysfs_btf.c | 17 		 struct bin_attribute *bin_attr,  in btf_vmlinux_read()24 static struct bin_attribute bin_attr_btf_vmlinux __ro_after_init = {
 
 | 
| /Linux-v5.4/kernel/ | 
| D | kheaders.c | 34 	       struct bin_attribute *bin_attr,  in ikheaders_read()41 static struct bin_attribute kheaders_attr __ro_after_init = {
 
 | 
| /Linux-v5.4/drivers/zorro/ | 
| D | zorro-sysfs.c | 84 				 struct bin_attribute *bin_attr,  in zorro_read_config()101 static struct bin_attribute zorro_config_attr = {
 110 static struct bin_attribute *zorro_device_bin_attrs[] = {
 
 | 
| /Linux-v5.4/drivers/platform/x86/ | 
| D | dell_rbu.c | 504 			     struct bin_attribute *bin_attr,  in read_rbu_data()558 				   struct bin_attribute *bin_attr,  in read_rbu_image_type()
 568 				    struct bin_attribute *bin_attr,  in write_rbu_image_type()
 629 				    struct bin_attribute *bin_attr,  in read_rbu_packet_size()
 642 				     struct bin_attribute *bin_attr,  in write_rbu_packet_size()
 656 static struct bin_attribute rbu_data_attr = {
 661 static struct bin_attribute rbu_image_type_attr = {
 667 static struct bin_attribute rbu_packet_size_attr = {
 
 | 
| /Linux-v5.4/drivers/firmware/google/ | 
| D | memconsole.c | 17 			       struct bin_attribute *bin_attr, char *buf,  in memconsole_read()29 static struct bin_attribute memconsole_bin_attr = {
 
 | 
| /Linux-v5.4/drivers/s390/crypto/ | 
| D | pkey_api.c | 1194 				    struct bin_attribute *attr,  in protkey_aes_128_read()1204 				    struct bin_attribute *attr,  in protkey_aes_192_read()
 1214 				    struct bin_attribute *attr,  in protkey_aes_256_read()
 1224 					struct bin_attribute *attr,  in protkey_aes_128_xts_read()
 1234 					struct bin_attribute *attr,  in protkey_aes_256_xts_read()
 1248 static struct bin_attribute *protkey_attrs[] = {
 1298 				    struct bin_attribute *attr,  in ccadata_aes_128_read()
 1308 				    struct bin_attribute *attr,  in ccadata_aes_192_read()
 1318 				    struct bin_attribute *attr,  in ccadata_aes_256_read()
 1328 					struct bin_attribute *attr,  in ccadata_aes_128_xts_read()
 [all …]
 
 | 
| /Linux-v5.4/arch/powerpc/platforms/powernv/ | 
| D | ultravisor.c | 35 			      struct bin_attribute *bin_attr, char *to,  in uv_msglog_read()41 static struct bin_attribute uv_msglog_attr = {
 
 | 
| /Linux-v5.4/drivers/scsi/arcmsr/ | 
| D | arcmsr_attr.c | 65 					     struct bin_attribute *bin,  in arcmsr_sysfs_iop_message_read()112 					      struct bin_attribute *bin,  in arcmsr_sysfs_iop_message_write()
 160 					      struct bin_attribute *bin,  in arcmsr_sysfs_iop_message_clear()
 193 static const struct bin_attribute arcmsr_sysfs_message_read_attr = {
 202 static const struct bin_attribute arcmsr_sysfs_message_write_attr = {
 211 static const struct bin_attribute arcmsr_sysfs_message_clear_attr = {
 
 | 
| /Linux-v5.4/drivers/platform/chrome/ | 
| D | cros_ec_vbc.c | 18 				  struct bin_attribute *att, char *buf,  in vboot_context_read()58 				   struct bin_attribute *attr, char *buf,  in vboot_context_write()
 100 static struct bin_attribute *cros_ec_vbc_bin_attrs[] = {
 
 |