Lines Matching defs:pipe
108 struct pipe { struct
109 struct pipebuf pipe_buffer; /* data storage */ argument
110 struct pipemapping pipe_pages; /* wired pages for direct I/O */ argument
111 struct selinfo pipe_sel; /* for compat with select */ argument
112 struct timespec pipe_atime; /* time of last access */ argument
113 struct timespec pipe_mtime; /* time of last modify */ argument
114 struct timespec pipe_ctime; /* time of status change */ argument
115 struct sigio *pipe_sigio; /* information for async I/O */ argument
116 struct pipe *pipe_peer; /* link with other direction */ argument
117 struct pipepair *pipe_pair; /* container structure pointer */ argument
118 u_short pipe_state; /* pipe status info */ argument
119 u_char pipe_type; /* pipe type info */ argument
120 u_char pipe_present; /* still present? */ argument
121 int pipe_waiters; /* pipelock waiters */ argument
122 int pipe_busy; /* busy flag, mostly to handle rundown sanely */ argument
123 int pipe_wgen; /* writer generation for named pipe */ argument
124 ino_t pipe_ino; /* fake inode for stat(2) */ argument
145 #define PIPE_MTX(pipe) (&(pipe)->pipe_pair->pp_mtx) argument
146 #define PIPE_LOCK(pipe) mtx_lock(PIPE_MTX(pipe)) argument
147 #define PIPE_UNLOCK(pipe) mtx_unlock(PIPE_MTX(pipe)) argument
148 #define PIPE_LOCK_ASSERT(pipe, type) mtx_assert(PIPE_MTX(pipe), (type)) argument