• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/kern/

Lines Matching refs:pipe

109 #include <sys/pipe.h>
136 void evpipefree(struct pipe *);
137 void postpipeevent(struct pipe *, int);
1870 * called upon pipe close. deque and free all events for
1871 * the pipe... pipe must be locked by caller
1874 evpipefree(struct pipe *cpipe)
1885 TAILQ_REMOVE(&cpipe->pipe_evlist, evq, ee_slist); // remove from pipe q
1928 * pipe lock must be taken by the caller
1931 postpipeevent(struct pipe *pipep, int event)
1992 * the pipe lock, and we're updating the event outside
2248 PIPE_LOCK((struct pipe *)fp->f_data);
2249 np = ((struct pipe *)fp->f_data)->pipe_evlist.tqh_first;
2273 PIPE_UNLOCK((struct pipe *)fp->f_data);
2295 TAILQ_INSERT_TAIL(&((struct pipe *)fp->f_data)->pipe_evlist, evq, ee_slist);
2296 postpipeevent((struct pipe *)fp->f_data, EV_RWBYTES);
2298 PIPE_UNLOCK((struct pipe *)fp->f_data);
2476 PIPE_LOCK((struct pipe *)fp->f_data);
2477 evq = ((struct pipe *)fp->f_data)->pipe_evlist.tqh_first;
2505 PIPE_UNLOCK((struct pipe *)fp->f_data);
2522 TAILQ_REMOVE(&((struct pipe *)fp->f_data)->pipe_evlist, evq, ee_slist);
2523 PIPE_UNLOCK((struct pipe *)fp->f_data);
2558 PIPE_UNLOCK((struct pipe *)fp->f_data);
2564 * since we're holding the socket/pipe lock, the event
2580 * we're holding the socket/pipe lock
2593 postpipeevent((struct pipe *)fp->f_data, flag);
2594 PIPE_UNLOCK((struct pipe *)fp->f_data);
2617 PIPE_LOCK((struct pipe *)fp->f_data);
2618 evq = ((struct pipe *)fp->f_data)->pipe_evlist.tqh_first;
2637 PIPE_UNLOCK((struct pipe *)fp->f_data);
2652 TAILQ_REMOVE(&((struct pipe *)fp->f_data)->pipe_evlist, evq, ee_slist);
2653 PIPE_UNLOCK((struct pipe *)fp->f_data);