syscall.sh / loongarch64 / sched_getparam
sched_getparam
set and get scheduling parameters
sys_sched_getparam(pid_t pid, struct sched_param *param)
| number | 121 (0x79) |
|---|---|
| abi | common |
| entry point | sys_sched_getparam |
| since | Linux 5.19 |
| man page | sched_getparam(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 121, the syscall number |
a0 | pid_t pid |
a1 | struct sched_param *param |
a0 | the return value |
Then run syscall 0 to enter the kernel.
Same syscall on other architectures
- x64 143
- x86 155
- arm64 121
- arm 155
- riscv64 121
- x32 1073741967
- ppc64 155
- ppc 155
- s390x 155
- mips64 5140
- mipsn32 6140
- mipso32 4159
- alpha 331
- arc 121
- csky 121
- hexagon 121
- m68k 155
- microblaze 155
- nios2 121
- openrisc 121
- parisc 155
- sh 155
- sparc 242
- sparc64 242
- xtensa 213
Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/sched_getparam