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

12

/xnu-2782.1.97/bsd/sys/
H A Dpipe.h48 * $FreeBSD: src/sys/sys/pipe.h,v 1.24 2003/08/13 20:01:38 alc Exp $
137 #define PIPE_WSELECT 0x4000 /* Some thread has done an FWRITE select on the pipe */
145 * Per-pipe data structure.
148 struct pipe { struct
151 struct pipemapping pipe_map; /* pipe mapping for direct I/O */
155 struct pipe *pipe_peer; /* link with other direction */
156 u_int pipe_state; /* pipe status info */
163 struct label *pipe_label; /* pipe MAC label - shared */
166 #define PIPE_MTX(pipe) ((pipe)
[all...]
H A Dfile_internal.h145 DTYPE_PIPE, /* pipe */
225 struct pipe;
226 int fp_getfpipe(struct proc *p, int fd, struct fileproc **resultfp, struct pipe **resultpipe);
H A Dproc_info.h826 #ifndef pipe
827 struct pipe;
833 extern int fill_pipeinfo(struct pipe * cpipe, struct pipe_info * pinfo);
H A DMakefile27 mbuf.h mman.h mount.h msg.h msgbuf.h netport.h param.h paths.h pipe.h poll.h \
134 EXPORT_MI_LIST = ${KERNELFILES} ${PRIVATE_KERNELFILES} linker_set.h bsdtask_info.h pthread_internal.h filedesc.h pipe.h resourcevar.h semaphore.h \
/xnu-2782.1.97/libsyscall/custom/
H A D__pipe.s34 PSEUDO_INT(___pipe, pipe, 0)
43 PSEUDO(___pipe, pipe, 0, cerror_nocancel)
/xnu-2782.1.97/security/
H A Dmac_pipe.c69 #include <sys/pipe.h>
88 mac_pipe_label_init(struct pipe *cpipe)
103 mac_pipe_label_destroy(struct pipe *cpipe)
123 error = MAC_EXTERNALIZE(pipe, label, elements, outbuf, outbuflen);
133 error = MAC_INTERNALIZE(pipe, label, string);
139 mac_pipe_label_associate(kauth_cred_t cred, struct pipe *cpipe)
147 struct pipe *cpipe)
158 mac_pipe_check_ioctl(kauth_cred_t cred, struct pipe *cpipe, u_int cmd)
171 mac_pipe_check_read(kauth_cred_t cred, struct pipe *cpipe)
184 mac_pipe_check_label_update(kauth_cred_t cred, struct pipe *cpip
[all...]
H A Dmac_framework.h107 struct pipe;
283 int mac_pipe_check_ioctl(kauth_cred_t cred, struct pipe *cpipe,
286 struct pipe *cpipe);
287 int mac_pipe_check_read(kauth_cred_t cred, struct pipe *cpipe);
288 int mac_pipe_check_select(kauth_cred_t cred, struct pipe *cpipe,
290 int mac_pipe_check_stat(kauth_cred_t cred, struct pipe *cpipe);
291 int mac_pipe_check_write(kauth_cred_t cred, struct pipe *cpipe);
293 void mac_pipe_label_associate(kauth_cred_t cred, struct pipe *cpipe);
295 void mac_pipe_label_destroy(struct pipe *cpipe);
297 void mac_pipe_label_init(struct pipe *cpip
[all...]
H A Dmac_policy.h105 struct pipe;
1690 When an application sends data to a socket or a pipe, it is wrapped
2036 @brief Access control check for pipe ioctl
2039 @param pipelabel The label on the pipe
2055 struct pipe *cpipe,
2060 @brief Access control check for pipe kqfilter
2064 @param pipelabel Policy label for the pipe
2067 receive the knote on the passed pipe.
2075 struct pipe *cpipe,
2079 @brief Access control check for pipe relabe
[all...]
H A Dmac_vfs.c75 #include <sys/pipe.h>
1612 struct pipe *cpipe;
1663 cpipe = (struct pipe *)fp->f_fglob->fg_data;
1665 if (cpipe == (struct pipe *)-1) {
/xnu-2782.1.97/libkern/kxld/tests/
H A Dloadtest.py35 pipe = Popen("/usr/sbin/kextfind \( -l -and -x -and -arch i386 \)", shell=True, stdout=PIPE).stdout variable
37 line = pipe.readline()
40 line = pipe.readline()
/xnu-2782.1.97/bsd/kern/
H A Dsys_pipe.c77 * Action: is what file operation is done on the pipe
103 * This code create half duplex pipe buffers for facilitating file like
108 * until the pipe buffer empties enough to continue.
137 #include <sys/pipe.h>
223 static void pipeclose(struct pipe *cpipe);
224 static void pipe_free_kmem(struct pipe *cpipe);
225 static int pipe_create(struct pipe **cpipep);
226 static int pipespace(struct pipe *cpipe, int size);
228 static int expand_pipespace(struct pipe *p, int target_size);
229 static void pipeselwakeup(struct pipe *cpip
398 pipe(proc_t p, __unused struct pipe_args *uap, int32_t *retval) function
[all...]
H A Dsys_generic.c116 #include <sys/pipe.h>
143 void evpipefree(struct pipe *);
144 void postpipeevent(struct pipe *, int);
1957 * called upon pipe close. deque and free all events for
1958 * the pipe... pipe must be locked by caller
1961 evpipefree(struct pipe *cpipe)
1972 TAILQ_REMOVE(&cpipe->pipe_evlist, evq, ee_slist); // remove from pipe q
2015 * pipe lock must be taken by the caller
2018 postpipeevent(struct pipe *pipe
[all...]
H A Dsocket_info.c36 #include <sys/pipe.h>
/xnu-2782.1.97/bsd/netinet/
H A Dip_dummynet.c151 static void transmit_event(struct dn_pipe *pipe, struct mbuf **head,
495 pipe_bp->fs.pipe = (user32_addr_t)0 ;
536 pipe_bp->fs.pipe = USER_ADDR_NULL ;
727 transmit_event(struct dn_pipe *pipe, struct mbuf **head, struct mbuf **tail) argument
736 while ((m = pipe->head) != NULL) {
741 pipe->head = m->m_nextpkt;
756 /* if there are leftover packets, put the pipe into the heap for next ready event */
757 if ((m = pipe->head) != NULL) {
760 * whole pipe p and hoping in the future we are more successful
762 heap_insert(&extract_heap, schedule_time, pipe);
1046 struct dn_pipe *pipe = p; local
1496 struct dn_pipe *pipe; local
1530 struct dn_pipe *pipe ; local
1853 purge_pipe(struct dn_pipe *pipe) argument
1877 struct dn_pipe *pipe, *pipe1; local
[all...]
H A Dip_dummynet.h216 bandwidth to different flows) and a "pipe", which essentially
218 pipe.
221 configurable. The "clock" for a pipe can come from either an
223 A pipe is also associated with one (or more, if masks are used)
224 queue, where all packets for that pipe are stored.
226 The bandwidth available on the pipe is shared by the queues
227 associated with that pipe (only one in case the packet is sent
238 There are three data structures definining a pipe and associated queues:
246 Multiple dn_flow_set can be linked to the same pipe, and multiple
261 wfq_ready_event() extract a pipe whic
333 struct dn_pipe *pipe ; /* pointer to parent pipe */ member in struct:dn_flow_set
487 user32_addr_t pipe ; /* pointer to parent pipe */ member in struct:dn_flow_set_32
612 user64_addr_t pipe ; /* pointer to parent pipe */ member in struct:dn_flow_set_64
[all...]
/xnu-2782.1.97/tools/tests/libMicro/
H A DMakefile.benchmarks81 pipe \
H A Dbench.sh664 pipe $OPTS -N "pipe_pst1" -s 1 -I 1000 -x pipe -m st
665 pipe $OPTS -N "pipe_pmt1" -s 1 -I 8000 -x pipe -m mt
666 pipe $OPTS -N "pipe_pmp1" -s 1 -I 8000 -x pipe -m mp
667 pipe $OPTS -N "pipe_pst4k" -s 4k -I 1000 -x pipe -m st
668 pipe $OPTS -N "pipe_pmt4k" -s 4k -I 8000 -x pipe
[all...]
H A Dcoreos_bench.sh682 pipe $OPTS -N "pipe_pst1" -s 1 -I 1000 -x pipe -m st
683 pipe $OPTS -N "pipe_pmt1" -s 1 -I 8000 -x pipe -m mt
684 pipe $OPTS -N "pipe_pmp1" -s 1 -I 8000 -x pipe -m mp
685 pipe $OPTS -N "pipe_pst4k" -s 4k -I 1000 -x pipe -m st
686 pipe $OPTS -N "pipe_pmt4k" -s 4k -I 8000 -x pipe
[all...]
H A Dembd_bench.sh668 pipe $OPTS -N "pipe_pst1" -s 1 -I 1000 -x pipe -m st
669 pipe $OPTS -N "pipe_pmt1" -s 1 -I 8000 -x pipe -m mt
670 pipe $OPTS -N "pipe_pmp1" -s 1 -I 8000 -x pipe -m mp
671 pipe $OPTS -N "pipe_pst4k" -s 4k -I 1000 -x pipe -m st
672 pipe $OPTS -N "pipe_pmt4k" -s 4k -I 8000 -x pipe
[all...]
H A Dpipe.c69 static char *xports[] = {"pipe", "fifo", "sock", "tcp",
107 " [-x transport (pipe|fifo|sock|tcp, default %s)]\n"
516 if (pipe(p) == -1) {
523 if (pipe(p) == -1) {
529 if (pipe(p) == -1) {
/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dpipes_tests.c27 * The included test suites cover the various pipe buffer operations
592 //logv("reading from pipe %d, for size %d", fd, size);
603 //logv("writing to pipe %d, for size %d", fd, size);
690 int err = pipe(p);
703 die_on_error( 0 != pipe(p), "pipe()");
722 die_on_error( 0 != pipe(p), "pipe()");
735 die_on_error( 0 != pipe(p), "pipe()");
[all...]
/xnu-2782.1.97/bsd/man/man2/
H A DMakefile136 pipe.2 \
/xnu-2782.1.97/tools/tests/libMicro/apple/
H A Dlmbench_bw_unix.c210 if (pipe(state->control) == -1) {
211 perror("pipe");
/xnu-2782.1.97/bsd/miscfs/devfs/
H A Ddevfs_fdesc_support.c90 #include <sys/pipe.h>
422 error = pipe_stat((struct pipe *)fp->f_fglob->fg_data, (void *)&stb, 0);
/xnu-2782.1.97/libkern/kxld/
H A DMakefile35 RC_CFLAGS=$(ARCHS) -pipe

Completed in 123 milliseconds

12