Home
last modified time | relevance | path

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

/linux/fs/
A 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()
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()
1310 unsigned long user_bufs; in pipe_set_size() local
1339 (too_many_pipe_buffers_hard(user_bufs) || in pipe_set_size()
[all …]
A Dio_uring.c372 struct io_mapped_ubuf **user_bufs; member
3079 imu = READ_ONCE(ctx->user_bufs[index]); in io_import_fixed()
8911 io_buffer_unmap(ctx, &ctx->user_bufs[i]); in __io_sqe_buffers_unregister()
8912 kfree(ctx->user_bufs); in __io_sqe_buffers_unregister()
8914 ctx->user_bufs = NULL; in __io_sqe_buffers_unregister()
9128 ctx->user_bufs = kcalloc(nr_args, sizeof(*ctx->user_bufs), GFP_KERNEL); in io_buffers_map_alloc()
9129 return ctx->user_bufs ? 0 : -ENOMEM; in io_buffers_map_alloc()
9164 if (ctx->user_bufs) in io_sqe_buffers_register()
9248 if (ctx->user_bufs[i] != ctx->dummy_ubuf) { in __io_sqe_buffers_update()
9255 ctx->user_bufs[i] = NULL; in __io_sqe_buffers_update()
[all …]
/linux/include/linux/
A Dpipe_fs_i.h262 bool too_many_pipe_buffers_soft(unsigned long user_bufs);
263 bool too_many_pipe_buffers_hard(unsigned long user_bufs);
/linux/kernel/
A Dwatch_queue.c221 unsigned long user_bufs; in watch_queue_set_size() local
236 user_bufs = account_pipe_buffers(pipe->user, pipe->nr_accounted, nr_pages); in watch_queue_set_size()
239 (too_many_pipe_buffers_hard(user_bufs) || in watch_queue_set_size()
240 too_many_pipe_buffers_soft(user_bufs)) && in watch_queue_set_size()

Completed in 27 milliseconds