PatchworkOS  dbbdc99
A non-POSIX operating system.
Loading...
Searching...
No Matches
ring.h File Reference
#include <kernel/config.h>
#include <kernel/io/irp.h>
#include <kernel/log/panic.h>
#include <kernel/mem/mdl.h>
#include <kernel/mem/vmm.h>
#include <kernel/sched/wait.h>
#include <kernel/sync/lock.h>
#include <string.h>
#include <sys/ioring.h>
Include dependency graph for ring.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ioring_ctx_t
 The kernel-side ring context structure. More...
 

Enumerations

enum  ioring_ctx_flags_t { IORING_CTX_NONE = 0 , IORING_CTX_BUSY = 1 << 0 , IORING_CTX_MAPPED = 1 << 1 }
 Ring context flags. More...
 

Functions

void ioring_ctx_init (ioring_ctx_t *ctx)
 Initialize a I/O context.
 
void ioring_ctx_deinit (ioring_ctx_t *ctx)
 Deinitialize a I/O context.
 
uint64_t ioring_ctx_notify (ioring_ctx_t *ctx, size_t amount, size_t wait)
 Notify the context of new SQEs.