timerfd_gettime on loongarch64

timers that notify via file descriptors

sys_timerfd_gettime(int ufd, struct __kernel_itimerspec *otmr)
number87 (0x57)
abi64
kconfigCONFIG_TIMERFD
entry pointsys_timerfd_gettime
sinceLinux 5.19 or earlier (5.19 is the first release scanned for loongarch64)
man pagetimerfd_gettime(2)
sourceelixir.bootlin.com

Registers

registervalue
a787, the syscall number
a0int ufd
a1struct __kernel_itimerspec *otmr
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/timerfd_gettime