/openbmc/u-boot/drivers/fpga/ |
H A D | lattice.c | 20 static unsigned long read_bytes; variable 157 if (read_bytes == bufsize) { in GetByte() 161 read_bytes++; in GetByte() 163 if (!(read_bytes % block_size)) { in GetByte() 165 read_bytes, in GetByte() 299 read_bytes = 0; in lattice_load()
|
/openbmc/linux/include/linux/ |
H A D | task_io_accounting_ops.h | 13 current->ioac.read_bytes += bytes; in task_io_account_read() 22 return p->ioac.read_bytes >> 9; in task_io_get_inblock() 52 dst->read_bytes += src->read_bytes; in task_blk_io_accounting_add()
|
H A D | task_io_accounting.h | 29 u64 read_bytes; member
|
/openbmc/linux/drivers/char/tpm/ |
H A D | tpm_tis_core.h | 129 int (*read_bytes)(struct tpm_tis_data *data, u32 addr, u16 len, member 140 return data->phy_ops->read_bytes(data, addr, len, result, in tpm_tis_read_bytes() 146 return data->phy_ops->read_bytes(data, addr, 1, result, TPM_TIS_PHYS_8); in tpm_tis_read8() 155 rc = data->phy_ops->read_bytes(data, addr, sizeof(u16), in tpm_tis_read16() 169 rc = data->phy_ops->read_bytes(data, addr, sizeof(u32), in tpm_tis_read32()
|
/openbmc/openbmc/meta-google/recipes-google/ipmi/ipmi-fru-sh/ |
H A D | lib.sh | 169 read_bytes() { function 212 header_arr=($(read_bytes "$eeprom" 0 8)) || return 231 area_arr=($(read_bytes "$eeprom" "$offset" 8)) || return 239 area_arr=($(read_bytes "$eeprom" "$offset" $((area_size*8)))) || return
|
/openbmc/linux/drivers/media/usb/as102/ |
H A D | as102_fw.c | 105 int read_bytes = 0, data_len = 0; in as102_firmware_upload() local 108 read_bytes = parse_hex_line( in as102_firmware_upload() 115 if (read_bytes <= 0) in as102_firmware_upload() 119 total_read_bytes += read_bytes; in as102_firmware_upload()
|
/openbmc/qemu/hw/sd/ |
H A D | ssi-sd.c | 62 int32_t read_bytes; member 280 s->read_bytes++; in OBJECT_DECLARE_SIMPLE_TYPE() 282 if (!sdbus_data_ready(&s->sdbus) || s->read_bytes == 512) { in OBJECT_DECLARE_SIMPLE_TYPE() 293 if (s->read_bytes == 512 && s->cmd != 17) { in OBJECT_DECLARE_SIMPLE_TYPE() 298 s->read_bytes = 0; in OBJECT_DECLARE_SIMPLE_TYPE() 359 VMSTATE_INT32(read_bytes, ssi_sd_state), 385 s->read_bytes = 0; in ssi_sd_reset()
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | fsl_elbc_nand.c | 67 unsigned int read_bytes; /* Number of bytes read during command */ member 289 ctrl->read_bytes = 0; in fsl_elbc_cmdfunc() 306 ctrl->read_bytes = mtd->writesize + mtd->oobsize; in fsl_elbc_cmdfunc() 321 ctrl->read_bytes = mtd->writesize + mtd->oobsize; in fsl_elbc_cmdfunc() 342 ctrl->read_bytes = 256; in fsl_elbc_cmdfunc() 370 ctrl->read_bytes = 0; in fsl_elbc_cmdfunc() 455 ctrl->read_bytes = 1; in fsl_elbc_cmdfunc() 533 if (ctrl->index < ctrl->read_bytes) in fsl_elbc_read_byte() 553 avail = min((unsigned int)len, ctrl->read_bytes - ctrl->index); in fsl_elbc_read_buf() 583 ctrl->read_bytes = 1; in fsl_elbc_wait() [all …]
|
H A D | fsl_ifc_nand.c | 51 unsigned int read_bytes; /* Number of bytes read during command */ member 376 ctrl->read_bytes = 0; in fsl_ifc_cmdfunc() 386 ctrl->read_bytes = mtd->writesize + mtd->oobsize; in fsl_ifc_cmdfunc() 402 ctrl->read_bytes = mtd->writesize + mtd->oobsize; in fsl_ifc_cmdfunc() 429 ctrl->read_bytes = 256; in fsl_ifc_cmdfunc() 453 ctrl->read_bytes = 0; in fsl_ifc_cmdfunc() 539 ctrl->read_bytes = 1; in fsl_ifc_cmdfunc() 610 if (ctrl->index < ctrl->read_bytes) { in fsl_ifc_read_byte() 634 if (ctrl->index < ctrl->read_bytes) { in fsl_ifc_read_byte16() 657 avail = min((unsigned int)len, ctrl->read_bytes - ctrl->index); in fsl_ifc_read_buf() [all …]
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | hugepage-mmap.c | 51 static int read_bytes(char *addr) in read_bytes() function 85 ret = read_bytes(addr); in main()
|
H A D | map_hugetlb.c | 45 static int read_bytes(char *addr, size_t length) in read_bytes() function 95 ret = read_bytes(addr, length); in main()
|
H A D | hugepage-mremap.c | 48 static int read_bytes(char *addr, size_t len) in read_bytes() function 172 ret = read_bytes(addr, length); in main()
|
/openbmc/qemu/backends/ |
H A D | spdm-socket.c | 17 static bool read_bytes(const int socket, uint8_t *buffer, in read_bytes() function 38 result = read_bytes(socket, (uint8_t *)data, sizeof(uint32_t)); in read_data32() 70 return read_bytes(socket, buffer, length); in read_multiple_bytes()
|
/openbmc/qemu/chardev/ |
H A D | char-pty.c | 41 int read_bytes; member 148 s->read_bytes = qemu_chr_be_can_write(chr); in pty_chr_read_poll() 149 return s->read_bytes; in pty_chr_read_poll() 161 if (len > s->read_bytes) { in pty_chr_read() 162 len = s->read_bytes; in pty_chr_read()
|
H A D | spice.c | 186 int read_bytes; in spice_chr_write() local 198 read_bytes = len - s->datalen; in spice_chr_write() 199 if (read_bytes != len) { in spice_chr_write() 205 return read_bytes; in spice_chr_write()
|
/openbmc/u-boot/drivers/tpm/ |
H A D | tpm2_tis_core.c | 43 phy_ops->read_bytes(dev, TPM_ACCESS(loc), 1, &locality); in tpm_tis_check_locality() 100 phy_ops->read_bytes(dev, TPM_STS(chip->locality), 1, status); in tpm_tis_status() 320 ret = phy_ops->read_bytes(dev, TPM_DATA_FIFO(chip->locality), in tpm_tis_recv_data() 418 if (!phy_ops || !phy_ops->read_bytes || !phy_ops->write_bytes || in tis_check_ops() 453 phy_ops->read_bytes(dev, TPM_RID(chip->locality), 1, &chip->rid); in tpm_tis_init()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | fsl_ifc_nand.c | 47 unsigned int read_bytes;/* Number of bytes read during command */ member 299 ifc_nand_ctrl->read_bytes = 0; in fsl_ifc_cmdfunc() 309 ifc_nand_ctrl->read_bytes = mtd->writesize + mtd->oobsize; in fsl_ifc_cmdfunc() 324 ifc_nand_ctrl->read_bytes = mtd->writesize + mtd->oobsize; in fsl_ifc_cmdfunc() 353 ifc_nand_ctrl->read_bytes = len; in fsl_ifc_cmdfunc() 377 ifc_nand_ctrl->read_bytes = 0; in fsl_ifc_cmdfunc() 469 ifc_nand_ctrl->read_bytes = 1; in fsl_ifc_cmdfunc() 544 if (ifc_nand_ctrl->index < ifc_nand_ctrl->read_bytes) { in fsl_ifc_read_byte() 566 if (ifc_nand_ctrl->index < ifc_nand_ctrl->read_bytes) { in fsl_ifc_read_byte16() 590 ifc_nand_ctrl->read_bytes - ifc_nand_ctrl->index); in fsl_ifc_read_buf() [all …]
|
H A D | fsl_elbc_nand.c | 55 unsigned int read_bytes; /* Number of bytes read during command */ member 251 if (elbc_fcm_ctrl->read_bytes == mtd->writesize + mtd->oobsize) { in fsl_elbc_run_command() 318 elbc_fcm_ctrl->read_bytes = 0; in fsl_elbc_cmdfunc() 336 elbc_fcm_ctrl->read_bytes = mtd->writesize + mtd->oobsize; in fsl_elbc_cmdfunc() 361 elbc_fcm_ctrl->read_bytes = mtd->writesize + mtd->oobsize; in fsl_elbc_cmdfunc() 380 elbc_fcm_ctrl->read_bytes = 256; in fsl_elbc_cmdfunc() 412 elbc_fcm_ctrl->read_bytes = 0; in fsl_elbc_cmdfunc() 505 elbc_fcm_ctrl->read_bytes = 1; in fsl_elbc_cmdfunc() 584 if (elbc_fcm_ctrl->index < elbc_fcm_ctrl->read_bytes) in fsl_elbc_read_byte() 604 elbc_fcm_ctrl->read_bytes - elbc_fcm_ctrl->index); in fsl_elbc_read_buf()
|
H A D | sh_flctl.c | 748 flctl->read_bytes = 0; in flctl_cmdfunc() 768 flctl->read_bytes = mtd->writesize + mtd->oobsize; in flctl_cmdfunc() 789 flctl->read_bytes = mtd->oobsize; in flctl_cmdfunc() 804 flctl->read_bytes = mtd->writesize + mtd->oobsize - column; in flctl_cmdfunc() 815 flctl->read_bytes = 8; in flctl_cmdfunc() 816 writel(flctl->read_bytes, FLDTCNTR(flctl)); /* set read size */ in flctl_cmdfunc() 819 read_fiforeg(flctl, flctl->read_bytes, 0); in flctl_cmdfunc() 885 flctl->read_bytes = 1; in flctl_cmdfunc() 886 writel(flctl->read_bytes, FLDTCNTR(flctl)); /* set read size */ in flctl_cmdfunc() 906 writel(flctl->read_bytes, FLDTCNTR(flctl)); /* set read size */ in flctl_cmdfunc() [all …]
|
/openbmc/openbmc/poky/meta/recipes-multimedia/libsndfile/libsndfile1/ |
H A D | cve-2022-33065.patch | 373 + int read_bytes = 0 ; 381 + read_bytes = 0 ; 390 + read_bytes = header_read (psf, ucptr, sizeof (int)) ; 399 + read_bytes = header_read (psf, sixteen_bytes, sizeof (sixteen_bytes)) ; 408 + read_bytes = header_read (psf, charptr, sizeof (char)) ; 416 + read_bytes = header_read (psf, ucptr, sizeof (short)) ; 425 + read_bytes = header_read (psf, sixteen_bytes, 3) ; 434 + read_bytes = header_read (psf, ucptr, sizeof (int)) ; 443 + read_bytes = header_read (psf, sixteen_bytes, 8) ; 452 + read_bytes = header_read (psf, floatptr, sizeof (float)) ; [all …]
|
/openbmc/linux/kernel/ |
H A D | tsacct.c | 112 stats->read_bytes = p->ioac.read_bytes & KB_MASK; in xacct_add_tsk() 116 stats->read_bytes = 0; in xacct_add_tsk()
|
/openbmc/linux/drivers/target/ |
H A D | target_core_configfs.c | 110 ssize_t read_bytes; in target_core_item_dbroot_store() local 126 read_bytes = snprintf(db_root_stage, DB_ROOT_LEN, "%s", page); in target_core_item_dbroot_store() 127 if (!read_bytes) in target_core_item_dbroot_store() 130 if (db_root_stage[read_bytes - 1] == '\n') in target_core_item_dbroot_store() 131 db_root_stage[read_bytes - 1] = '\0'; in target_core_item_dbroot_store() 146 strncpy(db_root, db_root_stage, read_bytes); in target_core_item_dbroot_store() 149 r = read_bytes; in target_core_item_dbroot_store() 2245 ssize_t read_bytes = 0; in target_dev_info_show() local 2248 read_bytes += bl; in target_dev_info_show() 2249 read_bytes += dev->transport->show_configfs_dev_params(dev, in target_dev_info_show() [all …]
|
/openbmc/linux/tools/perf/tests/ |
H A D | code-reading.c | 136 size_t off, read_bytes, written_bytes; in read_objdump_output() local 149 read_bytes = read_objdump_line(line, tmp, sizeof(tmp)); in read_objdump_output() 150 if (!read_bytes) in read_objdump_output() 166 written_bytes = MIN(read_bytes, *len - off); in read_objdump_output()
|
/openbmc/qemu/util/ |
H A D | vhost-user-server.c | 117 int rc, read_bytes = 0; in vu_message_read() local 175 read_bytes += rc; in vu_message_read() 176 } while (read_bytes != VHOST_USER_HDR_SIZE); in vu_message_read()
|
/openbmc/openbmc/poky/meta/classes/ |
H A D | toaster.bbclass | 222 if "IO read_bytes" in statinfo: 223 read_bytes = int(statinfo["IO read_bytes"].strip('% \n\r')) 224 disk_io_read = disk_io_read + read_bytes
|