Searched refs:fd_dest (Results 1 – 3 of 3) sorted by relevance
/external/ltp/testcases/kernel/syscalls/copy_file_range/ |
D | copy_file_range03.c | 18 static int fd_dest; variable 33 timestamp = get_timestamp(fd_dest); in verify_copy_file_range_timestamp() 38 fd_dest, 0, CONTSIZE, 0)); in verify_copy_file_range_timestamp() 43 updated_timestamp = get_timestamp(fd_dest); in verify_copy_file_range_timestamp() 53 if (fd_dest > 0) in cleanup() 54 SAFE_CLOSE(fd_dest); in cleanup() 63 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}, 158 if (fd_dest > 0) in cleanup() 159 SAFE_CLOSE(fd_dest); in cleanup() 202 fd_dest = SAFE_OPEN(FILE_DEST_PATH, O_RDWR | O_CREAT, 0664); in setup()
|
/external/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()
|