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_sendfile, sv[1], reg_in, NULL, alen) in main()
92 sv[1], reg_in, alen, alen); in main()
95 if (syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) != (long) alen) { in main()
97 sv[1], reg_in, (unsigned long) p_off, alen); in main()
100 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, alen) in main()
104 sv[1], reg_in, alen, alen, alen); in main()
106 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, file_size + 1) in main()
109 sv[1], reg_in, alen, file_size, file_size + 1, blen); in main()
114 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off64, 1) == -1); in main()
116 " = -1 EINVAL (%m)\n", sv[1], reg_in); in main()
121 assert(syscall(__NR_sendfile, sv[1], reg_in, p_off, 1) == 0); in main()
123 sv[1], reg_in); in main()