name_to_handle_at on blackfin

obtain handle for a pathname and open file via a handle

sys_name_to_handle_at(int dfd, const char *name, struct file_handle *handle, int *mnt_id, int flag)
number375 (0x177)
abicommon
kconfigCONFIG_FHANDLE
entry pointsys_name_to_handle_at
sinceLinux 3.3 or earlier (3.3 is the first release scanned for blackfin)
man pagename_to_handle_at(2)
sourceelixir.bootlin.com

Registers

registervalue
P0375, the syscall number
R0int dfd
R1const char *name
R2struct file_handle *handle
R3int *mnt_id
R4int flag
R0the return value

Then run excpt 0 to enter the kernel.

This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/blackfin/name_to_handle_at?kernel=all