PatchworkOS  19e446b
A non-POSIX operating system.
Loading...
Searching...
No Matches

User I/O ring structure. More...

#include <ioring.h>

Collaboration diagram for ioring_t:

Data Fields

ioring_ctrl_tctrl
 Pointer to the shared control structure.
 
ioring_id_t id
 The ID of the ring.
 
sqe_tsqueue
 Pointer to the submission queue.
 
size_t sentries
 Number of entries in the submission queue.
 
size_t smask
 Bitmask for submission queue (sentries - 1).
 
cqe_tcqueue
 Pointer to the completion queue.
 
size_t centries
 Number of entries in the completion queue.
 
size_t cmask
 Bitmask for completion queue (centries - 1).
 

Detailed Description

User I/O ring structure.

The kernel and userspace will have their own instances of this structure.

Definition at line 203 of file ioring.h.

Field Documentation

◆ ctrl

ioring_ctrl_t* ioring_t::ctrl

Pointer to the shared control structure.

Definition at line 205 of file ioring.h.

◆ id

ioring_id_t ioring_t::id

The ID of the ring.

Definition at line 206 of file ioring.h.

◆ squeue

sqe_t* ioring_t::squeue

Pointer to the submission queue.

Definition at line 207 of file ioring.h.

◆ sentries

size_t ioring_t::sentries

Number of entries in the submission queue.

Definition at line 208 of file ioring.h.

◆ smask

size_t ioring_t::smask

Bitmask for submission queue (sentries - 1).

Definition at line 209 of file ioring.h.

◆ cqueue

cqe_t* ioring_t::cqueue

Pointer to the completion queue.

Definition at line 210 of file ioring.h.

◆ centries

size_t ioring_t::centries

Number of entries in the completion queue.

Definition at line 211 of file ioring.h.

◆ cmask

size_t ioring_t::cmask

Bitmask for completion queue (centries - 1).

Definition at line 212 of file ioring.h.


The documentation for this struct was generated from the following file: