syscall.sh / xtensa / _llseek

_llseek

reposition read/write file offset

sys_llseek(unsigned int fd, unsigned long offset_high, unsigned long offset_low, loff_t *result, unsigned int whence)
number17 (0x11)
abicommon
entry pointsys_llseek
sinceLinux 5.0
man page_llseek(2)
sourceelixir.bootlin.com

Registers

registervalue
a217, the syscall number
a6unsigned int fd
a3unsigned long offset_high
a4unsigned long offset_low
a5loff_t *result
a8unsigned int whence
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/_llseek