Searched refs:fd_dest (Results 1 – 3 of 3) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/copy_file_range/ |
D | copy_file_range03.c | 19 static int fd_dest; variable 35 timestamp1 = get_timestamp(fd_dest); in verify_copy_file_range_timestamp() 40 fd_dest, 0, CONTSIZE, 0)); in verify_copy_file_range_timestamp() 45 timestamp2 = get_timestamp(fd_dest); in verify_copy_file_range_timestamp() 57 if (fd_dest > 0) in cleanup() 58 SAFE_CLOSE(fd_dest); in cleanup() 67 fd_dest = SAFE_OPEN(FILE_DEST_PATH, O_RDWR | O_CREAT, 0664); in setup()
|
D | copy_file_range02.c | 41 static int fd_dest; variable 73 {&fd_dest, -1, EINVAL, CONTSIZE, "invalid flags", 0}, 162 if (fd_dest > 0) in cleanup() 163 SAFE_CLOSE(fd_dest); in cleanup() 206 fd_dest = SAFE_OPEN(FILE_DEST_PATH, O_RDWR | O_CREAT, 0664); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl08.c | 35 static int fd_dest; variable 56 fd_dest = SAFE_OPEN(FILE_DEST_PATH, O_RDWR | O_CREAT, 0664); in verify_ioctl() 59 SAFE_WRITE(1, fd_dest, tc->dest_fcontents, strlen(tc->dest_fcontents)); in verify_ioctl() 66 fdr->info[0].dest_fd = fd_dest; in verify_ioctl() 95 SAFE_CLOSE(fd_dest); in verify_ioctl() 101 if (fd_dest > 0) in cleanup() 102 SAFE_CLOSE(fd_dest); in cleanup()
|