Lines Matching refs:size
36 * New pipe buffers will be restricted to this size while the user is exceeding
51 * The max size that a non-root user is allowed to grow the pipe. Can
52 * be set by root in /proc/sys/fs/pipe-max-size
1236 unsigned int round_pipe_size(unsigned int size)
1238 if (size > (1U << 31))
1241 /* Minimum pipe size, as required by POSIX */
1242 if (size < PAGE_SIZE)
1245 return roundup_pow_of_two(size);
1322 * pipe size if successful, or return -ERROR on error.
1327 unsigned int nr_slots, size;
1333 size = round_pipe_size(arg);
1334 nr_slots = size >> PAGE_SHIFT;
1347 size > pipe_max_size && !capable(CAP_SYS_RESOURCE))
1471 .procname = "pipe-max-size",