io_cancel on riscv64

cancel an outstanding asynchronous I/O operation

sys_io_cancel(aio_context_t ctx_id, struct iocb *iocb, struct io_event *result)
number3 (0x3)
abicommon
kconfigCONFIG_AIO
familyaio see the whole family on riscv64
entry pointsys_io_cancel
sinceLinux 4.15 or earlier (4.15 is the first release scanned for riscv64)
man pageio_cancel(2)
sourceelixir.bootlin.com

Registers

registervalue
a73, the syscall number
a0aio_context_t ctx_id
a1struct iocb *iocb
a2struct io_event *result
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_cancel