syscall.sh / s390x / timerfd_gettime
timerfd_gettime
timers that notify via file descriptors
sys_timerfd_gettime(int ufd, struct __kernel_itimerspec *otmr)
| number | 321 (0x141) |
|---|---|
| abi | common |
| entry point | sys_timerfd_gettime |
| since | Linux 4.16 |
| man page | timerfd_gettime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r1 | 321, the syscall number |
r2 | int ufd |
r3 | struct __kernel_itimerspec *otmr |
r2 | the return value |
Then run svc 0 to enter the kernel.
Same syscall on other architectures
- x64 287
- x86 326
- arm64 87
- arm 354
- riscv64 87
- x32 1073742111
- loongarch64 87
- ppc64 312
- ppc 312
- mips64 5281
- mipsn32 6285
- mipso32 4322
- alpha 483
- arc 87
- csky 87
- hexagon 87
- m68k 322
- microblaze 327
- nios2 87
- openrisc 87
- parisc 308
- sh 326
- sparc 316
- sparc64 316
- xtensa 314
Get this as JSON: https://api.syscall.sh/v2/syscalls/s390x/timerfd_gettime