Lines Matching refs:readers
72 * FIFOs and Pipes now generate SIGIO for both readers and writers.
413 !READ_ONCE(pipe->readers);
434 if (!pipe->readers) {
480 if (!pipe->readers) {
562 * space. We wake up any readers if necessary, and then
691 if (!pipe->readers)
720 pipe->readers--;
725 if (!pipe->readers != !pipe->writers) {
886 pipe->readers = pipe->writers = 1;
1043 * but that requires that we wake up any other readers/writers
1141 if (pipe->readers++ == 0)
1163 if (!is_pipe && (filp->f_flags & O_NONBLOCK) && !pipe->readers)
1170 if (!is_pipe && !pipe->readers) {
1184 pipe->readers++;
1188 if (pipe->readers == 1 || pipe->writers == 1)
1202 if (!--pipe->readers)