Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/pipe.h
Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Lines | struct pipe { | ||||
struct selinfo pipe_sel; /* for compat with select */ | struct selinfo pipe_sel; /* for compat with select */ | ||||
struct timespec pipe_atime; /* time of last access */ | struct timespec pipe_atime; /* time of last access */ | ||||
struct timespec pipe_mtime; /* time of last modify */ | struct timespec pipe_mtime; /* time of last modify */ | ||||
struct timespec pipe_ctime; /* time of status change */ | struct timespec pipe_ctime; /* time of status change */ | ||||
struct sigio *pipe_sigio; /* information for async I/O */ | struct sigio *pipe_sigio; /* information for async I/O */ | ||||
struct pipe *pipe_peer; /* link with other direction */ | struct pipe *pipe_peer; /* link with other direction */ | ||||
struct pipepair *pipe_pair; /* container structure pointer */ | struct pipepair *pipe_pair; /* container structure pointer */ | ||||
u_short pipe_state; /* pipe status info */ | u_short pipe_state; /* pipe status info */ | ||||
u_short pipe_type; /* pipe type info */ | u_char pipe_type; /* pipe type info */ | ||||
u_char pipe_present; /* still present? */ | |||||
int pipe_waiters; /* pipelock waiters */ | |||||
int pipe_busy; /* busy flag, mostly to handle rundown sanely */ | int pipe_busy; /* busy flag, mostly to handle rundown sanely */ | ||||
int pipe_present; /* still present? */ | |||||
int pipe_wgen; /* writer generation for named pipe */ | int pipe_wgen; /* writer generation for named pipe */ | ||||
ino_t pipe_ino; /* fake inode for stat(2) */ | ino_t pipe_ino; /* fake inode for stat(2) */ | ||||
}; | }; | ||||
/* | /* | ||||
* Values for the pipe_present. | * Values for the pipe_present. | ||||
*/ | */ | ||||
#define PIPE_ACTIVE 1 | #define PIPE_ACTIVE 1 | ||||
Show All 23 Lines |