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

12

/darwin-on-arm/xnu/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.h128 DTYPE_PIPE, /* pipe */
201 struct pipe;
202 int fp_getfpipe(struct proc *p, int fd, struct fileproc **resultfp, struct pipe **resultpipe);
H A Dproc_info.h726 #ifndef pipe
727 struct pipe;
733 extern int fill_pipeinfo(struct pipe * cpipe, struct pipe_info * pinfo);
H A DMakefile26 mbuf.h mman.h mount.h msg.h msgbuf.h netport.h param.h paths.h pipe.h poll.h \
123 EXPORT_MI_LIST = ${KERNELFILES} ${PRIVATE_KERNELFILES} linker_set.h bsdtask_info.h pthread_internal.h filedesc.h pipe.h resourcevar.h semaphore.h \
/darwin-on-arm/xnu/libsyscall/custom/
H A D__pipe.s34 PSEUDO_INT(___pipe, pipe, 0)
43 PSEUDO(___pipe, pipe, 0, cerror_nocancel)
53 SYSCALL_NONAME(pipe, 0)
/darwin-on-arm/xnu/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.h105 struct pipe;
281 int mac_pipe_check_ioctl(kauth_cred_t cred, struct pipe *cpipe,
284 struct pipe *cpipe);
285 int mac_pipe_check_read(kauth_cred_t cred, struct pipe *cpipe);
286 int mac_pipe_check_select(kauth_cred_t cred, struct pipe *cpipe,
288 int mac_pipe_check_stat(kauth_cred_t cred, struct pipe *cpipe);
289 int mac_pipe_check_write(kauth_cred_t cred, struct pipe *cpipe);
291 void mac_pipe_label_associate(kauth_cred_t cred, struct pipe *cpipe);
293 void mac_pipe_label_destroy(struct pipe *cpipe);
295 void mac_pipe_label_init(struct pipe *cpip
[all...]
H A Dmac_policy.h99 struct pipe;
1614 When an application sends data to a socket or a pipe, it is wrapped
1960 @brief Access control check for pipe ioctl
1963 @param pipelabel The label on the pipe
1979 struct pipe *cpipe,
1984 @brief Access control check for pipe kqfilter
1988 @param pipelabel Policy label for the pipe
1991 receive the knote on the passed pipe.
1999 struct pipe *cpipe,
2003 @brief Access control check for pipe relabe
[all...]
/darwin-on-arm/xnu/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()
/darwin-on-arm/xnu/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>
222 static void pipeclose(struct pipe *cpipe);
223 static void pipe_free_kmem(struct pipe *cpipe);
224 static int pipe_create(struct pipe **cpipep);
225 static int pipespace(struct pipe *cpipe, int size);
227 static int expand_pipespace(struct pipe *p, int target_size);
228 static void pipeselwakeup(struct pipe *cpip
397 pipe(proc_t p, __unused struct pipe_args *uap, int32_t *retval) function
[all...]
H A Dsys_generic.c112 #include <sys/pipe.h>
139 void evpipefree(struct pipe *);
140 void postpipeevent(struct pipe *, int);
1966 * called upon pipe close. deque and free all events for
1967 * the pipe... pipe must be locked by caller
1970 evpipefree(struct pipe *cpipe)
1981 TAILQ_REMOVE(&cpipe->pipe_evlist, evq, ee_slist); // remove from pipe q
2024 * pipe lock must be taken by the caller
2027 postpipeevent(struct pipe *pipe
[all...]
H A Dsocket_info.c36 #include <sys/pipe.h>
/darwin-on-arm/xnu/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 ;
725 transmit_event(struct dn_pipe *pipe, struct mbuf **head, struct mbuf **tail) argument
734 while ((m = pipe->head) != NULL) {
739 pipe->head = m->m_nextpkt;
754 /* if there are leftover packets, put the pipe into the heap for next ready event */
755 if ((m = pipe->head) != NULL) {
758 * whole pipe p and hoping in the future we are more successful
760 heap_insert(&extract_heap, schedule_time, pipe);
1044 struct dn_pipe *pipe = p; local
1498 struct dn_pipe *pipe; local
1532 struct dn_pipe *pipe ; local
1862 purge_pipe(struct dn_pipe *pipe) argument
1886 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...]
/darwin-on-arm/xnu/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) {
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dpipes_tests.c27 * The included test suites cover the various pipe buffer operations
590 //logv("reading from pipe %d, for size %d", fd, size);
601 //logv("writing to pipe %d, for size %d", fd, size);
688 int err = pipe(p);
701 die_on_error( 0 != pipe(p), "pipe()");
720 die_on_error( 0 != pipe(p), "pipe()");
733 die_on_error( 0 != pipe(p), "pipe()");
[all...]
/darwin-on-arm/xnu/bsd/man/man2/
H A DMakefile127 pipe.2 \
/darwin-on-arm/xnu/tools/tests/libMicro/apple/
H A Dlmbench_bw_unix.c210 if (pipe(state->control) == -1) {
211 perror("pipe");
/darwin-on-arm/xnu/bsd/miscfs/devfs/
H A Ddevfs_fdesc_support.c90 #include <sys/pipe.h>
423 error = pipe_stat((struct pipe *)fp->f_fglob->fg_data, (void *)&stb, 0);
/darwin-on-arm/xnu/libkern/kxld/
H A DMakefile35 RC_CFLAGS=$(ARCHS) -pipe
/darwin-on-arm/xnu/libsyscall/
H A DMakefile58 -pipe

Completed in 196 milliseconds

12