syscall.sh / xtensa / clock_nanosleep_time64

clock_nanosleep_time64

high-resolution sleep with specifiable clock

sys_clock_nanosleep(clockid_t which_clock, int flags, const struct __kernel_timespec *rqtp, struct __kernel_timespec *rmtp)
number407 (0x197)
abicommon
entry pointsys_clock_nanosleep
sinceLinux 5.1
man pageclock_nanosleep(2)
sourceelixir.bootlin.com

Registers

registervalue
a2407, the syscall number
a6clockid_t which_clock
a3int flags
a4const struct __kernel_timespec *rqtp
a5struct __kernel_timespec *rmtp
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/clock_nanosleep_time64