pipe_empty
for (idx = tail; !pipe_empty(head, idx) && rem < len; idx++)
if (WARN_ON(nbuf >= count || pipe_empty(head, tail)))
return !pipe_empty(idx.head, idx.tail) || !writers;
if (!pipe_empty(head, tail)) {
if (!pipe_empty(head, tail)) /* More to do? */
was_empty = pipe_empty(head, pipe->tail);
while (!pipe_empty(head, tail)) {
if (!pipe_empty(idx.head, idx.tail))
if (pipe_empty(i_head, i_tail) && !ipipe->writers)
if (pipe_empty(i_head, i_tail) ||
if (pipe_empty(i_head, i_tail) ||
while (!pipe_empty(head, tail)) {
for (n = 0; !pipe_empty(head, tail) && left && n < nbufs; tail++) {
while (!pipe_empty(head, tail)) {
return pipe_empty(pipe->head, pipe->tail);