Searched refs:actsize (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/fs/fat/ |
H A D | fat.c | 316 loff_t actsize; in get_contents() local 331 actsize = bytesperclust; in get_contents() 334 while (actsize <= pos) { in get_contents() 341 actsize += bytesperclust; in get_contents() 345 actsize -= bytesperclust; in get_contents() 346 filesize -= actsize; in get_contents() 347 pos -= actsize; in get_contents() 353 actsize = min(filesize, (loff_t)bytesperclust); in get_contents() 354 tmp_buffer = malloc_cache_aligned(actsize); in get_contents() 360 if (get_cluster(mydata, curclust, tmp_buffer, actsize) != 0) { in get_contents() [all …]
|
H A D | fat_write.c | 703 loff_t offset, actsize, wsize; in set_contents() local 762 actsize = bytesperclust; in set_contents() 765 if (filesize <= (cur_pos + actsize)) in set_contents() 778 actsize += bytesperclust; in set_contents() 787 wsize = min(cur_pos + actsize, filesize) - pos; in set_contents() 789 buffer, wsize, &actsize)) { in set_contents() 860 actsize = bytesperclust; in set_contents() 864 while (actsize < filesize) { in set_contents() 877 actsize += bytesperclust; in set_contents() 881 actsize = filesize; in set_contents() [all …]
|
/openbmc/qemu/hw/core/ |
H A D | loader.c | 88 ssize_t actsize, l = 0; in load_image_size() local 95 while ((actsize = read(fd, addr + l, size - l)) > 0) { in load_image_size() 96 l += actsize; in load_image_size() 101 return actsize < 0 ? -1 : l; in load_image_size()
|