timer_settime on loongarch64
arm/disarm and fetch state of POSIX per-process timer
sys_timer_settime(timer_t timer_id, int flags, const struct __kernel_itimerspec *new_setting, struct __kernel_itimerspec *old_setting)
| number | 110 (0x6e) |
|---|---|
| abi | 64 |
| kconfig | CONFIG_POSIX_TIMERS |
| entry point | sys_timer_settime |
| since | Linux 5.19 or earlier (5.19 is the first release scanned for loongarch64) |
| man page | timer_settime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 110, the syscall number |
a0 | timer_t timer_id |
a1 | int flags |
a2 | const struct __kernel_itimerspec *new_setting |
a3 | struct __kernel_itimerspec *old_setting |
a0 | the return value |
Then run syscall 0 to enter the kernel.
Same syscall on other architectures
- x64 223
- x86 260
- arm64 110
- arm 258
- riscv64 110
- ia32 260
- x32 1073742047
- ppc64 241
- ppc 241
- s390x 255
- mips64 5217
- mipsn32 6221
- mipso32 4258
- alpha 415
- arc 110
- blackfin 261, removed in 4.17
- cris 260, removed in 4.17
- csky 110
- frv 260, removed in 4.17
- hexagon 110
- ia64 1249, removed in 6.7
- m32r 260, removed in 4.17
- m68k 255
- metag 110, removed in 4.17
- microblaze 260
- mn10300 260, removed in 4.17
- nds32 110, removed in 5.18
- nios2 110
- openrisc 110
- parisc 251
- score 110, removed in 4.17
- sh 260
- sparc 262
- sparc64 262
- tilegx 110, removed in 4.17
- tilepro 110, removed in 4.17
- xtensa 250
Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/timer_settime