Lines Matching refs:__NR_sendfile
32 #ifdef __NR_sendfile
55 assert(syscall(__NR_sendfile, 0, 1, NULL, page_size) == -1);
86 assert(syscall(__NR_sendfile, 0, 1, p, page_size) == -1);
89 assert(syscall(__NR_sendfile, sv[1], reg_in, NULL, alen)
95 if (syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) != (long) alen) {
100 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, alen)
106 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, file_size + 1)
114 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off64, 1) == -1);
121 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, 1) == 0);
131 SKIP_MAIN_UNDEFINED("__NR_sendfile")