Home
last modified time | relevance | path

Searched refs:user_bufs (Results 1 – 1 of 1) sorted by relevance

/fs/
Dpipe.c761 bool too_many_pipe_buffers_soft(unsigned long user_bufs) in too_many_pipe_buffers_soft() argument
765 return soft_limit && user_bufs > soft_limit; in too_many_pipe_buffers_soft()
768 bool too_many_pipe_buffers_hard(unsigned long user_bufs) in too_many_pipe_buffers_hard() argument
772 return hard_limit && user_bufs > hard_limit; in too_many_pipe_buffers_hard()
785 unsigned long user_bufs; in alloc_pipe_info() local
795 user_bufs = account_pipe_buffers(user, 0, pipe_bufs); in alloc_pipe_info()
797 if (too_many_pipe_buffers_soft(user_bufs) && pipe_is_unprivileged_user()) { in alloc_pipe_info()
798 user_bufs = account_pipe_buffers(user, pipe_bufs, PIPE_MIN_DEF_BUFFERS); in alloc_pipe_info()
802 if (too_many_pipe_buffers_hard(user_bufs) && pipe_is_unprivileged_user()) in alloc_pipe_info()
1322 unsigned long user_bufs; in pipe_set_size() local
[all …]