Lines Matching refs:user
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
56 /* Maximum allocatable pages per user. Hard limit is unset by default, soft
756 unsigned long account_pipe_buffers(struct user_struct *user,
759 return atomic_long_add_return(new - old, &user->pipe_bufs);
785 struct user_struct *user = get_current_user();
796 user_bufs = account_pipe_buffers(user, 0, pipe_bufs);
799 user_bufs = account_pipe_buffers(user, pipe_bufs, PIPE_MIN_DEF_BUFFERS);
816 pipe->user = user;
822 (void) account_pipe_buffers(user, pipe_bufs, 0);
825 free_uid(user);
838 (void) account_pipe_buffers(pipe->user, pipe->nr_accounted, 0);
839 free_uid(pipe->user);
1341 * unprivileged user is not trying to exceed various limits
1344 * if the user is currently over a limit.
1350 user_bufs = account_pipe_buffers(pipe->user, pipe->nr_accounted, nr_slots);
1367 (void) account_pipe_buffers(pipe->user, nr_slots, pipe->nr_accounted);
1478 .procname = "pipe-user-pages-hard",
1485 .procname = "pipe-user-pages-soft",