io_cancel on score
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 |
| kconfig | CONFIG_AIO |
| family | aio see the whole family on score |
| entry point | sys_io_cancel |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | io_cancel(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 3, the syscall number |
r4 | aio_context_t ctx_id |
r5 | struct iocb *iocb |
r6 | struct io_event *result |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 210
- x86 249
- arm64 3
- arm 247
- riscv64 3
- ia32 249
- x32 1073742034
- loongarch64 3
- ppc64 231
- ppc 231
- s390x 247
- mips64 5204
- mipsn32 6204
- mipso32 4245
- alpha 402
- arc 3
- blackfin 249, removed in 4.17
- cris 249, removed in 4.17
- csky 3
- frv 249, removed in 4.17
- hexagon 3
- ia64 1242, removed in 6.7
- m32r 249, removed in 4.17
- m68k 245
- metag 3, removed in 4.17
- microblaze 249
- mn10300 249, removed in 4.17
- nds32 3, removed in 5.18
- nios2 3
- openrisc 3
- parisc 219
- sh 249
- sparc 271
- sparc64 271
- tilegx 3, removed in 4.17
- tilepro 3, removed in 4.17
- xtensa 243
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/io_cancel?kernel=all