syscall.sh / loongarch64 / mount

mount

mount filesystem

sys_mount(char *dev_name, char *dir_name, char *type, unsigned long flags, void *data)
number40 (0x28)
abicommon
entry pointsys_mount
sinceLinux 5.19
man pagemount(2)
sourceelixir.bootlin.com

Registers

registervalue
a740, the syscall number
a0char *dev_name
a1char *dir_name
a2char *type
a3unsigned long flags
a4void *data
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/mount