Lines Matching refs:fd1
23 static int fd1; variable
33 int *fd1; member
37 {&pid1, &pid1, KCMP_FILE, &fd1, &fd1, 0},
38 {&pid2, &pid2, KCMP_FILE, &fd1, &fd2, 0},
39 {&pid1, &pid2, KCMP_FILE, &fd1, &fd1, 0},
40 {&pid1, &pid2, KCMP_FILE, &fd1, &fd2, 0},
41 {&pid1, &pid2, KCMP_FILE, &fd1, &fd3, 1},
46 fd1 = SAFE_OPEN(TEST_FILE, O_CREAT | O_RDWR | O_TRUNC); in setup()
51 if (fd1 > 0) in cleanup()
52 SAFE_CLOSE(fd1); in cleanup()
61 fd2 = dup(fd1); in do_child()
69 *(test->fd1), *(test->fd2))); in do_child()