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

Asynchronous completion queue entry (CQE). More...

#include <ioring.h>

Collaboration diagram for cqe_t:

Data Fields

io_op_t op
 The operation that was performed.
 
errno_t error
 Error code, if not equal to EOK an error occurred.
 
void * data
 Private data from the submission entry.
 
union { 
 
   fd_t   fd 
 
   size_t   count 
 
   void *   ptr 
 
   io_events_t   events 
 
   uint64_t   _result 
 
};  
 
uint64_t _padding [1]
 

Detailed Description

Asynchronous completion queue entry (CQE).

See also
I/O Subsystem for more information on the possible operations.

Definition at line 142 of file ioring.h.

Field Documentation

◆ op

io_op_t cqe_t::op

The operation that was performed.

Definition at line 144 of file ioring.h.

◆ error

errno_t cqe_t::error

Error code, if not equal to EOK an error occurred.

Definition at line 145 of file ioring.h.

◆ data

void* cqe_t::data

Private data from the submission entry.

Definition at line 146 of file ioring.h.

◆ fd

fd_t cqe_t::fd

Definition at line 148 of file ioring.h.

◆ count

size_t cqe_t::count

Definition at line 149 of file ioring.h.

◆ ptr

void* cqe_t::ptr

Definition at line 150 of file ioring.h.

◆ events

io_events_t cqe_t::events

Definition at line 151 of file ioring.h.

◆ _result

uint64_t cqe_t::_result

Definition at line 152 of file ioring.h.

◆ [union]

union { ... } cqe_t

◆ _padding

uint64_t cqe_t::_padding[1]

Definition at line 154 of file ioring.h.


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