Searched refs:bgid (Results 1 – 5 of 5) sorted by relevance
29 __u32 bgid; member35 unsigned int bgid) in io_buffer_get_list() argument39 return xa_load(&ctx->io_bl_xa, bgid); in io_buffer_get_list()43 struct io_buffer_list *bl, unsigned int bgid) in io_buffer_add_list() argument50 bl->bgid = bgid; in io_buffer_add_list()52 return xa_err(xa_store(&ctx->io_bl_xa, bgid, bl, GFP_KERNEL)); in io_buffer_add_list()64 bl = io_buffer_get_list(ctx, buf->bgid); in io_kbuf_recycle_legacy()67 req->buf_index = buf->bgid; in io_kbuf_recycle_legacy()403 xa_erase(&ctx->io_bl_xa, bl->bgid); in io_destroy_buffers()436 p->bgid = READ_ONCE(sqe->buf_group); in io_remove_buffers_prep()[all …]
30 __u16 bgid; member48 __u16 bgid; member89 unsigned long bgid);102 req->buf_index = req->buf_list->bgid; in io_kbuf_recycle_ring()165 req->buf_index = bl->bgid; in __io_put_kbuf_ring()177 req->buf_index = req->kbuf->bgid; in __io_put_kbuf_list()
297 unsigned int bgid; in io_uring_validate_mmap_request() local300 bgid = (offset & ~IORING_OFF_MMAP_MASK) >> IORING_OFF_PBUF_SHIFT; in io_uring_validate_mmap_request()301 bl = io_pbuf_get_bl(ctx, bgid); in io_uring_validate_mmap_request()
682 __u16 bgid; member
805 __u16 bgid; member