Lines Matching refs:bgid
474 int bgid; member
530 __u32 bgid; member
2947 int bgid, struct io_buffer *kbuf, in io_buffer_select() argument
2959 head = idr_find(&req->ctx->io_buffer_idr, bgid); in io_buffer_select()
2967 idr_remove(&req->ctx->io_buffer_idr, bgid); in io_buffer_select()
2984 u16 bgid; in io_rw_buffer_select() local
2987 bgid = req->buf_index; in io_rw_buffer_select()
2988 kbuf = io_buffer_select(req, len, bgid, kbuf, needs_lock); in io_rw_buffer_select()
3905 p->bgid = READ_ONCE(sqe->buf_group); in io_remove_buffers_prep()
3910 int bgid, unsigned nbufs) in __io_remove_buffers() argument
3930 idr_remove(&ctx->io_buffer_idr, bgid); in __io_remove_buffers()
3948 head = idr_find(&ctx->io_buffer_idr, p->bgid); in io_remove_buffers()
3950 ret = __io_remove_buffers(ctx, head, p->bgid, p->nbufs); in io_remove_buffers()
3978 p->bgid = READ_ONCE(sqe->buf_group); in io_provide_buffers_prep()
4025 list = head = idr_find(&ctx->io_buffer_idr, p->bgid); in io_provide_buffers()
4032 ret = idr_alloc(&ctx->io_buffer_idr, head, p->bgid, p->bgid + 1, in io_provide_buffers()
4035 __io_remove_buffers(ctx, head, p->bgid, -1U); in io_provide_buffers()
4537 kbuf = io_buffer_select(req, &sr->len, sr->bgid, sr->kbuf, needs_lock); in io_recv_buffer_select()
4564 sr->bgid = READ_ONCE(sqe->buf_group); in io_recvmsg_prep()