Lines Matching refs:pipe
48 * $FreeBSD: src/sys/sys/pipe.h,v 1.24 2003/08/13 20:01:38 alc Exp $
140 * Per-pipe data structure.
143 struct pipe {
146 struct pipemapping pipe_map; /* pipe mapping for direct I/O */
150 struct pipe *pipe_peer; /* link with other direction */
151 u_int pipe_state; /* pipe status info */
158 struct label *pipe_label; /* pipe MAC label - shared */
161 #define PIPE_MTX(pipe) ((pipe)->pipe_mtxp)
163 #define PIPE_LOCK(pipe) lck_mtx_lock(PIPE_MTX(pipe))
164 #define PIPE_UNLOCK(pipe) lck_mtx_unlock(PIPE_MTX(pipe))
165 #define PIPE_LOCK_ASSERT(pipe, type) lck_mtx_assert(PIPE_MTX(pipe), (type))
169 extern int pipe_stat(struct pipe *, void *, int);