Lines Matching full:transferred
159 ssize_t cur, total, transferred; in child_vmsplice_memcmp_fn() local
174 transferred = vmsplice(fds[1], &iov, 1, 0); in child_vmsplice_memcmp_fn()
175 if (transferred < 0) in child_vmsplice_memcmp_fn()
177 if (transferred == 0) in child_vmsplice_memcmp_fn()
190 for (total = 0; total < transferred; total += cur) { in child_vmsplice_memcmp_fn()
191 cur = read(fds[0], new + total, transferred - total); in child_vmsplice_memcmp_fn()
196 return memcmp(old, new, transferred); in child_vmsplice_memcmp_fn()
296 ssize_t cur, total, transferred; in do_test_vmsplice_in_parent() local
319 transferred = vmsplice(fds[1], &iov, 1, 0); in do_test_vmsplice_in_parent()
320 if (transferred <= 0) { in do_test_vmsplice_in_parent()
340 transferred = vmsplice(fds[1], &iov, 1, 0); in do_test_vmsplice_in_parent()
341 if (transferred <= 0) { in do_test_vmsplice_in_parent()
364 for (total = 0; total < transferred; total += cur) { in do_test_vmsplice_in_parent()
365 cur = read(fds[0], new + total, transferred - total); in do_test_vmsplice_in_parent()
372 if (!memcmp(old, new, transferred)) { in do_test_vmsplice_in_parent()