Home
last modified time | relevance | path

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

/openbmc/linux/io_uring/
H A Dkbuf.c27 __u32 bgid; member
33 unsigned int bgid) in __io_buffer_get_list() argument
35 return xa_load(&ctx->io_bl_xa, bgid); in __io_buffer_get_list()
46 unsigned int bgid) in io_buffer_get_list() argument
50 return __io_buffer_get_list(ctx, bgid); in io_buffer_get_list()
54 struct io_buffer_list *bl, unsigned int bgid) in io_buffer_add_list() argument
61 bl->bgid = bgid; in io_buffer_add_list()
63 return xa_err(xa_store(&ctx->io_bl_xa, bgid, bl, GFP_KERNEL)); in io_buffer_add_list()
84 bl = io_buffer_get_list(ctx, buf->bgid); in io_kbuf_recycle_legacy()
87 req->buf_index = buf->bgid; in io_kbuf_recycle_legacy()
[all …]
H A Dkbuf.h20 __u16 bgid; member
41 __u16 bgid; member
65 unsigned long bgid);
88 req->buf_index = req->buf_list->bgid; in io_kbuf_recycle_ring()
116 req->buf_index = req->buf_list->bgid; in __io_put_kbuf_list()
121 req->buf_index = req->kbuf->bgid; in __io_put_kbuf_list()
H A Dio_uring.c3471 unsigned int bgid; in io_uring_validate_mmap_request() local
3473 bgid = (offset & ~IORING_OFF_MMAP_MASK) >> IORING_OFF_PBUF_SHIFT; in io_uring_validate_mmap_request()
3474 bl = io_pbuf_get_bl(ctx, bgid); in io_uring_validate_mmap_request()
/openbmc/linux/include/uapi/linux/
H A Dio_uring.h670 __u16 bgid; member