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

/linux-master/io_uring/
H A Drsrc.c457 if (ctx->user_bufs[i] != &dummy_ubuf) {
459 ctx->user_bufs[i]);
464 ctx->user_bufs[i] = (struct io_mapped_ubuf *)&dummy_ubuf;
467 ctx->user_bufs[i] = imu;
778 io_buffer_unmap(ctx, &ctx->user_bufs[i]);
779 kfree(ctx->user_bufs);
781 ctx->user_bufs = NULL;
830 struct io_mapped_ubuf *imu = ctx->user_bufs[i];
1001 ctx->user_bufs = kcalloc(nr_args, sizeof(*ctx->user_bufs), GFP_KERNE
[all...]
H A During_cmd.c140 req->imu = ctx->user_bufs[index];
H A Dfdinfo.c179 struct io_mapped_ubuf *buf = ctx->user_bufs[i];
H A Drw.c137 req->imu = ctx->user_bufs[index];
H A Dnet.c1075 req->imu = READ_ONCE(ctx->user_bufs[idx]);
/linux-master/include/linux/
H A Dpipe_fs_i.h282 bool too_many_pipe_buffers_soft(unsigned long user_bufs);
283 bool too_many_pipe_buffers_hard(unsigned long user_bufs);
H A Dio_uring_types.h291 struct io_mapped_ubuf **user_bufs; member in struct:io_ring_ctx::__anon48
/linux-master/fs/
H A Dpipe.c771 bool too_many_pipe_buffers_soft(unsigned long user_bufs) argument
775 return soft_limit && user_bufs > soft_limit;
778 bool too_many_pipe_buffers_hard(unsigned long user_bufs) argument
782 return hard_limit && user_bufs > hard_limit;
795 unsigned long user_bufs; local
805 user_bufs = account_pipe_buffers(user, 0, pipe_bufs);
807 if (too_many_pipe_buffers_soft(user_bufs) && pipe_is_unprivileged_user()) {
808 user_bufs = account_pipe_buffers(user, pipe_bufs, PIPE_MIN_DEF_BUFFERS);
812 if (too_many_pipe_buffers_hard(user_bufs) && pipe_is_unprivileged_user())
1336 unsigned long user_bufs; local
[all...]
/linux-master/kernel/
H A Dwatch_queue.c243 unsigned long user_bufs; local
257 user_bufs = account_pipe_buffers(pipe->user, pipe->nr_accounted, nr_pages);
260 (too_many_pipe_buffers_hard(user_bufs) ||
261 too_many_pipe_buffers_soft(user_bufs)) &&

Completed in 221 milliseconds