Lines Matching refs:ppipe
1274 struct pipe *ppipe;
1309 if ((ppipe = cpipe->pipe_peer) != NULL) {
1311 ppipe->pipe_state &= ~(PIPE_DRAIN);
1312 ppipe->pipe_state |= PIPE_EOF;
1314 pipeselwakeup(ppipe, ppipe);
1315 wakeup(ppipe);
1318 KNOTE(&ppipe->pipe_sel.si_note, 1);
1320 postpipeevent(ppipe, EV_RCLOSED);
1322 ppipe->pipe_peer = NULL;
1330 if (ppipe != NULL) {
1597 struct pipe *ppipe, *cpipe = (struct pipe *)(fp->f_fglob->fg_data);
1606 if ((ppipe = cpipe->pipe_peer)) {
1607 ppipe->pipe_state |= PIPE_DRAIN;
1608 ppipe->pipe_state &= ~(PIPE_WANTR | PIPE_WANTW);
1609 wakeup(ppipe);