Lines Matching defs:pipe
48 * $FreeBSD: src/sys/sys/pipe.h,v 1.24 2003/08/13 20:01:38 alc Exp $
137 #define PIPE_WSELECT 0x4000 /* Some thread has done an FWRITE select on the pipe */
145 * Per-pipe data structure.
148 struct pipe {
151 struct pipemapping pipe_map; /* pipe mapping for direct I/O */
155 struct pipe *pipe_peer; /* link with other direction */
156 u_int pipe_state; /* pipe status info */
163 struct label *pipe_label; /* pipe MAC label - shared */
166 #define PIPE_MTX(pipe) ((pipe)->pipe_mtxp)
168 #define PIPE_LOCK(pipe) lck_mtx_lock(PIPE_MTX(pipe))
169 #define PIPE_UNLOCK(pipe) lck_mtx_unlock(PIPE_MTX(pipe))
170 #define PIPE_LOCK_ASSERT(pipe, type) lck_mtx_assert(PIPE_MTX(pipe), (type))
174 extern int pipe_stat(struct pipe *, void *, int);