Lines Matching defs:in_fd
11 * wrong out_fd or in_fd.
15 * - in_fd == -1
17 * - in_fd opened with O_WRONLY
24 static int in_fd;
29 int *in_fd;
33 {&in_fd, &negative_fd, "out_fd=-1"},
34 {&in_fd, &in_fd, "out_fd=O_RDONLY"},
35 {&negative_fd, &out_fd, "in_fd=-1"},
41 in_fd = SAFE_OPEN("in_file", O_CREAT | O_RDONLY, 0600);
47 SAFE_CLOSE(in_fd);
53 TST_EXP_FAIL2(sendfile(*(tc[i].out_fd), *(tc[i].in_fd), NULL, 1),