/src/lib/libisns/ |
isns_config.h | 61 int pipe_fds[2]; member in struct:isns_config_s
|
isns_util.c | 54 return (int)write(cfg_p->pipe_fds[1], &cmd_type, 1); 69 return (int)isns_file_writev(cfg_p->pipe_fds[1], iov, 2); 97 cfg_p->pipe_fds[0] = -1; 98 cfg_p->pipe_fds[1] = -1; 144 if (cfg_p->pipe_fds[0] != -1) 145 close(cfg_p->pipe_fds[0]); 146 if (cfg_p->pipe_fds[1] != -1) 147 close(cfg_p->pipe_fds[1]);
|
isns.c | 73 if ((rval = pipe(cfg_p->pipe_fds)) != 0) { 85 rval = isns_change_kevent_list(cfg_p, (uintptr_t)cfg_p->pipe_fds[0],
|
isns_thread.c | 137 rbytes = read(cfg_p->pipe_fds[0], &cmd_type, 153 rbytes = read(cfg_p->pipe_fds[0], &trans_id,
|
/src/tests/lib/libc/sys/ |
t_posix_fadvise.c | 92 int pipe_fds[2]; local in function:ATF_TC_BODY 99 RL(pipe(pipe_fds)); 115 CE(posix_fadvise(pipe_fds[0], 0, 0, POSIX_FADV_NORMAL), ESPIPE);
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
sanitizer_linux_test.cc | 260 int pipe_fds[2]; local in function:__sanitizer::TEST 261 ASSERT_EQ(0, pipe(pipe_fds)); 269 /* stdin */ kInvalidFd, /* stdout */ pipe_fds[1]); 281 while (ReadFromFile(pipe_fds[0], ptr, 256, &bytes_read)) { 291 internal_close(pipe_fds[0]);
|
/src/usr.bin/make/ |
job.c | 647 int pipe_fds[2]; local in function:JobCreatePipe 649 if (pipe(pipe_fds) == -1) 654 int fd = fcntl(pipe_fds[i], F_DUPFD, minfd); 656 close(pipe_fds[i]); 657 pipe_fds[i] = fd; 661 job->inPipe = pipe_fds[0]; 662 job->outPipe = pipe_fds[1];
|