Lines Matching refs:user
755 unsigned long account_pipe_buffers(struct user_struct *user, in account_pipe_buffers() argument
758 return atomic_long_add_return(new - old, &user->pipe_bufs); in account_pipe_buffers()
784 struct user_struct *user = get_current_user(); in alloc_pipe_info() local
795 user_bufs = account_pipe_buffers(user, 0, pipe_bufs); in alloc_pipe_info()
798 user_bufs = account_pipe_buffers(user, pipe_bufs, PIPE_MIN_DEF_BUFFERS); in alloc_pipe_info()
815 pipe->user = user; in alloc_pipe_info()
821 (void) account_pipe_buffers(user, pipe_bufs, 0); in alloc_pipe_info()
824 free_uid(user); in alloc_pipe_info()
837 (void) account_pipe_buffers(pipe->user, pipe->nr_accounted, 0); in free_pipe_info()
838 free_uid(pipe->user); in free_pipe_info()
1346 user_bufs = account_pipe_buffers(pipe->user, pipe->nr_accounted, nr_slots); in pipe_set_size()
1363 (void) account_pipe_buffers(pipe->user, nr_slots, pipe->nr_accounted); in pipe_set_size()