Home
last modified time | relevance | path

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

/linux-4.4.14/fs/
Dpipe.c595 atomic_long_add(new - old, &pipe->user->pipe_bufs); in account_pipe_buffers()
601 atomic_long_read(&user->pipe_bufs) >= pipe_user_pages_soft; in too_many_pipe_buffers_soft()
607 atomic_long_read(&user->pipe_bufs) >= pipe_user_pages_hard; in too_many_pipe_buffers_hard()
616 unsigned long pipe_bufs = PIPE_DEF_BUFFERS; in alloc_pipe_info() local
621 pipe_bufs = 1; in alloc_pipe_info()
622 pipe->bufs = kzalloc(sizeof(struct pipe_buffer) * pipe_bufs, GFP_KERNEL); in alloc_pipe_info()
628 pipe->buffers = pipe_bufs; in alloc_pipe_info()
630 account_pipe_buffers(pipe, 0, pipe_bufs); in alloc_pipe_info()
/linux-4.4.14/include/linux/
Dsched.h834 atomic_long_t pipe_bufs; /* how many pages are allocated in pipe buffers */ member