Lines Matching refs:readers
71 * FIFOs and Pipes now generate SIGIO for both readers and writers.
411 !READ_ONCE(pipe->readers);
432 if (!pipe->readers) {
478 if (!pipe->readers) {
560 * space. We wake up any readers if necessary, and then
689 if (!pipe->readers)
718 pipe->readers--;
723 if (!pipe->readers != !pipe->writers) {
884 pipe->readers = pipe->writers = 1;
1038 * but that requires that we wake up any other readers/writers
1136 if (pipe->readers++ == 0)
1158 if (!is_pipe && (filp->f_flags & O_NONBLOCK) && !pipe->readers)
1165 if (!is_pipe && !pipe->readers) {
1179 pipe->readers++;
1183 if (pipe->readers == 1 || pipe->writers == 1)
1197 if (!--pipe->readers)