PatchworkOS
19e446b
A non-POSIX operating system.
Theme:
Default
Round
Robot
Loading...
Searching...
No Matches
ioring_enter.c
Go to the documentation of this file.
1
#include <
sys/ioring.h
>
2
3
#include "
user/common/syscalls.h
"
4
5
uint64_t
ioring_enter
(
ioring_id_t
id
,
size_t
amount,
size_t
wait)
6
{
7
uint64_t
result =
_syscall_enter
(
id
, amount, wait);
8
if
(result ==
ERR
)
9
{
10
errno
=
_syscall_errno
();
11
}
12
return
result;
13
}
errno
#define errno
Error number variable.
Definition
errno.h:27
ioring_enter
uint64_t ioring_enter(ioring_id_t id, size_t amount, size_t wait)
System call to notify the kernel of new submission queue entries (SQEs).
Definition
ioring_enter.c:5
ioring_id_t
uint64_t ioring_id_t
I/O ring ID type.
Definition
ioring.h:195
ERR
#define ERR
Integer error value.
Definition
ERR.h:17
ioring.h
uint64_t
__UINT64_TYPE__ uint64_t
Definition
stdint.h:17
syscalls.h
_syscall_enter
static uint64_t _syscall_enter(ioring_id_t id, size_t amount, size_t wait)
Definition
syscalls.h:299
_syscall_errno
static errno_t _syscall_errno(void)
Definition
syscalls.h:107
src
libstd
user
functions
ioring
ioring_enter.c
Generated on Sat Jan 24 2026 10:59:25 for PatchworkOS by
1.9.8