Lines Matching refs:fd1
36 static int fd1; variable
46 int *fd1; member
50 {&pid1, &pid1, KCMP_FILE, &fd1, &fd1, 0},
51 {&pid2, &pid2, KCMP_FILE, &fd1, &fd2, 0},
52 {&pid1, &pid2, KCMP_FILE, &fd1, &fd1, 0},
53 {&pid1, &pid2, KCMP_FILE, &fd1, &fd2, 0},
54 {&pid1, &pid2, KCMP_FILE, &fd1, &fd3, 1},
59 fd1 = SAFE_OPEN(TEST_FILE, O_CREAT | O_RDWR | O_TRUNC); in setup()
64 if (fd1 > 0) in cleanup()
65 SAFE_CLOSE(fd1); in cleanup()
74 fd2 = dup(fd1); in do_child()
82 *(test->fd1), *(test->fd2))); in do_child()