Home
last modified time | relevance | path

Searched refs:outfd (Results 1 – 3 of 3) sorted by relevance

/support/
A Dxcopy_file_range.c24 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()
A Dsupport_capture_subprocess.c118 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()
A Dsupport_copy_file_range.c30 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()

Completed in 7 milliseconds