syscall.sh / riscv64 / io_submit
io_submit
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 |
| entry point | sys_io_submit |
| since | Linux 4.15 |
| man page | io_submit(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 2, the syscall number |
a0 | aio_context_t ctx_id |
a1 | long nr |
a2 | struct iocb * *iocbpp |
a0 | the return value |
Then run ecall to enter the kernel.
Same syscall on other architectures
- x64 209
- x86 248
- arm64 2
- arm 246
- x32 1073742033, 1073742368
- loongarch64 2
- ppc64 230
- ppc 230
- s390x 246
- mips64 5203
- mipsn32 6203
- mipso32 4244
- alpha 401
- arc 2
- csky 2
- hexagon 2
- m68k 244
- microblaze 248
- nios2 2
- openrisc 2
- parisc 218
- sh 248
- sparc 270
- sparc64 270
- xtensa 241
Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/io_submit