syscall.sh / hexagon / 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)
number286 (0x11e)
abicommon
entry pointsys_preadv2
sinceLinux 4.6
man pagepreadv2(2)
sourceelixir.bootlin.com

Registers

registervalue
r6286, the syscall number
r0unsigned long fd
r1const struct iovec *vec
r2unsigned long vlen
r3unsigned long pos_l
r4unsigned long pos_h
r5rwf_t flags
r0the return value

Then run trap0(#1) to enter the kernel.

Same syscall on other architectures

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