syscall.sh / loongarch64 / semtimedop

semtimedop

System V semaphore operations

sys_semtimedop(int semid, struct sembuf *sops, unsigned nsops, const struct __kernel_timespec *timeout)
number192 (0xc0)
abi64
entry pointsys_semtimedop
sinceLinux 5.19
man pagesemtimedop(2)
sourceelixir.bootlin.com

Registers

registervalue
a7192, the syscall number
a0int semid
a1struct sembuf *sops
a2unsigned nsops
a3const struct __kernel_timespec *timeout
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/semtimedop