Lines Matching refs:size
35 * New pipe buffers will be restricted to this size while the user is exceeding
50 * The max size that a non-root user is allowed to grow the pipe. Can
51 * be set by root in /proc/sys/fs/pipe-max-size
1231 unsigned int round_pipe_size(unsigned long size)
1233 if (size > (1U << 31))
1236 /* Minimum pipe size, as required by POSIX */
1237 if (size < PAGE_SIZE)
1240 return roundup_pow_of_two(size);
1317 * pipe size if successful, or return -ERROR on error.
1322 unsigned int nr_slots, size;
1328 size = round_pipe_size(arg);
1329 nr_slots = size >> PAGE_SHIFT;
1342 size > pipe_max_size && !capable(CAP_SYS_RESOURCE))