Home
last modified time | relevance | path

Searched refs:bgid (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/io_uring/
Dkbuf.c26 __u32 bgid; member
32 unsigned int bgid) in io_buffer_get_list() argument
34 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() argument
43 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 …]
Dkbuf.h19 __u16 bgid; member
38 __u16 bgid; member
58 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()
Dio_uring.c3449 unsigned int bgid; in io_uring_validate_mmap_request() local
3451 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()
/Linux-v6.6/include/uapi/linux/
Dio_uring.h670 __u16 bgid; member