Searched refs:bgid (Results 1 – 4 of 4) sorted by relevance
26 __u32 bgid; member32 unsigned int bgid) in io_buffer_get_list() argument34 if (ctx->io_bl && bgid < BGID_ARRAY) in io_buffer_get_list()35 return &ctx->io_bl[bgid]; in io_buffer_get_list()37 return xa_load(&ctx->io_bl_xa, bgid); in io_buffer_get_list()41 struct io_buffer_list *bl, unsigned int bgid) in io_buffer_add_list() argument43 bl->bgid = bgid; in io_buffer_add_list()44 if (bgid < BGID_ARRAY) in io_buffer_add_list()47 return xa_err(xa_store(&ctx->io_bl_xa, bgid, bl, GFP_KERNEL)); in io_buffer_add_list()68 bl = io_buffer_get_list(ctx, buf->bgid); in io_kbuf_recycle_legacy()[all …]
19 __u16 bgid; member38 __u16 bgid; member58 void *io_pbuf_get_address(struct io_ring_ctx *ctx, unsigned long bgid);81 req->buf_index = req->buf_list->bgid; in io_kbuf_recycle_ring()109 req->buf_index = req->buf_list->bgid; in __io_put_kbuf_list()114 req->buf_index = req->kbuf->bgid; in __io_put_kbuf_list()
3449 unsigned int bgid; in io_uring_validate_mmap_request() local3451 bgid = (offset & ~IORING_OFF_MMAP_MASK) >> IORING_OFF_PBUF_SHIFT; in io_uring_validate_mmap_request()3453 ptr = io_pbuf_get_address(ctx, bgid); in io_uring_validate_mmap_request()
670 __u16 bgid; member