Searched refs:outfd (Results 1 – 6 of 6) sorted by relevance
/glibc-2.36/io/ |
D | tst-copy_file_range.c | 43 static int outfd; variable 89 xlseek (outfd, 4, SEEK_SET); in simple_file_copy() 95 xlseek (outfd, 6, SEEK_SET); in simple_file_copy() 102 TEST_COMPARE (copy_file_range (infd, pinoff, outfd, poutoff, in simple_file_copy() 114 TEST_COMPARE (xlseek (outfd, 0, SEEK_CUR), 4); in simple_file_copy() 117 TEST_COMPARE (xlseek (outfd, 0, SEEK_CUR), 6 + length); in simple_file_copy() 120 xfstat (outfd, &st); in simple_file_copy() 131 xlseek (outfd, 0, SEEK_SET); in simple_file_copy() 133 TEST_COMPARE (read (outfd, bytes, st.st_size), st.st_size); in simple_file_copy() 169 ftruncate (outfd, 0); in short_copy() [all …]
|
D | copy_file_range.c | 24 int outfd, __off64_t *poutoff, in copy_file_range() argument
|
/glibc-2.36/support/ |
D | support_capture_subprocess.c | 118 int outfd = -1; in copy_and_spawn_sgid() local 129 outfd = open (execname, O_WRONLY | O_CREAT | O_EXCL, 0700); in copy_and_spawn_sgid() 130 TEST_VERIFY (outfd >= 0); in copy_and_spawn_sgid() 147 ssize_t wrcount = write (outfd, buf, end - p); in copy_and_spawn_sgid() 156 TEST_VERIFY (fchown (outfd, getuid (), gid) == 0); in copy_and_spawn_sgid() 159 TEST_VERIFY (fchmod (outfd, 02750) == 0); in copy_and_spawn_sgid() 162 TEST_VERIFY (close (outfd) == 0); in copy_and_spawn_sgid() 173 infd = outfd = -1; in copy_and_spawn_sgid() 180 if (outfd >= 0) in copy_and_spawn_sgid() 181 close (outfd); in copy_and_spawn_sgid()
|
D | support_copy_file_range.c | 30 int outfd, __off64_t *poutoff, in support_copy_file_range() argument 41 if (fstat64 (infd, &instat) != 0 || fstat64 (outfd, &outstat) != 0) in support_copy_file_range() 57 if (fcntl (outfd, F_GETFL) & O_APPEND) in support_copy_file_range() 103 write_count = write (outfd, p, end - p); in support_copy_file_range() 105 write_count = pwrite64 (outfd, p, end - p, *poutoff); in support_copy_file_range()
|
D | xcopy_file_range.c | 24 xcopy_file_range (int infd, off64_t *pinoff, int outfd, off64_t *poutoff, in xcopy_file_range() argument 27 ssize_t status = support_copy_file_range (infd, pinoff, outfd, in xcopy_file_range()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | copy_file_range.c | 25 int outfd, __off64_t *poutoff, in copy_file_range() argument 28 return SYSCALL_CANCEL (copy_file_range, infd, pinoff, outfd, poutoff, in copy_file_range()
|