syscall.sh / riscv64 / fsopen

fsopen

create a new filesystem context

sys_fsopen(const char *fs_name, unsigned int flags)
number430 (0x1ae)
abicommon
entry pointsys_fsopen
sinceLinux 5.2
man pagefsopen(2)
sourceelixir.bootlin.com

Registers

registervalue
a7430, the syscall number
a0const char *fs_name
a1unsigned int flags
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/fsopen