syscall.sh / parisc / preadv2
preadv2
read or write data into multiple buffers
sys_preadv2(unsigned long fd, const struct iovec *vec, unsigned long vlen, unsigned long pos_l, unsigned long pos_h, rwf_t flags)
| number | 347 (0x15b) |
|---|---|
| abi | common |
| entry point | sys_preadv2 |
| since | Linux 5.0 |
| man page | preadv2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 347, 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 |
r21 | rwf_t flags |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
- x64 327
- x86 378
- arm64 286
- arm 392
- riscv64 286
- x32 1073742358, 1073742370
- loongarch64 286
- ppc64 380
- ppc 380
- s390x 376
- mips64 5321
- mipsn32 6325
- mipso32 4361
- alpha 520
- arc 286
- csky 286
- hexagon 286
- m68k 377
- microblaze 393
- nios2 286
- openrisc 286
- sh 381
- sparc 358
- sparc64 358
- xtensa 346
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/preadv2