Home
last modified time | relevance | path

Searched refs:bytes_read (Results 1 – 8 of 8) sorted by relevance

/u-boot/cmd/
A Davb.c44 size_t bytes, bytes_read = 0; in do_avb_read_part() local
61 buffer, &bytes_read) == in do_avb_read_part()
63 printf("Read %zu bytes\n", bytes_read); in do_avb_read_part()
77 size_t bytes, bytes_read = 0; in do_avb_read_part_hex() local
100 &bytes_read) == AVB_IO_RESULT_OK) { in do_avb_read_part_hex()
101 printf("Requested %zu, read %zu bytes\n", bytes, bytes_read); in do_avb_read_part_hex()
103 for (int i = 0; i < bytes_read; i++) in do_avb_read_part_hex()
356 size_t bytes_read; in do_avb_read_pvalue() local
378 &bytes_read) == AVB_IO_RESULT_OK) { in do_avb_read_pvalue()
379 printf("Read %zu bytes, value = %s\n", bytes_read, in do_avb_read_pvalue()
A Doptee_rpmb.c190 size_t bytes_read; in do_optee_rpmb_read() local
206 if (read_persistent_value(name, bytes, buffer, &bytes_read) == 0) { in do_optee_rpmb_read()
207 printf("Read %zu bytes, value = %s\n", bytes_read, in do_optee_rpmb_read()
/u-boot/drivers/scsi/
A Dsandbox_scsi.c51 long bytes_read; in sandbox_scsi_exec() local
56 bytes_read = os_read(priv->fd, req->pdata, info->buff_used); in sandbox_scsi_exec()
57 if (bytes_read < 0) in sandbox_scsi_exec()
58 return bytes_read; in sandbox_scsi_exec()
59 if (bytes_read != info->buff_used) in sandbox_scsi_exec()
/u-boot/drivers/serial/
A Dserial_octeon_pcie_console.c120 int bytes_read; in octeon_pcie_console_read() local
141 bytes_read = 0; in octeon_pcie_console_read()
153 bytes_read += read_size; in octeon_pcie_console_read()
156 if (bytes_read) in octeon_pcie_console_read()
159 return bytes_read; in octeon_pcie_console_read()
/u-boot/fs/jffs2/
A Djffs2_1pass.c180 u32 bytes_read = 0; in read_nand_cached() local
189 while (bytes_read < size) { in read_nand_cached()
223 cpy_bytes = size - bytes_read; in read_nand_cached()
224 memcpy(buf + bytes_read, in read_nand_cached()
227 bytes_read += cpy_bytes; in read_nand_cached()
229 return bytes_read; in read_nand_cached()
292 u32 bytes_read = 0; in read_onenand_cached() local
297 while (bytes_read < size) { in read_onenand_cached()
331 memcpy(buf + bytes_read, in read_onenand_cached()
334 bytes_read += cpy_bytes; in read_onenand_cached()
[all …]
/u-boot/drivers/usb/emul/
A Dsandbox_flash.c276 ulong bytes_read; in sandbox_flash_bulk() local
281 bytes_read = os_read(priv->fd, buff, len); in sandbox_flash_bulk()
282 if (bytes_read != len) in sandbox_flash_bulk()
/u-boot/boot/
A Dbootmeth-uclass.c306 loff_t bytes_read; in alloc_file() local
316 ret = fs_read(fname, addr, 0, size, &bytes_read); in alloc_file()
321 if (size != bytes_read) in alloc_file()
/u-boot/fs/fat/
A Dfat.c279 __u32 bytes_read; in get_cluster() local
287 bytes_read = sect_count * mydata->sect_size; in get_cluster()
289 buffer += bytes_read; in get_cluster()
290 size -= bytes_read; in get_cluster()

Completed in 32 milliseconds