Searched refs:cring (Results 1 – 1 of 1) sorted by relevance
387 struct io_uring_queue *cring = &s->cq_ring; in mmap_io_uring() local390 cring->ring_sz = p.cq_off.cqes + p.cq_entries * sizeof(struct io_uring_cqe); in mmap_io_uring()393 if (cring->ring_sz > sring->ring_sz) in mmap_io_uring()394 sring->ring_sz = cring->ring_sz; in mmap_io_uring()396 cring->ring_sz = sring->ring_sz; in mmap_io_uring()411 cq_ptr = mmap(0, cring->ring_sz, PROT_READ | PROT_WRITE, in mmap_io_uring()436 munmap(cq_ptr, cring->ring_sz); 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()[all …]