syscall.sh / xtensa / sync
sync
commit filesystem caches to disk
sys_sync(void)
| number | 178 (0xb2) |
|---|---|
| abi | common |
| entry point | sys_sync |
| since | Linux 5.0 |
| man page | sync(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a2 | 178, the syscall number |
a2 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 162
- x86 36
- arm64 81
- arm 36
- riscv64 81
- x32 1073741986
- loongarch64 81
- ppc64 36
- ppc 36
- s390x 36
- mips64 5157
- mipsn32 6157
- mipso32 4036
- alpha 36
- arc 81
- csky 81
- hexagon 81
- m68k 36
- microblaze 36
- nios2 81
- openrisc 81
- parisc 36
- sh 36
- sparc 36
- sparc64 36
Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/sync