Home
last modified time | relevance | path

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

/xnu-8792.41.9/bsd/sys/
H A Dpipe.h134 #define PIPE_WANT 0x020 /* Pipe is wanted to be run-down. */ macro
/xnu-8792.41.9/bsd/kern/
H A Dsys_pipe.c879 if ((rpipe->pipe_busy == 0) && (rpipe->pipe_state & PIPE_WANT)) { in pipe_read()
880 rpipe->pipe_state &= ~(PIPE_WANT | PIPE_WANTW); in pipe_read()
987 (wpipe->pipe_state & PIPE_WANT)) { in pipe_write()
988 wpipe->pipe_state &= ~(PIPE_WANT | PIPE_WANTR); in pipe_write()
1153 if ((wpipe->pipe_busy == 0) && (wpipe->pipe_state & PIPE_WANT)) { in pipe_write()
1154 wpipe->pipe_state &= ~(PIPE_WANT | PIPE_WANTR); in pipe_write()
1352 cpipe->pipe_state |= PIPE_WANT; in pipeclose()