Searched refs:fd_src (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/syscalls/copy_file_range/ |
D | copy_file_range03.c | 17 static int fd_src; variable 37 TEST(sys_copy_file_range(fd_src, &offset, in verify_copy_file_range_timestamp() 55 if (fd_src > 0) in cleanup() 56 SAFE_CLOSE(fd_src); in cleanup() 64 fd_src = SAFE_OPEN(FILE_SRC_PATH, O_RDWR | O_CREAT, 0664); in setup() 65 SAFE_WRITE(1, fd_src, CONTENT, CONTSIZE); in setup() 66 SAFE_CLOSE(fd_src); in setup() 67 fd_src = SAFE_OPEN(FILE_SRC_PATH, O_RDONLY); in setup()
|
D | copy_file_range02.c | 40 static int fd_src; variable 131 TEST(sys_copy_file_range(fd_src, 0, *tc->copy_to_fd, in verify_copy_file_range() 160 if (fd_src > 0) in cleanup() 161 SAFE_CLOSE(fd_src); in cleanup() 201 fd_src = SAFE_OPEN(FILE_SRC_PATH, O_RDWR | O_CREAT, 0664); in setup() 219 SAFE_WRITE(1, fd_src, CONTENT, CONTSIZE); in setup() 220 close(fd_src); in setup() 221 fd_src = SAFE_OPEN(FILE_SRC_PATH, O_RDONLY, 0664); in setup()
|
/external/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl08.c | 34 static int fd_src; variable 55 fd_src = SAFE_OPEN(FILE_SRC_PATH, O_RDWR | O_CREAT, 0664); in verify_ioctl() 58 SAFE_WRITE(1, fd_src, tc->src_fcontents, strlen(tc->src_fcontents)); in verify_ioctl() 68 TEST(ioctl(fd_src, FIDEDUPERANGE, fdr)); in verify_ioctl() 96 SAFE_CLOSE(fd_src); in verify_ioctl() 103 if (fd_src > 0) in cleanup() 104 SAFE_CLOSE(fd_src); in cleanup()
|
/external/llvm-project/lldb/source/Plugins/Platform/POSIX/ |
D | PlatformPOSIX.cpp | 208 user_id_t fd_src = OpenFile(source, File::eOpenOptionRead, in GetFile() local 211 if (fd_src == UINT64_MAX) in GetFile() 235 const uint64_t n_read = ReadFile(fd_src, offset, buffer_sp->GetBytes(), in GetFile() 252 if (fd_src != UINT64_MAX) in GetFile() 253 CloseFile(fd_src, error); in GetFile()
|