io_uring_register on riscv64

register files or user buffers for asynchronous I/O

sys_io_uring_register(unsigned int fd, unsigned int op, void *arg, unsigned int nr_args)
number427 (0x1ab)
abicommon
kconfigCONFIG_IO_URING
familyio_uring see the whole family on riscv64
entry pointsys_io_uring_register
sinceLinux 5.1
man pageio_uring_register(2)
sourceelixir.bootlin.com

Registers

registervalue
a7427, the syscall number
a0unsigned int fd
a1unsigned int op
a2void *arg
a3unsigned int nr_args
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

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