io_uring_register on loongarch64

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 loongarch64
entry pointsys_io_uring_register
sinceLinux 5.19 or earlier (5.19 is the first release scanned for loongarch64)
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 syscall 0 to enter the kernel.

Same syscall on other architectures

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