Lines Matching refs:pipefd
91 int pipefd[2]; in test_vmsplice() local
94 if (pipe(pipefd)) { in test_vmsplice()
113 transferred = vmsplice(pipefd[1], &iov, 1, 0); in test_vmsplice()
122 close(pipefd[0]); in test_vmsplice()
123 close(pipefd[1]); in test_vmsplice()
126 static void try_process_vm_read(int fd, int pipefd[2]) in try_process_vm_read()
132 if (read(pipefd[0], &mem, sizeof(mem)) < 0) { in try_process_vm_read()
150 static void try_ptrace(int fd, int pipefd[2]) in try_ptrace()
157 if (read(pipefd[0], &mem, sizeof(mem)) < 0) { in try_ptrace()
202 void (*func)(int fd, int pipefd[2])) in test_remote_access()
204 int pipefd[2]; in test_remote_access() local
208 if (pipe(pipefd)) { in test_remote_access()
220 func(fd, pipefd); in test_remote_access()
232 if (write(pipefd[1], &mem, sizeof(mem)) < 0) { in test_remote_access()