bin_attr 889 arch/mips/txx9/generic/setup.c struct bin_attribute *bin_attr, bin_attr 892 arch/mips/txx9/generic/setup.c struct txx9_sramc_dev *dev = bin_attr->private; bin_attr 893 arch/mips/txx9/generic/setup.c size_t ramsize = bin_attr->size; bin_attr 904 arch/mips/txx9/generic/setup.c struct bin_attribute *bin_attr, bin_attr 907 arch/mips/txx9/generic/setup.c struct txx9_sramc_dev *dev = bin_attr->private; bin_attr 908 arch/mips/txx9/generic/setup.c size_t ramsize = bin_attr->size; bin_attr 923 arch/powerpc/perf/hv-24x7.c struct bin_attribute *bin_attr, char *buf, bin_attr 161 arch/powerpc/platforms/powernv/opal-core.c struct bin_attribute *bin_attr, char *to, bin_attr 283 arch/powerpc/platforms/powernv/opal-dump.c struct bin_attribute *bin_attr, bin_attr 153 arch/powerpc/platforms/powernv/opal-elog.c struct bin_attribute *bin_attr, bin_attr 435 arch/powerpc/platforms/powernv/opal-flash.c struct bin_attribute *bin_attr, bin_attr 95 arch/powerpc/platforms/powernv/opal-msglog.c struct bin_attribute *bin_attr, char *to, bin_attr 712 arch/powerpc/platforms/powernv/opal.c struct bin_attribute *bin_attr, bin_attr 715 arch/powerpc/platforms/powernv/opal.c return memory_read_from_buffer(buf, count, &off, bin_attr->private, bin_attr 716 arch/powerpc/platforms/powernv/opal.c bin_attr->size); bin_attr 748 arch/powerpc/platforms/powernv/opal.c struct bin_attribute *bin_attr, char *buf, bin_attr 751 arch/powerpc/platforms/powernv/opal.c return memory_read_from_buffer(buf, count, &off, bin_attr->private, bin_attr 752 arch/powerpc/platforms/powernv/opal.c bin_attr->size); bin_attr 35 arch/powerpc/platforms/powernv/ultravisor.c struct bin_attribute *bin_attr, char *to, bin_attr 31 arch/x86/kernel/ksysfs.c struct bin_attribute *bin_attr, bin_attr 140 arch/x86/kernel/ksysfs.c struct bin_attribute *bin_attr, bin_attr 342 drivers/acpi/sysfs.c struct bin_attribute *bin_attr, char *buf, bin_attr 346 drivers/acpi/sysfs.c container_of(bin_attr, struct acpi_table_attr, attr); bin_attr 437 drivers/acpi/sysfs.c struct bin_attribute *bin_attr, char *buf, bin_attr 444 drivers/acpi/sysfs.c data_attr = container_of(bin_attr, struct acpi_data_attr, attr); bin_attr 75 drivers/base/devcoredump.c struct bin_attribute *bin_attr, bin_attr 85 drivers/base/devcoredump.c struct bin_attribute *bin_attr, bin_attr 337 drivers/base/firmware_loader/fallback.c struct bin_attribute *bin_attr, bin_attr 394 drivers/base/firmware_loader/fallback.c struct bin_attribute *bin_attr, bin_attr 431 drivers/firmware/dmi-sysfs.c struct bin_attribute *bin_attr, bin_attr 537 drivers/firmware/dmi-sysfs.c struct bin_attribute *bin_attr, bin_attr 365 drivers/firmware/efi/efivars.c struct bin_attribute *bin_attr, bin_attr 435 drivers/firmware/efi/efivars.c struct bin_attribute *bin_attr, bin_attr 488 drivers/firmware/google/gsmi.c struct bin_attribute *bin_attr, bin_attr 17 drivers/firmware/google/memconsole.c struct bin_attribute *bin_attr, char *buf, bin_attr 22 drivers/firmware/google/memconsole.c memconsole_read_func = bin_attr->private; bin_attr 44 drivers/firmware/google/vpd.c struct bin_attribute bin_attr; /* vpd/name_raw bin_attribute */ bin_attr 51 drivers/firmware/google/vpd.c struct bin_attribute bin_attr; bin_attr 59 drivers/firmware/google/vpd.c struct bin_attribute *bin_attr, char *buf, bin_attr 62 drivers/firmware/google/vpd.c struct vpd_attrib_info *info = bin_attr->private; bin_attr 65 drivers/firmware/google/vpd.c info->bin_attr.size); bin_attr 120 drivers/firmware/google/vpd.c sysfs_bin_attr_init(&info->bin_attr); bin_attr 121 drivers/firmware/google/vpd.c info->bin_attr.attr.name = info->key; bin_attr 122 drivers/firmware/google/vpd.c info->bin_attr.attr.mode = 0444; bin_attr 123 drivers/firmware/google/vpd.c info->bin_attr.size = value_len; bin_attr 124 drivers/firmware/google/vpd.c info->bin_attr.read = vpd_attrib_read; bin_attr 125 drivers/firmware/google/vpd.c info->bin_attr.private = info; bin_attr 131 drivers/firmware/google/vpd.c ret = sysfs_create_bin_file(sec->kobj, &info->bin_attr); bin_attr 152 drivers/firmware/google/vpd.c sysfs_remove_bin_file(sec->kobj, &info->bin_attr); bin_attr 159 drivers/firmware/google/vpd.c struct bin_attribute *bin_attr, char *buf, bin_attr 162 drivers/firmware/google/vpd.c struct vpd_section *sec = bin_attr->private; bin_attr 165 drivers/firmware/google/vpd.c sec->bin_attr.size); bin_attr 175 drivers/firmware/google/vpd.c ret = vpd_decode_string(sec->bin_attr.size, sec->baseaddr, bin_attr 200 drivers/firmware/google/vpd.c sysfs_bin_attr_init(&sec->bin_attr); bin_attr 201 drivers/firmware/google/vpd.c sec->bin_attr.attr.name = sec->raw_name; bin_attr 202 drivers/firmware/google/vpd.c sec->bin_attr.attr.mode = 0444; bin_attr 203 drivers/firmware/google/vpd.c sec->bin_attr.size = size; bin_attr 204 drivers/firmware/google/vpd.c sec->bin_attr.read = vpd_section_read; bin_attr 205 drivers/firmware/google/vpd.c sec->bin_attr.private = sec; bin_attr 207 drivers/firmware/google/vpd.c err = sysfs_create_bin_file(vpd_kobj, &sec->bin_attr); bin_attr 225 drivers/firmware/google/vpd.c sysfs_remove_bin_file(vpd_kobj, &sec->bin_attr); bin_attr 238 drivers/firmware/google/vpd.c sysfs_remove_bin_file(vpd_kobj, &sec->bin_attr); bin_attr 463 drivers/firmware/qemu_fw_cfg.c struct bin_attribute *bin_attr, bin_attr 61 drivers/infiniband/hw/hfi1/sysfs.c struct bin_attribute *bin_attr, bin_attr 110 drivers/infiniband/hw/hfi1/sysfs.c struct bin_attribute *bin_attr, bin_attr 212 drivers/infiniband/hw/qib/qib_sysfs.c struct bin_attribute *bin_attr, bin_attr 262 drivers/infiniband/hw/qib/qib_sysfs.c struct bin_attribute *bin_attr, bin_attr 447 drivers/misc/cxl/sysfs.c struct bin_attribute *bin_attr, char *buf, bin_attr 541 drivers/misc/cxl/sysfs.c struct bin_attribute *bin_attr, char *buf, bin_attr 93 drivers/misc/eeprom/ee1004.c struct bin_attribute *bin_attr, bin_attr 76 drivers/misc/eeprom/eeprom.c struct bin_attribute *bin_attr, bin_attr 107 drivers/misc/eeprom/max6875.c struct bin_attribute *bin_attr, bin_attr 62 drivers/misc/ocxl/sysfs.c struct bin_attribute *bin_attr, char *buf, bin_attr 93 drivers/misc/ocxl/sysfs.c struct bin_attribute *bin_attr, bin_attr 298 drivers/net/phy/spi_ks8995.c struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) bin_attr 310 drivers/net/phy/spi_ks8995.c struct bin_attribute *bin_attr, char *buf, loff_t off, size_t count) bin_attr 100 drivers/net/wireless/ti/wlcore/sysfs.c struct bin_attribute *bin_attr, bin_attr 1270 drivers/of/fdt.c struct bin_attribute *bin_attr, bin_attr 32 drivers/of/kobj.c struct bin_attribute *bin_attr, char *buf, bin_attr 35 drivers/of/kobj.c struct property *pp = container_of(bin_attr, struct property, attr); bin_attr 87 drivers/pci/hotplug/acpiphp_ibm.c struct bin_attribute *bin_attr, bin_attr 356 drivers/pci/hotplug/acpiphp_ibm.c struct bin_attribute *bin_attr, bin_attr 677 drivers/pci/pci-sysfs.c struct bin_attribute *bin_attr, char *buf, bin_attr 753 drivers/pci/pci-sysfs.c struct bin_attribute *bin_attr, char *buf, bin_attr 832 drivers/pci/pci-sysfs.c struct bin_attribute *bin_attr, char *buf, bin_attr 857 drivers/pci/pci-sysfs.c struct bin_attribute *bin_attr, char *buf, bin_attr 1233 drivers/pci/pci-sysfs.c struct bin_attribute *bin_attr, char *buf, bin_attr 1259 drivers/pci/pci-sysfs.c struct bin_attribute *bin_attr, char *buf, bin_attr 401 drivers/pci/vpd.c struct bin_attribute *bin_attr, char *buf, bin_attr 406 drivers/pci/vpd.c if (bin_attr->size > 0) { bin_attr 407 drivers/pci/vpd.c if (off > bin_attr->size) bin_attr 409 drivers/pci/vpd.c else if (count > bin_attr->size - off) bin_attr 410 drivers/pci/vpd.c count = bin_attr->size - off; bin_attr 417 drivers/pci/vpd.c struct bin_attribute *bin_attr, char *buf, bin_attr 422 drivers/pci/vpd.c if (bin_attr->size > 0) { bin_attr 423 drivers/pci/vpd.c if (off > bin_attr->size) bin_attr 425 drivers/pci/vpd.c else if (count > bin_attr->size - off) bin_attr 426 drivers/pci/vpd.c count = bin_attr->size - off; bin_attr 1542 drivers/pcmcia/cistpl.c struct bin_attribute *bin_attr, bin_attr 1573 drivers/pcmcia/cistpl.c struct bin_attribute *bin_attr, bin_attr 151 drivers/platform/x86/dcdbas.c struct bin_attribute *bin_attr, bin_attr 164 drivers/platform/x86/dcdbas.c struct bin_attribute *bin_attr, bin_attr 504 drivers/platform/x86/dell_rbu.c struct bin_attribute *bin_attr, bin_attr 558 drivers/platform/x86/dell_rbu.c struct bin_attribute *bin_attr, bin_attr 568 drivers/platform/x86/dell_rbu.c struct bin_attribute *bin_attr, bin_attr 629 drivers/platform/x86/dell_rbu.c struct bin_attribute *bin_attr, bin_attr 642 drivers/platform/x86/dell_rbu.c struct bin_attribute *bin_attr, bin_attr 198 drivers/power/supply/ds2760_battery.c struct bin_attribute *bin_attr, char *buf, bin_attr 624 drivers/power/supply/ds2780_battery.c struct bin_attribute *bin_attr, bin_attr 637 drivers/power/supply/ds2780_battery.c struct bin_attribute *bin_attr, bin_attr 669 drivers/power/supply/ds2780_battery.c struct bin_attribute *bin_attr, bin_attr 682 drivers/power/supply/ds2780_battery.c struct bin_attribute *bin_attr, bin_attr 626 drivers/power/supply/ds2781_battery.c struct bin_attribute *bin_attr, bin_attr 639 drivers/power/supply/ds2781_battery.c struct bin_attribute *bin_attr, bin_attr 671 drivers/power/supply/ds2781_battery.c struct bin_attribute *bin_attr, bin_attr 685 drivers/power/supply/ds2781_battery.c struct bin_attribute *bin_attr, bin_attr 117 drivers/rapidio/rio-sysfs.c struct bin_attribute *bin_attr, bin_attr 188 drivers/rapidio/rio-sysfs.c struct bin_attribute *bin_attr, bin_attr 132 drivers/s390/char/sclp_config.c struct bin_attribute *bin_attr, bin_attr 132 drivers/s390/cio/chp.c struct bin_attribute *bin_attr, bin_attr 179 drivers/s390/cio/chp.c struct bin_attribute *bin_attr, bin_attr 99 drivers/scsi/3w-sas.c struct bin_attribute *bin_attr, bin_attr 130 drivers/scsi/3w-sas.c struct bin_attribute *bin_attr, bin_attr 3030 drivers/scsi/ibmvscsi/ibmvfc.c struct bin_attribute *bin_attr, bin_attr 3457 drivers/scsi/ipr.c struct bin_attribute *bin_attr, bin_attr 4170 drivers/scsi/ipr.c struct bin_attribute *bin_attr, char *buf, bin_attr 4194 drivers/scsi/ipr.c struct bin_attribute *bin_attr, char *buf, bin_attr 4253 drivers/scsi/ipr.c struct bin_attribute *bin_attr, bin_attr 4442 drivers/scsi/ipr.c struct bin_attribute *bin_attr, bin_attr 4417 drivers/scsi/lpfc/lpfc_attr.c struct bin_attribute *bin_attr, bin_attr 6142 drivers/scsi/lpfc/lpfc_attr.c struct bin_attribute *bin_attr, bin_attr 6201 drivers/scsi/lpfc/lpfc_attr.c struct bin_attribute *bin_attr, bin_attr 6265 drivers/scsi/lpfc/lpfc_attr.c struct bin_attribute *bin_attr, bin_attr 6289 drivers/scsi/lpfc/lpfc_attr.c struct bin_attribute *bin_attr, bin_attr 21 drivers/scsi/qla2xxx/qla_attr.c struct bin_attribute *bin_attr, bin_attr 57 drivers/scsi/qla2xxx/qla_attr.c struct bin_attribute *bin_attr, bin_attr 154 drivers/scsi/qla2xxx/qla_attr.c struct bin_attribute *bin_attr, bin_attr 194 drivers/scsi/qla2xxx/qla_attr.c struct bin_attribute *bin_attr, bin_attr 269 drivers/scsi/qla2xxx/qla_attr.c struct bin_attribute *bin_attr, bin_attr 293 drivers/scsi/qla2xxx/qla_attr.c struct bin_attribute *bin_attr, bin_attr 331 drivers/scsi/qla2xxx/qla_attr.c struct bin_attribute *bin_attr, bin_attr 515 drivers/scsi/qla2xxx/qla_attr.c struct bin_attribute *bin_attr, bin_attr 562 drivers/scsi/qla2xxx/qla_attr.c struct bin_attribute *bin_attr, bin_attr 629 drivers/scsi/qla2xxx/qla_attr.c struct bin_attribute *bin_attr, bin_attr 665 drivers/scsi/qla2xxx/qla_attr.c struct bin_attribute *bin_attr, bin_attr 801 drivers/scsi/qla2xxx/qla_attr.c struct bin_attribute *bin_attr, bin_attr 844 drivers/scsi/qla2xxx/qla_attr.c struct bin_attribute *bin_attr, bin_attr 907 drivers/scsi/qla2xxx/qla_attr.c struct bin_attribute *bin_attr, bin_attr 847 drivers/scsi/scsi_sysfs.c struct bin_attribute *bin_attr, \ bin_attr 873 drivers/scsi/scsi_sysfs.c struct bin_attribute *bin_attr, bin_attr 176 drivers/sfi/sfi_acpi.c struct bin_attribute *bin_attr, char *buf, bin_attr 180 drivers/sfi/sfi_acpi.c container_of(bin_attr, struct sfi_table_attr, attr); bin_attr 391 drivers/sfi/sfi_core.c struct bin_attribute *bin_attr, char *buf, bin_attr 395 drivers/sfi/sfi_core.c container_of(bin_attr, struct sfi_table_attr, attr); bin_attr 2216 drivers/video/fbdev/aty/radeon_base.c struct bin_attribute *bin_attr, bin_attr 2228 drivers/video/fbdev/aty/radeon_base.c struct bin_attribute *bin_attr, bin_attr 27 drivers/w1/slaves/w1_ds2406.c struct bin_attribute *bin_attr, bin_attr 64 drivers/w1/slaves/w1_ds2406.c struct bin_attribute *bin_attr, bin_attr 68 drivers/w1/slaves/w1_ds2408.c struct bin_attribute *bin_attr, char *buf, loff_t off, bin_attr 73 drivers/w1/slaves/w1_ds2408.c bin_attr->attr.name, kobj, (unsigned int)off, count, buf); bin_attr 80 drivers/w1/slaves/w1_ds2408.c struct bin_attribute *bin_attr, char *buf, bin_attr 85 drivers/w1/slaves/w1_ds2408.c bin_attr->attr.name, kobj, (unsigned int)off, count, buf); bin_attr 93 drivers/w1/slaves/w1_ds2408.c struct bin_attribute *bin_attr, char *buf, bin_attr 98 drivers/w1/slaves/w1_ds2408.c bin_attr->attr.name, kobj, (unsigned int)off, count, buf); bin_attr 106 drivers/w1/slaves/w1_ds2408.c struct bin_attribute *bin_attr, char *buf, bin_attr 111 drivers/w1/slaves/w1_ds2408.c bin_attr->attr.name, kobj, (unsigned int)off, count, buf); bin_attr 120 drivers/w1/slaves/w1_ds2408.c struct bin_attribute *bin_attr, bin_attr 130 drivers/w1/slaves/w1_ds2408.c struct bin_attribute *bin_attr, char *buf, bin_attr 163 drivers/w1/slaves/w1_ds2408.c struct bin_attribute *bin_attr, char *buf, bin_attr 213 drivers/w1/slaves/w1_ds2408.c struct bin_attribute *bin_attr, char *buf, bin_attr 243 drivers/w1/slaves/w1_ds2408.c struct bin_attribute *bin_attr, char *buf, bin_attr 28 drivers/w1/slaves/w1_ds2413.c struct bin_attribute *bin_attr, char *buf, loff_t off, bin_attr 38 drivers/w1/slaves/w1_ds2413.c bin_attr->attr.name, kobj, (unsigned int)off, count, buf); bin_attr 84 drivers/w1/slaves/w1_ds2413.c struct bin_attribute *bin_attr, char *buf, bin_attr 98 drivers/w1/slaves/w1_ds2431.c struct bin_attribute *bin_attr, char *buf, bin_attr 204 drivers/w1/slaves/w1_ds2431.c struct bin_attribute *bin_attr, char *buf, bin_attr 90 drivers/w1/slaves/w1_ds2433.c struct bin_attribute *bin_attr, char *buf, bin_attr 204 drivers/w1/slaves/w1_ds2433.c struct bin_attribute *bin_attr, char *buf, bin_attr 256 drivers/w1/slaves/w1_ds2438.c struct bin_attribute *bin_attr, char *buf, bin_attr 278 drivers/w1/slaves/w1_ds2438.c struct bin_attribute *bin_attr, char *buf, bin_attr 299 drivers/w1/slaves/w1_ds2438.c struct bin_attribute *bin_attr, char *buf, bin_attr 329 drivers/w1/slaves/w1_ds2438.c struct bin_attribute *bin_attr, char *buf, bin_attr 350 drivers/w1/slaves/w1_ds2438.c struct bin_attribute *bin_attr, char *buf, bin_attr 371 drivers/w1/slaves/w1_ds2438.c struct bin_attribute *bin_attr, char *buf, bin_attr 90 drivers/w1/slaves/w1_ds2780.c struct bin_attribute *bin_attr, char *buf, bin_attr 87 drivers/w1/slaves/w1_ds2781.c struct bin_attribute *bin_attr, char *buf, bin_attr 95 drivers/w1/slaves/w1_ds2805.c struct bin_attribute *bin_attr, bin_attr 203 drivers/w1/slaves/w1_ds2805.c struct bin_attribute *bin_attr, bin_attr 115 drivers/w1/slaves/w1_ds28e04.c struct bin_attribute *bin_attr, char *buf, bin_attr 223 drivers/w1/slaves/w1_ds28e04.c struct bin_attribute *bin_attr, char *buf, bin_attr 279 drivers/w1/slaves/w1_ds28e04.c struct bin_attribute *bin_attr, char *buf, loff_t off, bin_attr 298 drivers/w1/slaves/w1_ds28e04.c struct bin_attribute *bin_attr, char *buf, loff_t off, bin_attr 117 drivers/w1/w1.c struct bin_attribute *bin_attr, char *buf, loff_t off, bin_attr 136 drivers/w1/w1.c struct bin_attribute *bin_attr, char *buf, loff_t off, bin_attr 84 drivers/zorro/zorro-sysfs.c struct bin_attribute *bin_attr, bin_attr 600 fs/configfs/dir.c struct configfs_bin_attribute *bin_attr; bin_attr 613 fs/configfs/dir.c for (i = 0; (bin_attr = t->ct_bin_attrs[i]) != NULL; i++) { bin_attr 614 fs/configfs/dir.c error = configfs_create_bin_file(item, bin_attr); bin_attr 47 fs/configfs/file.c struct configfs_bin_attribute *bin_attr; bin_attr 164 fs/configfs/file.c len = buffer->bin_attr->read(buffer->item, NULL, 0); bin_attr 189 fs/configfs/file.c len = buffer->bin_attr->read(buffer->item, bin_attr 384 fs/configfs/file.c buffer->bin_attr = to_bin_attr(dentry); bin_attr 385 fs/configfs/file.c buffer->cb_max_size = buffer->bin_attr->cb_max_size; bin_attr 411 fs/configfs/file.c if ((type & CONFIGFS_ITEM_BIN_ATTR) && !buffer->bin_attr->write) bin_attr 424 fs/configfs/file.c if ((type & CONFIGFS_ITEM_BIN_ATTR) && !buffer->bin_attr->read) bin_attr 482 fs/configfs/file.c buffer->bin_attr->write(buffer->item, bin_attr 543 fs/configfs/file.c const struct configfs_bin_attribute *bin_attr) bin_attr 547 fs/configfs/file.c umode_t mode = (bin_attr->cb_attr.ca_mode & S_IALLUGO) | S_IFREG; bin_attr 551 fs/configfs/file.c error = configfs_make_dirent(parent_sd, NULL, (void *) bin_attr, mode, bin_attr 23 fs/sysfs/group.c struct bin_attribute *const *bin_attr; bin_attr 29 fs/sysfs/group.c for (bin_attr = grp->bin_attrs; *bin_attr; bin_attr++) bin_attr 30 fs/sysfs/group.c kernfs_remove_by_name(parent, (*bin_attr)->attr.name); bin_attr 38 fs/sysfs/group.c struct bin_attribute *const *bin_attr; bin_attr 75 fs/sysfs/group.c for (i = 0, bin_attr = grp->bin_attrs; *bin_attr; i++, bin_attr++) { bin_attr 76 fs/sysfs/group.c umode_t mode = (*bin_attr)->attr.mode; bin_attr 80 fs/sysfs/group.c (*bin_attr)->attr.name); bin_attr 82 fs/sysfs/group.c mode = grp->is_bin_visible(kobj, *bin_attr, i); bin_attr 89 fs/sysfs/group.c (*bin_attr)->attr.name, mode); bin_attr 93 fs/sysfs/group.c &(*bin_attr)->attr, true, bin_attr 183 include/linux/sysfs.h #define sysfs_bin_attr_init(bin_attr) sysfs_attr_init(&(bin_attr)->attr) bin_attr 17 kernel/bpf/sysfs_btf.c struct bin_attribute *bin_attr, bin_attr 34 kernel/kheaders.c struct bin_attribute *bin_attr, bin_attr 193 kernel/ksysfs.c struct bin_attribute *bin_attr, bin_attr 1615 kernel/module.c struct bin_attribute *bin_attr, bin_attr 1621 kernel/module.c memcpy(buf, bin_attr->private + pos, count); bin_attr 916 net/bridge/br_sysfs_br.c struct bin_attribute *bin_attr,