Lines Matching refs:pipefd
89 int pipefd[2]; in test_vmsplice() local
92 if (pipe(pipefd)) { in test_vmsplice()
111 transferred = vmsplice(pipefd[1], &iov, 1, 0); in test_vmsplice()
120 close(pipefd[0]); in test_vmsplice()
121 close(pipefd[1]); in test_vmsplice()
124 static void try_process_vm_read(int fd, int pipefd[2]) in try_process_vm_read()
130 if (read(pipefd[0], &mem, sizeof(mem)) < 0) { in try_process_vm_read()
148 static void try_ptrace(int fd, int pipefd[2]) in try_ptrace()
155 if (read(pipefd[0], &mem, sizeof(mem)) < 0) { in try_ptrace()
200 void (*func)(int fd, int pipefd[2])) in test_remote_access()
202 int pipefd[2]; in test_remote_access() local
206 if (pipe(pipefd)) { in test_remote_access()
218 func(fd, pipefd); in test_remote_access()
230 if (write(pipefd[1], &mem, sizeof(mem)) < 0) { in test_remote_access()