pub const io_sqring_offsets = extern struct head: u32offset of ring head
tail: u32offset of ring tail
ring_mask: u32ring mask value
ring_entries: u32entries in ring
flags: u32ring flags
dropped: u32number of sqes not submitted
array: u32sqe index array
resv1: u32user_addr: u647523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547pub const io_sqring_offsets = extern struct {
/// offset of ring head
head: u32,
/// offset of ring tail
tail: u32,
/// ring mask value
ring_mask: u32,
/// entries in ring
ring_entries: u32,
/// ring flags
flags: u32,
/// number of sqes not submitted
dropped: u32,
/// sqe index array
array: u32,
resv1: u32,
user_addr: u64,
}
Filled with the offset for mmap(2)