syscall.sh / mipsn32 / cachestat
cachestat
query the page cache statistics of a file
sys_cachestat(unsigned int fd, struct cachestat_range *cstat_range, struct cachestat *cstat, unsigned int flags)
| number | 6451 (0x1933) |
|---|---|
| abi | n32 |
| entry point | sys_cachestat |
| since | Linux 6.5 |
| man page | cachestat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 6451, the syscall number |
a0 | unsigned int fd |
a1 | struct cachestat_range *cstat_range |
a2 | struct cachestat *cstat |
a3 | unsigned int flags |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 451
- x86 451
- arm64 451
- arm 451
- riscv64 451
- x32 1073742275
- loongarch64 451
- ppc64 451
- ppc 451
- s390x 451
- mips64 5451
- mipso32 4451
- alpha 561
- arc 451
- csky 451
- hexagon 451
- m68k 451
- microblaze 451
- nios2 451
- openrisc 451
- parisc 451
- sh 451
- sparc 451
- sparc64 451
- xtensa 451
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipsn32/cachestat