syscall.sh / sh / io_setup

io_setup

create an asynchronous I/O context

sys_io_setup(unsigned nr_events, aio_context_t *ctxp)
number245 (0xf5)
abicommon
entry pointsys_io_setup
sinceLinux 5.0
man pageio_setup(2)
sourceelixir.bootlin.com

Registers

registervalue
r3245, the syscall number
r4unsigned nr_events
r5aio_context_t *ctxp
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/io_setup