Home
last modified time | relevance | path

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

/linux-6.1.9/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
33 __u16 bgid; member
74 req->buf_index = req->buf_list->bgid; in io_kbuf_recycle_ring()
102 req->buf_index = req->buf_list->bgid; in __io_put_kbuf_list()
107 req->buf_index = req->kbuf->bgid; in __io_put_kbuf_list()
/linux-6.1.9/include/uapi/linux/
Dio_uring.h628 __u16 bgid; member