/linux-6.1.9/drivers/firmware/google/ |
D | vpd.c | 44 struct bin_attribute bin_attr; /* vpd/name_raw bin_attribute */ member 51 struct bin_attribute bin_attr; member 59 struct bin_attribute *bin_attr, char *buf, in vpd_attrib_read() argument 62 struct vpd_attrib_info *info = bin_attr->private; in vpd_attrib_read() 65 info->bin_attr.size); in vpd_attrib_read() 120 sysfs_bin_attr_init(&info->bin_attr); in vpd_section_attrib_add() 121 info->bin_attr.attr.name = info->key; in vpd_section_attrib_add() 122 info->bin_attr.attr.mode = 0444; in vpd_section_attrib_add() 123 info->bin_attr.size = value_len; in vpd_section_attrib_add() 124 info->bin_attr.read = vpd_attrib_read; in vpd_section_attrib_add() [all …]
|
D | memconsole.c | 17 struct bin_attribute *bin_attr, char *buf, in memconsole_read() argument 22 memconsole_read_func = bin_attr->private; in memconsole_read()
|
/linux-6.1.9/fs/sysfs/ |
D | group.c | 24 struct bin_attribute *const *bin_attr; in remove_files() local 30 for (bin_attr = grp->bin_attrs; *bin_attr; bin_attr++) in remove_files() 31 kernfs_remove_by_name(parent, (*bin_attr)->attr.name); in remove_files() 39 struct bin_attribute *const *bin_attr; in create_files() local 76 for (i = 0, bin_attr = grp->bin_attrs; *bin_attr; i++, bin_attr++) { in create_files() 77 umode_t mode = (*bin_attr)->attr.mode; in create_files() 81 (*bin_attr)->attr.name); in create_files() 83 mode = grp->is_bin_visible(kobj, *bin_attr, i); in create_files() 90 (*bin_attr)->attr.name, mode); in create_files() 93 error = sysfs_add_bin_file_mode_ns(parent, *bin_attr, in create_files() [all …]
|
/linux-6.1.9/drivers/firmware/efi/ |
D | mokvar-table.c | 73 struct bin_attribute bin_attr; member 269 struct bin_attribute *bin_attr, char *buf, in efi_mokvar_sysfs_read() argument 272 struct efi_mokvar_table_entry *mokvar_entry = bin_attr->private; in efi_mokvar_sysfs_read() 341 sysfs_bin_attr_init(&mokvar_sysfs->bin_attr); in efi_mokvar_sysfs_init() 342 mokvar_sysfs->bin_attr.private = mokvar_entry; in efi_mokvar_sysfs_init() 343 mokvar_sysfs->bin_attr.attr.name = mokvar_entry->name; in efi_mokvar_sysfs_init() 344 mokvar_sysfs->bin_attr.attr.mode = 0400; in efi_mokvar_sysfs_init() 345 mokvar_sysfs->bin_attr.size = mokvar_entry->data_size; in efi_mokvar_sysfs_init() 346 mokvar_sysfs->bin_attr.read = efi_mokvar_sysfs_read; in efi_mokvar_sysfs_init() 349 &mokvar_sysfs->bin_attr); in efi_mokvar_sysfs_init()
|
/linux-6.1.9/drivers/w1/slaves/ |
D | w1_ds2408.c | 68 struct bin_attribute *bin_attr, char *buf, loff_t off, in state_read() argument 73 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in state_read() 80 struct bin_attribute *bin_attr, char *buf, in output_read() argument 85 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in output_read() 93 struct bin_attribute *bin_attr, char *buf, in activity_read() argument 98 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in activity_read() 106 struct bin_attribute *bin_attr, char *buf, in cond_search_mask_read() argument 111 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in cond_search_mask_read() 120 struct bin_attribute *bin_attr, in cond_search_polarity_read() argument 130 struct bin_attribute *bin_attr, char *buf, in status_control_read() argument [all …]
|
D | w1_ds2438.c | 293 struct bin_attribute *bin_attr, char *buf, in iad_write() argument 315 struct bin_attribute *bin_attr, char *buf, in iad_read() argument 336 struct bin_attribute *bin_attr, char *buf, in page0_read() argument 366 struct bin_attribute *bin_attr, char *buf, in page1_read() argument 396 struct bin_attribute *bin_attr, char *buf, in offset_write() argument 415 struct bin_attribute *bin_attr, char *buf, in temperature_read() argument 436 struct bin_attribute *bin_attr, char *buf, in vad_read() argument 457 struct bin_attribute *bin_attr, char *buf, in vdd_read() argument
|
D | w1_ds2413.c | 28 struct bin_attribute *bin_attr, char *buf, loff_t off, in state_read() argument 38 bin_attr->attr.name, kobj, (unsigned int)off, count, buf); in state_read() 84 struct bin_attribute *bin_attr, char *buf, in output_write() argument
|
D | w1_ds28e04.c | 115 struct bin_attribute *bin_attr, char *buf, in eeprom_read() argument 223 struct bin_attribute *bin_attr, char *buf, in eeprom_write() argument 279 struct bin_attribute *bin_attr, char *buf, loff_t off, in pio_read() argument 298 struct bin_attribute *bin_attr, char *buf, loff_t off, in pio_write() argument
|
D | w1_ds2406.c | 27 struct bin_attribute *bin_attr, in w1_f12_read_state() argument 64 struct bin_attribute *bin_attr, in w1_f12_write_output() argument
|
D | w1_ds2430.c | 98 struct bin_attribute *bin_attr, char *buf, in eeprom_read() argument 205 struct bin_attribute *bin_attr, char *buf, in eeprom_write() argument
|
D | w1_ds2431.c | 98 struct bin_attribute *bin_attr, char *buf, in eeprom_read() argument 204 struct bin_attribute *bin_attr, char *buf, in eeprom_write() argument
|
D | w1_ds2805.c | 95 struct bin_attribute *bin_attr, in w1_f0d_read_bin() argument 203 struct bin_attribute *bin_attr, in w1_f0d_write_bin() argument
|
D | w1_ds2433.c | 90 struct bin_attribute *bin_attr, char *buf, in eeprom_read() argument 204 struct bin_attribute *bin_attr, char *buf, in eeprom_write() argument
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_module_attach.c | 59 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG() argument 70 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG() argument 82 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len, in BPF_PROG() argument 107 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG() argument
|
/linux-6.1.9/fs/configfs/ |
D | file.c | 45 struct configfs_bin_attribute *bin_attr; member 127 len = buffer->bin_attr->read(buffer->item, NULL, 0); in configfs_bin_read_iter() 152 len = buffer->bin_attr->read(buffer->item, in configfs_bin_read_iter() 318 buffer->bin_attr = to_bin_attr(dentry); in __configfs_open_file() 319 buffer->cb_max_size = buffer->bin_attr->cb_max_size; in __configfs_open_file() 345 if ((type & CONFIGFS_ITEM_BIN_ATTR) && !buffer->bin_attr->write) in __configfs_open_file() 358 if ((type & CONFIGFS_ITEM_BIN_ATTR) && !buffer->bin_attr->read) in __configfs_open_file() 411 buffer->bin_attr->write(buffer->item, in configfs_release_bin_file() 469 const struct configfs_bin_attribute *bin_attr) in configfs_create_bin_file() argument 473 umode_t mode = (bin_attr->cb_attr.ca_mode & S_IALLUGO) | S_IFREG; in configfs_create_bin_file() [all …]
|
/linux-6.1.9/drivers/platform/x86/dell/ |
D | dell_rbu.c | 478 struct bin_attribute *bin_attr, in data_read() argument 533 struct bin_attribute *bin_attr, in image_type_read() argument 543 struct bin_attribute *bin_attr, in image_type_write() argument 603 struct bin_attribute *bin_attr, in packet_size_read() argument 616 struct bin_attribute *bin_attr, in packet_size_write() argument
|
/linux-6.1.9/arch/mips/txx9/generic/ |
D | setup.c | 777 struct bin_attribute *bin_attr, in txx9_sram_read() argument 780 struct txx9_sramc_dev *dev = bin_attr->private; in txx9_sram_read() 781 size_t ramsize = bin_attr->size; in txx9_sram_read() 792 struct bin_attribute *bin_attr, in txx9_sram_write() argument 795 struct txx9_sramc_dev *dev = bin_attr->private; in txx9_sram_write() 796 size_t ramsize = bin_attr->size; in txx9_sram_write()
|
/linux-6.1.9/drivers/of/ |
D | kobj.c | 32 struct bin_attribute *bin_attr, char *buf, in of_node_property_read() argument 35 struct property *pp = container_of(bin_attr, struct property, attr); in of_node_property_read()
|
/linux-6.1.9/tools/testing/selftests/bpf/bpf_testmod/ |
D | bpf_testmod.c | 133 struct bin_attribute *bin_attr, in bpf_testmod_test_read() argument 177 struct bin_attribute *bin_attr, in bpf_testmod_test_write() argument
|
/linux-6.1.9/kernel/ |
D | kheaders.c | 34 struct bin_attribute *bin_attr, in ikheaders_read() argument
|
/linux-6.1.9/kernel/bpf/ |
D | sysfs_btf.c | 17 struct bin_attribute *bin_attr, in btf_vmlinux_read() argument
|
/linux-6.1.9/drivers/leds/ |
D | leds.h | 28 struct bin_attribute *bin_attr, char *buf,
|
/linux-6.1.9/drivers/misc/ocxl/ |
D | sysfs.c | 97 struct bin_attribute *bin_attr, char *buf, in global_mmio_read() argument 128 struct bin_attribute *bin_attr, in global_mmio_mmap() argument
|
/linux-6.1.9/arch/powerpc/platforms/powernv/ |
D | ultravisor.c | 35 struct bin_attribute *bin_attr, char *to, in uv_msglog_read() argument
|
/linux-6.1.9/drivers/power/supply/ |
D | ds2780_battery.c | 624 struct bin_attribute *bin_attr, in ds2780_read_param_eeprom_bin() argument 637 struct bin_attribute *bin_attr, in ds2780_write_param_eeprom_bin() argument 669 struct bin_attribute *bin_attr, in ds2780_read_user_eeprom_bin() argument 682 struct bin_attribute *bin_attr, in ds2780_write_user_eeprom_bin() argument
|