Home
last modified time | relevance | path

Searched refs:read_bytes (Results 1 – 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/
Dtask_io_accounting_ops.h13 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()
Dtask_io_accounting.h29 u64 read_bytes; member
/kernel/linux/linux-5.10/drivers/media/usb/as102/
Das102_fw.c105 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()
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dhugepage-mmap.c52 static int read_bytes(char *addr) in read_bytes() function
86 ret = read_bytes(addr); in main()
Dmap_hugetlb.c56 static int read_bytes(char *addr, size_t length) in read_bytes() function
100 ret = read_bytes(addr, length); in main()
/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm_tis_core.h108 int (*read_bytes)(struct tpm_tis_data *data, u32 addr, u16 len, member
120 return data->phy_ops->read_bytes(data, addr, len, result); in tpm_tis_read_bytes()
125 return data->phy_ops->read_bytes(data, addr, 1, result); in tpm_tis_read8()
Dtpm_tis_spi_main.c160 rc = data->phy_ops->read_bytes(data, addr, sizeof(u16), in tpm_tis_spi_read16()
173 rc = data->phy_ops->read_bytes(data, addr, sizeof(u32), in tpm_tis_spi_read32()
206 .read_bytes = tpm_tis_spi_read_bytes,
Dtpm_tis_synquacer.c109 .read_bytes = tpm_tis_synquacer_read_bytes,
Dtpm_tis_spi_cr50.c221 .read_bytes = tpm_tis_spi_cr50_read_bytes,
Dtpm_tis.c206 .read_bytes = tpm_tcg_read_bytes,
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dfsl_ifc_nand.c47 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 …]
Dfsl_elbc_nand.c56 unsigned int read_bytes; /* Number of bytes read during command */ member
252 if (elbc_fcm_ctrl->read_bytes == mtd->writesize + mtd->oobsize) { in fsl_elbc_run_command()
319 elbc_fcm_ctrl->read_bytes = 0; in fsl_elbc_cmdfunc()
337 elbc_fcm_ctrl->read_bytes = mtd->writesize + mtd->oobsize; in fsl_elbc_cmdfunc()
362 elbc_fcm_ctrl->read_bytes = mtd->writesize + mtd->oobsize; in fsl_elbc_cmdfunc()
381 elbc_fcm_ctrl->read_bytes = 256; in fsl_elbc_cmdfunc()
413 elbc_fcm_ctrl->read_bytes = 0; in fsl_elbc_cmdfunc()
506 elbc_fcm_ctrl->read_bytes = 1; in fsl_elbc_cmdfunc()
585 if (elbc_fcm_ctrl->index < elbc_fcm_ctrl->read_bytes) in fsl_elbc_read_byte()
605 elbc_fcm_ctrl->read_bytes - elbc_fcm_ctrl->index); in fsl_elbc_read_buf()
Dsh_flctl.c749 flctl->read_bytes = 0; in flctl_cmdfunc()
769 flctl->read_bytes = mtd->writesize + mtd->oobsize; in flctl_cmdfunc()
790 flctl->read_bytes = mtd->oobsize; in flctl_cmdfunc()
805 flctl->read_bytes = mtd->writesize + mtd->oobsize - column; in flctl_cmdfunc()
816 flctl->read_bytes = 8; in flctl_cmdfunc()
817 writel(flctl->read_bytes, FLDTCNTR(flctl)); /* set read size */ in flctl_cmdfunc()
820 read_fiforeg(flctl, flctl->read_bytes, 0); in flctl_cmdfunc()
886 flctl->read_bytes = 1; in flctl_cmdfunc()
887 writel(flctl->read_bytes, FLDTCNTR(flctl)); /* set read size */ in flctl_cmdfunc()
907 writel(flctl->read_bytes, FLDTCNTR(flctl)); /* set read size */ in flctl_cmdfunc()
[all …]
/kernel/linux/linux-5.10/kernel/
Dtsacct.c106 stats->read_bytes = p->ioac.read_bytes & KB_MASK; in xacct_add_tsk()
110 stats->read_bytes = 0; in xacct_add_tsk()
/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_configfs.c106 ssize_t read_bytes; in target_core_item_dbroot_store() local
123 read_bytes = snprintf(db_root_stage, DB_ROOT_LEN, "%s", page); in target_core_item_dbroot_store()
124 if (!read_bytes) { in target_core_item_dbroot_store()
128 if (db_root_stage[read_bytes - 1] == '\n') in target_core_item_dbroot_store()
129 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()
152 return read_bytes; in target_core_item_dbroot_store()
2141 ssize_t read_bytes = 0; in target_dev_info_show() local
2144 read_bytes += bl; in target_dev_info_show()
2145 read_bytes += dev->transport->show_configfs_dev_params(dev, in target_dev_info_show()
[all …]
/kernel/linux/linux-5.10/tools/perf/tests/
Dcode-reading.c144 size_t off, read_bytes, written_bytes; in read_objdump_output() local
157 read_bytes = read_objdump_line(line, tmp, sizeof(tmp)); in read_objdump_output()
158 if (!read_bytes) in read_objdump_output()
174 written_bytes = MIN(read_bytes, *len - off); in read_objdump_output()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dtaskstats.h69 __u64 read_bytes; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dtaskstats.h59 __u64 read_bytes; member
/kernel/linux/linux-5.10/include/uapi/linux/
Dtaskstats.h153 __u64 read_bytes; /* bytes of read I/O */ member
/kernel/linux/linux-5.10/include/linux/mtd/
Dsh_flctl.h141 int read_bytes; member
/kernel/linux/linux-5.10/drivers/spi/
Dspi-tegra114.c369 unsigned int read_bytes; in tegra_spi_read_rx_fifo_to_client_rxbuf() local
374 read_bytes = len; in tegra_spi_read_rx_fifo_to_client_rxbuf()
382 tspi->cur_rx_pos += read_bytes; in tegra_spi_read_rx_fifo_to_client_rxbuf()
445 unsigned int read_bytes; in tegra_spi_copy_spi_rxbuf_to_client_rxbuf() local
449 read_bytes = consume; in tegra_spi_copy_spi_rxbuf_to_client_rxbuf()
458 tspi->cur_rx_pos += read_bytes; in tegra_spi_copy_spi_rxbuf_to_client_rxbuf()
/kernel/linux/linux-5.10/drivers/infiniband/hw/efa/
Defa_com_cmd.h252 u64 read_bytes; member
/kernel/linux/linux-5.10/include/target/
Dtarget_core_base.h654 atomic_long_t read_bytes; member
788 atomic_long_t read_bytes; member
/kernel/linux/linux-5.10/drivers/tty/ipwireless/
Dhardware.c48 unsigned long read_bytes; member
61 timing_stats.read_bytes += length + 2; in end_read_timing()
85 timing_stats.read_bytes, in report_timing()
92 timing_stats.read_bytes = 0; in report_timing()
/kernel/linux/linux-5.10/drivers/staging/media/tegra-vde/
Dvde.c707 unsigned int read_bytes; in tegra_vde_ioctl_decode_h264() local
820 read_bytes = bsev_ptr ? bsev_ptr - bitstream_data_addr : 0; in tegra_vde_ioctl_decode_h264()
823 read_bytes, macroblocks_nb); in tegra_vde_ioctl_decode_h264()

12