Searched refs:pipe (Results 26 - 30 of 30) sorted by relevance

12

/xnu-2782.1.97/bsd/kern/
H A Dproc_info.c90 struct pipe;
165 int __attribute__ ((noinline)) pid_pipeinfo(struct pipe * p, struct fileproc * fp, int closeonexec, user_addr_t buffer, uint32_t buffersize, int32_t * retval);
1742 pid_pipeinfo(struct pipe * p, struct fileproc *fp, int closeonexec, user_addr_t buffer, __unused uint32_t buffersize, int32_t * retval)
1901 struct pipe * cpipe;
1997 struct pipe *cpipe;
2003 cpipe = (struct pipe *)fg->fg_data;
H A Dbsd_init.c142 #include <sys/pipe.h> /* for pipeinit() */
H A Dkern_descrip.c106 #include <sys/pipe.h>
3683 * Description: Get fileproc and pipe pointer for a given fd from the
3691 * resultpipe Pointer to result pipe
3700 * *resultpipe (modified) pipe pointer
3707 struct pipe **resultpipe)
3728 *resultpipe = (struct pipe *)fp->f_data;
/xnu-2782.1.97/tools/tests/libMicro/apple/
H A Dlmbench_lat_ctx.c143 debug("read/write on pipe");
148 debug("read/write on pipe");
217 * but some such as the pipe() benchmarks will not.
317 debug("write/read/write on pipe");
332 if (pipe(p[i]) == -1) {
413 debug("read/write on pipe");
417 debug("read/write on pipe");
622 debug("read/write on pipe");
626 debug("read/write on pipe");
/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dtests.c1514 * Test getpid, getppid, and pipe system calls.
1526 my_err = pipe( &my_fildes[0] );
1528 printf( "pipe call failed. got errno %d - %s. \n", errno, strerror( errno ) );
1532 /* make sure we can't seek on a pipe */
1535 printf( "lseek on pipe should fail but did not \n" );
1539 /* fork here and use pipe to communicate */
1550 close( my_fildes[1] ); /* close write end of pipe */
1556 printf( "read from pipe failed. got errno %d - %s. \n", errno, strerror( errno ) );
1560 /* parent wrote (to our pipe) its pid as character string */
1575 close( my_fildes[0] ); /* close read end of pipe */
[all...]

Completed in 78 milliseconds

12