syscall.sh / xtensa / semtimedop

semtimedop

System V semaphore operations

sys_semtimedop_time32(int semid, struct sembuf *sops, unsigned nsops, const struct old_timespec32 *timeout)
number161 (0xa1)
abicommon
entry pointsys_semtimedop_time32
sinceLinux 5.0
man pagesemtimedop(2)
sourceelixir.bootlin.com

Registers

registervalue
a2161, the syscall number
a6int semid
a3struct sembuf *sops
a4unsigned nsops
a5const struct old_timespec32 *timeout
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/semtimedop