Searched refs:user_bufs (Results 1 – 4 of 4) sorted by relevance
761 bool too_many_pipe_buffers_soft(unsigned long user_bufs) in too_many_pipe_buffers_soft() argument765 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() argument772 return hard_limit && user_bufs > hard_limit; in too_many_pipe_buffers_hard()785 unsigned long user_bufs; in alloc_pipe_info() local795 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() local1339 (too_many_pipe_buffers_hard(user_bufs) || in pipe_set_size()[all …]
372 struct io_mapped_ubuf **user_bufs; member3079 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 …]
262 bool too_many_pipe_buffers_soft(unsigned long user_bufs);263 bool too_many_pipe_buffers_hard(unsigned long user_bufs);
221 unsigned long user_bufs; in watch_queue_set_size() local236 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