Searched refs:fs_fd (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A 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 …]
|
/openbmc/linux/Documentation/filesystems/ |
H A D | overlayfs.rst | 351 fsconfig(fs_fd, FSCONFIG_SET_STRING, "lowerdir+", "/a:lower::dir", 0); 424 fsconfig(fs_fd, FSCONFIG_SET_STRING, "lowerdir+", "/l1", 0); 425 fsconfig(fs_fd, FSCONFIG_SET_STRING, "lowerdir+", "/l2", 0); 426 fsconfig(fs_fd, FSCONFIG_SET_STRING, "lowerdir+", "/l3", 0); 427 fsconfig(fs_fd, FSCONFIG_SET_STRING, "datadir+", "/do1", 0); 428 fsconfig(fs_fd, FSCONFIG_SET_STRING, "datadir+", "/do2", 0);
|
/openbmc/linux/include/linux/ |
H A D | syscalls.h | 929 asmlinkage long sys_fsconfig(int fs_fd, unsigned int cmd, const char __user *key, 931 asmlinkage long sys_fsmount(int fs_fd, unsigned int flags, unsigned int ms_flags);
|
/openbmc/linux/fs/ |
H A D | namespace.c | 3948 SYSCALL_DEFINE3(fsmount, int, fs_fd, unsigned int, flags, in SYSCALL_DEFINE3() argument 3984 f = fdget(fs_fd); in SYSCALL_DEFINE3()
|