syscall.sh / xtensa / semop

semop

System V semaphore operations

sys_semop(int semid, struct sembuf *sops, unsigned nsops)
number163 (0xa3)
abicommon
entry pointsys_semop
sinceLinux 5.0
man pagesemop(2)
sourceelixir.bootlin.com

Registers

registervalue
a2163, the syscall number
a6int semid
a3struct sembuf *sops
a4unsigned nsops
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/semop