Home
last modified time | relevance | path

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

/linux/io_uring/
H A Dkbuf.c29 __u32 bgid; member
35 unsigned int bgid) in io_buffer_get_list() argument
39 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() argument
50 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 …]
H A Dkbuf.h30 __u16 bgid; member
48 __u16 bgid; member
89 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()
H A Dmemmap.c297 unsigned int bgid; in io_uring_validate_mmap_request() local
300 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()
/linux/tools/include/uapi/linux/
H A Dio_uring.h682 __u16 bgid; member
/linux/include/uapi/linux/
H A Dio_uring.h805 __u16 bgid; member