Lines Matching refs:fd1
25 static int fd1; variable
40 int *fd1; member
44 {&pid1, &pid_unused, KCMP_FILE, &fd1, &fd2, ESRCH},
45 {&pid1, &pid1, KCMP_TYPES + 1, &fd1, &fd2, EINVAL},
46 {&pid1, &pid1, -1, &fd1, &fd2, EINVAL},
47 {&pid1, &pid1, INT_MIN, &fd1, &fd2, EINVAL},
48 {&pid1, &pid1, INT_MAX, &fd1, &fd2, EINVAL},
49 {&pid1, &pid1, KCMP_FILE, &fd1, &fd_fake, EBADF}
57 fd1 = SAFE_OPEN(TEST_FILE, O_CREAT | O_RDWR | O_TRUNC, 0644); in setup()
63 if (fd1 > 0) in cleanup()
64 SAFE_CLOSE(fd1); in cleanup()
75 *(test->fd1), *(test->fd2))); in verify_kcmp()