Searched refs:bytes_read (Results 1 - 9 of 9) sorted by relevance

/u-boot/drivers/scsi/
H A Dsandbox_scsi.c51 long bytes_read; local
56 bytes_read = os_read(priv->fd, req->pdata, info->buff_used);
57 if (bytes_read < 0)
58 return bytes_read;
59 if (bytes_read != info->buff_used)
/u-boot/cmd/
H A Davb.c45 size_t bytes, bytes_read = 0; local
63 bytes, buffer, &bytes_read);
65 printf("Read %zu bytes\n", bytes_read);
80 size_t bytes, bytes_read = 0; local
104 bytes, buffer, &bytes_read);
106 printf("Requested %zu, read %zu bytes\n", bytes, bytes_read);
108 for (int i = 0; i < bytes_read; i++)
360 size_t bytes_read; local
383 buffer, &bytes_read);
385 printf("Read %zu bytes, value = %s\n", bytes_read,
[all...]
H A Doptee_rpmb.c201 size_t bytes_read; local
217 if (read_persistent_value(name, bytes, buffer, &bytes_read) == 0) {
218 printf("Read %zu bytes, value = %s\n", bytes_read,
/u-boot/drivers/serial/
H A Dserial_octeon_pcie_console.c120 int bytes_read; local
141 bytes_read = 0;
153 bytes_read += read_size;
156 if (bytes_read)
159 return bytes_read;
/u-boot/fs/jffs2/
H A Djffs2_1pass.c180 u32 bytes_read = 0; local
189 while (bytes_read < size) {
194 if ((off + bytes_read < nand_cache_off) ||
195 (off + bytes_read >= nand_cache_off + retlen)) {
196 nand_cache_off = (off + bytes_read) & NAND_PAGE_MASK;
221 cpy_bytes = nand_cache_off + retlen - (off + bytes_read);
222 if (cpy_bytes > size - bytes_read)
223 cpy_bytes = size - bytes_read;
224 memcpy(buf + bytes_read,
225 nand_cache + off + bytes_read
292 u32 bytes_read = 0; local
[all...]
/u-boot/drivers/usb/emul/
H A Dsandbox_flash.c276 ulong bytes_read; local
281 bytes_read = os_read(priv->fd, buff, len);
282 if (bytes_read != len)
/u-boot/boot/
H A Dbootmeth_efi.c115 loff_t bytes_read; local
124 ret = fs_read(bflow->fname, addr, 0, bflow->size, &bytes_read);
/u-boot/fs/fat/
H A Dfat.c284 __u32 bytes_read; local
292 bytes_read = sect_count * mydata->sect_size;
294 buffer += bytes_read;
295 size -= bytes_read;
/u-boot/fs/
H A Dfs.c999 loff_t bytes_read; local
1009 ret = fs_read(fname, addr, 0, size, &bytes_read);
1014 if (size != bytes_read)

Completed in 83 milliseconds