Searched refs:fs_fd (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_obj_pinning.c | 18 static inline int sys_fsconfig(int fs_fd, unsigned cmd, const char *key, const void *val, int aux) in sys_fsconfig() argument 20 return syscall(__NR_fsconfig, fs_fd, cmd, key, val, aux); in sys_fsconfig() 23 static inline int sys_fsmount(int fs_fd, unsigned flags, unsigned ms_flags) in sys_fsmount() argument 25 return syscall(__NR_fsmount, fs_fd, flags, ms_flags); in sys_fsmount() 40 int fs_fd = -1, mnt_fd = -1; in bpf_obj_pinning_detached() local 50 fs_fd = sys_fsopen("bpf", 0); in bpf_obj_pinning_detached() 51 if (!ASSERT_GE(fs_fd, 0, "fs_fd")) in bpf_obj_pinning_detached() 55 err = sys_fsconfig(fs_fd, FSCONFIG_CMD_CREATE, NULL, NULL, 0); in bpf_obj_pinning_detached() 60 mnt_fd = sys_fsmount(fs_fd, 0, 0); in bpf_obj_pinning_detached() 110 if (fs_fd >= 0) in bpf_obj_pinning_detached() [all …]
|
/linux-6.6.21/include/linux/ |
D | syscalls.h | 923 asmlinkage long sys_fsconfig(int fs_fd, unsigned int cmd, const char __user *key, 925 asmlinkage long sys_fsmount(int fs_fd, unsigned int flags, unsigned int ms_flags);
|
/linux-6.6.21/fs/ |
D | namespace.c | 3940 SYSCALL_DEFINE3(fsmount, int, fs_fd, unsigned int, flags, in SYSCALL_DEFINE3() argument 3976 f = fdget(fs_fd); in SYSCALL_DEFINE3()
|
/linux-6.6.21/Documentation/filesystems/ |
D | overlayfs.rst | 350 fsconfig(fs_fd, FSCONFIG_SET_STRING, "lowerdir", "/a:lower::dir", 0);
|