io_cancel on arm64

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 arm64
entry pointsys_io_cancel
sinceLinux 3.7 or earlier (3.7 is the first release scanned for arm64)
man pageio_cancel(2)
sourceelixir.bootlin.com

Registers

registervalue
x83, the syscall number
x0aio_context_t ctx_id
x1struct iocb *iocb
x2struct io_event *result
x0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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