syscall.sh / ppc64 / 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)
number380 (0x17c)
abicommon
entry pointsys_preadv2
sinceLinux 5.0
man pagepreadv2(2)
sourceelixir.bootlin.com

Registers

registervalue
r0380, the syscall number
r3unsigned long fd
r4const struct iovec *vec
r5unsigned long vlen
r6unsigned long pos_l
r7unsigned long pos_h
r8rwf_t flags
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/preadv2