munlock on tilepro
lock and unlock memory
sys_munlock(unsigned long start, size_t len)
| number | 229 (0xe5) |
|---|---|
| abi | common |
| entry point | sys_munlock |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | munlock(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 229, the syscall number |
r0 | unsigned long start |
r1 | size_t len |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 150
- x86 151
- arm64 229
- arm 151
- riscv64 229
- ia32 151
- x32 1073741974
- loongarch64 229
- ppc64 151
- ppc 151
- s390x 151
- mips64 5147
- mipsn32 6147
- mipso32 4155
- alpha 315
- arc 229
- cris 151, removed in 4.17
- csky 229
- frv 151, removed in 4.17
- hexagon 229
- ia64 1158, removed in 6.7
- m32r 151, removed in 4.17
- m68k 151
- metag 229, removed in 4.17
- microblaze 151
- mn10300 151, removed in 4.17
- nds32 229, removed in 5.18
- nios2 229
- openrisc 229
- parisc 151
- score 229, removed in 4.17
- sh 151
- sparc 238
- sparc64 238
- tilegx 229, removed in 4.17
- xtensa 85
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/munlock?kernel=all