Searched refs:sq_ptr (Results 1 – 1 of 1) sorted by relevance
399 void *sq_ptr = mmap(0, sring->ring_sz, PROT_READ | PROT_WRITE, in mmap_io_uring() local403 if (sq_ptr == MAP_FAILED) { in mmap_io_uring()408 void *cq_ptr = sq_ptr; in mmap_io_uring()416 munmap(sq_ptr, sring->ring_sz); in mmap_io_uring()421 sring->head = sq_ptr + p.sq_off.head; in mmap_io_uring()422 sring->tail = sq_ptr + p.sq_off.tail; in mmap_io_uring()423 sring->ring_mask = sq_ptr + p.sq_off.ring_mask; in mmap_io_uring()424 sring->ring_entries = sq_ptr + p.sq_off.ring_entries; in mmap_io_uring()425 sring->flags = sq_ptr + p.sq_off.flags; in mmap_io_uring()426 sring->array = sq_ptr + p.sq_off.array; in mmap_io_uring()[all …]