io_submit on score
submit asynchronous I/O blocks for processing
sys_io_submit(aio_context_t ctx_id, long nr, struct iocb * *iocbpp)
| number | 2 (0x2) |
|---|---|
| abi | common |
| kconfig | CONFIG_AIO |
| family | aio see the whole family on score |
| entry point | sys_io_submit |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | io_submit(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 2, the syscall number |
r4 | aio_context_t ctx_id |
r5 | long nr |
r6 | struct iocb * *iocbpp |
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 209
- x86 248
- arm64 2
- arm 246
- riscv64 2
- ia32 248
- x32 1073742033, 1073742368
- loongarch64 2
- ppc64 230
- ppc 230
- s390x 246
- mips64 5203
- mipsn32 6203
- mipso32 4244
- alpha 401
- arc 2
- blackfin 248, removed in 4.17
- cris 248, removed in 4.17
- csky 2
- frv 248, removed in 4.17
- hexagon 2
- ia64 1241, removed in 6.7
- m32r 248, removed in 4.17
- m68k 244
- metag 2, removed in 4.17
- microblaze 248
- mn10300 248, removed in 4.17
- nds32 2, removed in 5.18
- nios2 2
- openrisc 2
- parisc 218
- sh 248
- sparc 270
- sparc64 270
- tilegx 2, removed in 4.17
- tilepro 2, removed in 4.17
- xtensa 241
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/io_submit?kernel=all