Searched refs:sq_off (Results 1 – 4 of 4) sorted by relevance
175 sq->ring_sz = p->sq_off.array + p->sq_entries * sizeof(unsigned); in io_uring_mmap()180 sq->khead = ptr + p->sq_off.head; in io_uring_mmap()181 sq->ktail = ptr + p->sq_off.tail; in io_uring_mmap()182 sq->kring_mask = ptr + p->sq_off.ring_mask; in io_uring_mmap()183 sq->kring_entries = ptr + p->sq_off.ring_entries; in io_uring_mmap()184 sq->kflags = ptr + p->sq_off.flags; in io_uring_mmap()185 sq->kdropped = ptr + p->sq_off.dropped; in io_uring_mmap()186 sq->array = ptr + p->sq_off.array; in io_uring_mmap()
389 sring->ring_sz = p.sq_off.array + p.sq_entries * sizeof(unsigned int); 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()
482 struct io_sqring_offsets sq_off; member
3798 ptr = io_sqes_map(ctx, p->sq_off.user_addr, size); in io_allocate_scq_urings()3985 p->sq_off.head = offsetof(struct io_rings, sq.head); in io_uring_create()3986 p->sq_off.tail = offsetof(struct io_rings, sq.tail); in io_uring_create()3987 p->sq_off.ring_mask = offsetof(struct io_rings, sq_ring_mask); in io_uring_create()3988 p->sq_off.ring_entries = offsetof(struct io_rings, sq_ring_entries); in io_uring_create()3989 p->sq_off.flags = offsetof(struct io_rings, sq_flags); in io_uring_create()3990 p->sq_off.dropped = offsetof(struct io_rings, sq_dropped); in io_uring_create()3992 p->sq_off.array = (char *)ctx->sq_array - (char *)ctx->rings; in io_uring_create()3993 p->sq_off.resv1 = 0; in io_uring_create()3995 p->sq_off.user_addr = 0; in io_uring_create()