io_setup on score
create an asynchronous I/O context
sys_io_setup(unsigned nr_events, aio_context_t *ctxp)
| number | 0 (0x0) |
|---|---|
| abi | common |
| kconfig | CONFIG_AIO |
| family | aio see the whole family on score |
| entry point | sys_io_setup |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | io_setup(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 0, the syscall number |
r4 | unsigned nr_events |
r5 | aio_context_t *ctxp |
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 206
- x86 245
- arm64 0
- arm 243
- riscv64 0
- ia32 245
- x32 1073742030, 1073742367
- loongarch64 0
- ppc64 227
- ppc 227
- s390x 243
- mips64 5200
- mipsn32 6200
- mipso32 4241
- alpha 398
- arc 0
- blackfin 245, removed in 4.17
- cris 245, removed in 4.17
- csky 0
- frv 245, removed in 4.17
- hexagon 0
- ia64 1238, removed in 6.7
- m32r 245, removed in 4.17
- m68k 241
- metag 0, removed in 4.17
- microblaze 245
- mn10300 245, removed in 4.17
- nds32 0, removed in 5.18
- nios2 0
- openrisc 0
- parisc 215
- sh 245
- sparc 268
- sparc64 268
- tilegx 0, removed in 4.17
- tilepro 0, removed in 4.17
- xtensa 239
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/io_setup?kernel=all