Home
last modified time | relevance | path

Searched refs:infd (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_copy_file_range.c29 support_copy_file_range (int infd, __off64_t *pinoff, in support_copy_file_range() argument
41 if (fstat64 (infd, &instat) != 0 || fstat64 (outfd, &outstat) != 0) in support_copy_file_range()
81 read_count = read (infd, buf, to_read); in support_copy_file_range()
83 read_count = pread64 (infd, buf, to_read, *pinoff); in support_copy_file_range()
122 (void) lseek64 (infd, -overread, SEEK_CUR); in support_copy_file_range()
A Dsupport_capture_subprocess.c117 int infd = -1; in copy_and_spawn_sgid() local
125 infd = open ("/proc/self/exe", O_RDONLY); in copy_and_spawn_sgid()
126 if (infd < 0) in copy_and_spawn_sgid()
137 ssize_t rdcount = read (infd, buf, sizeof (buf)); in copy_and_spawn_sgid()
165 TEST_VERIFY (close (infd) == 0); in copy_and_spawn_sgid()
173 infd = outfd = -1; in copy_and_spawn_sgid()
182 if (infd >= 0) in copy_and_spawn_sgid()
183 close (infd); in copy_and_spawn_sgid()

Completed in 8 milliseconds