Home | History | Annotate | Download | only in qemu

Lines Matching refs:nbytes

84 int fread_targphys(target_phys_addr_t dst_addr, size_t nbytes, FILE *f)
90 while (nbytes) {
91 want = nbytes > sizeof(buf) ? sizeof(buf) : nbytes;
96 nbytes -= did;
104 int fread_targphys_ok(target_phys_addr_t dst_addr, size_t nbytes, FILE *f)
106 return fread_targphys(dst_addr, nbytes, f) == nbytes;
110 int read_targphys(int fd, target_phys_addr_t dst_addr, size_t nbytes)
116 while (nbytes) {
117 want = nbytes > sizeof(buf) ? sizeof(buf) : nbytes;
123 nbytes -= did;