syscall.sh / riscv64 / io_cancel
io_cancel
cancel an outstanding asynchronous I/O operation
sys_io_cancel(aio_context_t ctx_id, struct iocb *iocb, struct io_event *result)
| number | 3 (0x3) |
|---|---|
| abi | common |
| entry point | sys_io_cancel |
| since | Linux 4.15 |
| man page | io_cancel(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 3, the syscall number |
a0 | aio_context_t ctx_id |
a1 | struct iocb *iocb |
a2 | struct io_event *result |
a0 | the return value |
Then run ecall to enter the kernel.
Same syscall on other architectures
- x64 210
- x86 249
- arm64 3
- arm 247
- x32 1073742034
- loongarch64 3
- ppc64 231
- ppc 231
- s390x 247
- mips64 5204
- mipsn32 6204
- mipso32 4245
- alpha 402
- arc 3
- csky 3
- hexagon 3
- m68k 245
- microblaze 249
- nios2 3
- openrisc 3
- parisc 219
- sh 249
- sparc 271
- sparc64 271
- xtensa 243
Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/io_cancel