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)
number6451 (0x1933)
abin32
entry pointsys_cachestat
sinceLinux 6.5
man pagecachestat(2)
sourceelixir.bootlin.com

Registers

registervalue
v06451, the syscall number
a0unsigned int fd
a1struct cachestat_range *cstat_range
a2struct cachestat *cstat
a3unsigned int flags
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mipsn32/cachestat