codex
Loading...
Searching...
No Matches
io_uring.c File Reference
#include <errno.h>
#include <stdatomic.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/syscall.h>
#include <sys/uio.h>
#include <unistd.h>
#include <linux/io_uring.h>
Include dependency graph for io_uring.c:

Macros

#define ENTRIES   64
 
#define BUFFER_SIZE   512
 

Functions

int io_uring_setup (uint32_t entries, struct io_uring_params *p)
 
int io_uring_enter (unsigned fd, unsigned to_submit, unsigned min_complete, unsigned flags, sigset_t *sig)
 
int main ()
 

Macro Definition Documentation

◆ BUFFER_SIZE

#define BUFFER_SIZE   512

◆ ENTRIES

#define ENTRIES   64

Function Documentation

◆ io_uring_enter()

int io_uring_enter ( unsigned fd,
unsigned to_submit,
unsigned min_complete,
unsigned flags,
sigset_t * sig )
Here is the caller graph for this function:

◆ io_uring_setup()

int io_uring_setup ( uint32_t entries,
struct io_uring_params * p )
Here is the caller graph for this function:

◆ main()

int main ( void )
Here is the call graph for this function: