PIPE_EOF
if ((rpipe->pipe_state & PIPE_EOF) ||
(wpipe == NULL) || (wpipe->pipe_state & PIPE_EOF)) {
if ((wpipe == NULL) || (wpipe->pipe_state & PIPE_EOF)) {
(atomic_load_relaxed(&rpipe->pipe_state) & PIPE_EOF) == 0)
if (rpipe->pipe_state & PIPE_EOF)
if (wpipe == NULL || (wpipe->pipe_state & PIPE_EOF) != 0) {
if (wpipe->pipe_state & PIPE_EOF) {
(rpipe->pipe_state & PIPE_EOF))
eof |= (rpipe->pipe_state & PIPE_EOF);
if ((wpipe->pipe_state & PIPE_EOF) || (
eof |= (wpipe->pipe_state & PIPE_EOF);
pipe->pipe_state |= PIPE_EOF;
ppipe->pipe_state |= PIPE_EOF;