syscall.sh / parisc / preadv
preadv
read or write data into multiple buffers
sys_preadv(unsigned long fd, const struct iovec *vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h)
| number | 315 (0x13b) |
|---|---|
| abi | common |
| entry point | sys_preadv |
| since | Linux 5.0 |
| man page | preadv(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 315, the syscall number |
r26 | unsigned long fd |
r25 | const struct iovec *vec |
r24 | unsigned long vlen |
r23 | unsigned long pos_l |
r22 | unsigned long pos_h |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
- x64 295
- x86 333
- arm64 69
- arm 361
- riscv64 69
- x32 1073742358
- loongarch64 69
- ppc64 320
- ppc 320
- s390x 328
- mips64 5289
- mipsn32 6293
- mipso32 4330
- alpha 490
- arc 69
- csky 69
- hexagon 69
- m68k 329
- microblaze 363
- nios2 69
- openrisc 69
- sh 333
- sparc 324
- sparc64 324
- xtensa 317
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/preadv