Searched refs:cq_off (Results 1 – 6 of 6) sorted by relevance
/linux/tools/include/io_uring/ |
H A D | mini_liburing.h | 98 cq->ring_sz = p->cq_off.cqes + p->cq_entries * sizeof(struct io_uring_cqe); in io_uring_mmap() 106 cq->khead = ptr + p->cq_off.head; in io_uring_mmap() 107 cq->ktail = ptr + p->cq_off.tail; in io_uring_mmap() 108 cq->kring_mask = ptr + p->cq_off.ring_mask; in io_uring_mmap() 109 cq->kring_entries = ptr + p->cq_off.ring_entries; in io_uring_mmap() 110 cq->koverflow = ptr + p->cq_off.overflow; in io_uring_mmap() 111 cq->cqes = ptr + p->cq_off.cqes; in io_uring_mmap()
|
/linux/tools/testing/selftests/x86/ |
H A D | lam.c | 390 cring->ring_sz = p.cq_off.cqes + p.cq_entries * sizeof(struct io_uring_cqe); in mmap_io_uring() 441 cring->head = cq_ptr + p.cq_off.head; in mmap_io_uring() 442 cring->tail = cq_ptr + p.cq_off.tail; in mmap_io_uring() 443 cring->ring_mask = cq_ptr + p.cq_off.ring_mask; in mmap_io_uring() 444 cring->ring_entries = cq_ptr + p.cq_off.ring_entries; in mmap_io_uring() 445 cring->queue.cqes = cq_ptr + p.cq_off.cqes; in mmap_io_uring()
|
/linux/io_uring/ |
H A D | io_uring.c | 3500 rings = io_rings_map(ctx, p->cq_off.user_addr, size); in io_allocate_scq_urings() 3612 p->cq_off.head = offsetof(struct io_rings, cq.head); in io_uring_fill_params() 3613 p->cq_off.tail = offsetof(struct io_rings, cq.tail); in io_uring_fill_params() 3614 p->cq_off.ring_mask = offsetof(struct io_rings, cq_ring_mask); in io_uring_fill_params() 3615 p->cq_off.ring_entries = offsetof(struct io_rings, cq_ring_entries); in io_uring_fill_params() 3616 p->cq_off.overflow = offsetof(struct io_rings, cq_overflow); in io_uring_fill_params() 3617 p->cq_off.cqes = offsetof(struct io_rings, cqes); in io_uring_fill_params() 3618 p->cq_off.flags = offsetof(struct io_rings, cq_flags); in io_uring_fill_params() 3619 p->cq_off.resv1 = 0; in io_uring_fill_params() 3621 p->cq_off.user_addr = 0; in io_uring_fill_params()
|
H A D | register.c | 448 p.cq_off.user_addr, size); in io_register_resize_rings()
|
/linux/tools/include/uapi/linux/ |
H A D | io_uring.h | 495 struct io_cqring_offsets cq_off; member
|
/linux/include/uapi/linux/ |
H A D | io_uring.h | 542 struct io_cqring_offsets cq_off; member
|