Lines Matching refs:got
67 int got, total = 0; in full_read() local
71 got = read(fd, buf, count); in full_read()
72 if (got == -1) { in full_read()
77 if (got == 0) { in full_read()
83 buf += got; in full_read()
84 total += got; in full_read()
85 count -= got; in full_read()
94 ssize_t got, got2; in copy_sparse_file() local
167 got = full_read(fd, buf, bs); in copy_sparse_file()
169 if (fd == 0 && got == 0) in copy_sparse_file()
172 if (got == bs) { in copy_sparse_file()
182 got2 = write(ofd, buf, got); in copy_sparse_file()
183 if (got != got2) { in copy_sparse_file()
187 offset += got; in copy_sparse_file()