Home
last modified time | relevance | path

Searched refs:pipe_state (Results 1 – 2 of 2) sorted by relevance

/xnu-10002.41.9/bsd/kern/
H A Dsys_pipe.c658 if (__improbable(cpipe->pipe_state & PIPE_DEAD)) { in pipepair_destroy_pipe()
662 cpipe->pipe_state |= PIPE_DEAD; in pipepair_destroy_pipe()
664 can_free = (pp->pp_rpipe.pipe_state & PIPE_DEAD) && in pipepair_destroy_pipe()
665 (pp->pp_wpipe.pipe_state & PIPE_DEAD); in pipepair_destroy_pipe()
681 while (cpipe->pipe_state & PIPE_LOCKFL) { in pipeio_lock()
682 cpipe->pipe_state |= PIPE_LWANT; in pipeio_lock()
689 cpipe->pipe_state |= PIPE_LOCKFL; in pipeio_lock()
699 cpipe->pipe_state &= ~PIPE_LOCKFL; in pipeio_unlock()
700 if (cpipe->pipe_state & PIPE_LWANT) { in pipeio_unlock()
701 cpipe->pipe_state &= ~PIPE_LWANT; in pipeio_unlock()
[all …]
/xnu-10002.41.9/bsd/sys/
H A Dpipe.h163 u_int pipe_state; /* pipe status info */ member