syscall.sh / alpha / statx

statx

get file status (extended)

sys_statx(int dfd, const char *path, unsigned flags, unsigned mask, struct statx *buffer)
number522 (0x20a)
abicommon
entry pointsys_statx
sinceLinux 5.0
man pagestatx(2)
sourceelixir.bootlin.com

Registers

registervalue
v0522, the syscall number
a0int dfd
a1const char *path
a2unsigned flags
a3unsigned mask
a4struct statx *buffer
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/statx