Lines Matching refs:reg_in
74 int reg_in = open(fname, O_RDWR | O_CREAT | O_TRUNC, 0600); in main() local
75 if (reg_in < 0) in main()
79 if (ftruncate(reg_in, file_size)) in main()
89 assert(syscall(__NR_sendfile64, sv[1], reg_in, NULL, alen) in main()
92 sv[1], reg_in, alen, alen); in main()
94 assert(syscall(__NR_sendfile64, sv[1], reg_in, p_off, alen) in main()
97 sv[1], reg_in, alen, alen, alen); in main()
99 assert(syscall(__NR_sendfile64, sv[1], reg_in, p_off, file_size + 1) in main()
102 sv[1], reg_in, alen, file_size, file_size + 1, blen); in main()
105 assert(syscall(__NR_sendfile64, sv[1], reg_in, p_off, 1) == -1); in main()
107 " = -1 EINVAL (%m)\n", sv[1], reg_in); in main()
110 assert(syscall(__NR_sendfile64, sv[1], reg_in, p_off, 1) == 0); in main()
111 printf("sendfile64(%d, %d, [4207869677], 1) = 0\n", sv[1], reg_in); in main()