io_setup on loongarch64

create an asynchronous I/O context

sys_io_setup(unsigned nr_events, aio_context_t *ctxp)
number0 (0x0)
abicommon
kconfigCONFIG_AIO
familyaio see the whole family on loongarch64
entry pointsys_io_setup
sinceLinux 5.19 or earlier (5.19 is the first release scanned for loongarch64)
man pageio_setup(2)
sourceelixir.bootlin.com

Registers

registervalue
a70, the syscall number
a0unsigned nr_events
a1aio_context_t *ctxp
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

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