Lines Matching defs:max_usage
392 wake_writer |= pipe_full(head, tail, pipe->max_usage);
457 unsigned int max_usage = READ_ONCE(pipe->max_usage);
459 return !pipe_full(idx.head, idx.tail, max_usage) ||
543 if (!pipe_full(head, pipe->tail, pipe->max_usage)) {
736 if (!pipe_full(idx.head, idx.tail, pipe->max_usage))
866 pipe->max_usage = pipe_bufs;
1382 if (pipe->max_usage > nr_slots)
1383 pipe->max_usage = nr_slots;
1388 pipe->max_usage = nr_slots;
1425 if (nr_slots > pipe->max_usage &&
1431 if (nr_slots > pipe->max_usage &&
1443 return pipe->max_usage * PAGE_SIZE;
1483 ret = pipe->max_usage * PAGE_SIZE;