class IoUring

Defined at line 38 of file ../../src/starnix/tests/syscalls/cpp/io_uring_helper.h

An RAII helper class that manages the lifetime and memory mappings of an io_uring instance.

Public Methods

fit::result<int, std::unique_ptr<IoUring>> Create (uint32_t entries, io_uring_params params)

Returns the instance or the system errno on failure.

Defined at line 20 of file ../../src/starnix/tests/syscalls/cpp/io_uring_helper.cc

void IoUring (const IoUring & )

Defined at line 44 of file ../../src/starnix/tests/syscalls/cpp/io_uring_helper.h

IoUring & operator= (const IoUring & )

Defined at line 45 of file ../../src/starnix/tests/syscalls/cpp/io_uring_helper.h

void IoUring (IoUring && )

Defined at line 46 of file ../../src/starnix/tests/syscalls/cpp/io_uring_helper.h

IoUring & operator= (IoUring && )

Defined at line 47 of file ../../src/starnix/tests/syscalls/cpp/io_uring_helper.h

int fd ()

Defined at line 49 of file ../../src/starnix/tests/syscalls/cpp/io_uring_helper.h

const io_uring_params & params ()

Defined at line 50 of file ../../src/starnix/tests/syscalls/cpp/io_uring_helper.h

io_uring_sqe * sqes ()

Defined at line 52 of file ../../src/starnix/tests/syscalls/cpp/io_uring_helper.h

io_uring_cqe * cqes ()

Defined at line 53 of file ../../src/starnix/tests/syscalls/cpp/io_uring_helper.h

uint32_t * sq_array ()

Defined at line 54 of file ../../src/starnix/tests/syscalls/cpp/io_uring_helper.h

std::atomic<uint32_t> * sq_tail_ptr ()

Defined at line 55 of file ../../src/starnix/tests/syscalls/cpp/io_uring_helper.h

std::atomic<uint32_t> * cq_head_ptr ()

Defined at line 56 of file ../../src/starnix/tests/syscalls/cpp/io_uring_helper.h

std::atomic<uint32_t> * cq_tail_ptr ()

Defined at line 57 of file ../../src/starnix/tests/syscalls/cpp/io_uring_helper.h