Searched refs:fs_fd (Results 1 - 4 of 4) sorted by relevance
/linux-master/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) argument 20 return syscall(__NR_fsconfig, fs_fd, cmd, key, val, aux); 23 static inline int sys_fsmount(int fs_fd, unsigned flags, unsigned ms_flags) argument 25 return syscall(__NR_fsmount, fs_fd, flags, ms_flags); 40 int fs_fd = -1, mnt_fd = -1; local 50 fs_fd = sys_fsopen("bpf", 0); 51 if (!ASSERT_GE(fs_fd, 0, "fs_fd")) 55 err = sys_fsconfig(fs_fd, FSCONFIG_CMD_CREATE, NULL, NULL, 0); 60 mnt_fd = sys_fsmount(fs_fd, [all...] |
H A D | token.c | 40 static inline int sys_fsconfig(int fs_fd, unsigned cmd, const char *key, const void *val, int aux) argument 42 return syscall(__NR_fsconfig, fs_fd, cmd, key, val, aux); 45 static inline int sys_fsmount(int fs_fd, unsigned flags, unsigned ms_flags) argument 47 return syscall(__NR_fsmount, fs_fd, flags, ms_flags); 70 static int set_delegate_mask(int fs_fd, const char *key, __u64 mask, const char *mask_str) argument 84 err = sys_fsconfig(fs_fd, FSCONFIG_SET_STRING, key, 106 int fs_fd; local 109 fs_fd = sys_fsopen("bpf", 0); 110 ASSERT_GE(fs_fd, 0, "fs_fd"); 115 materialize_bpffs_fd(int fs_fd, struct bpffs_opts *opts) argument 287 int mnt_fd = -1, fs_fd = -1, err = 0, bpffs_fd = -1, token_fd = -1; local 431 int fs_fd = -1, mnt_fd = -1, token_fd = -1, err; local [all...] |
/linux-master/include/linux/ |
H A D | syscalls.h | 941 asmlinkage long sys_fsconfig(int fs_fd, unsigned int cmd, const char __user *key, 943 asmlinkage long sys_fsmount(int fs_fd, unsigned int flags, unsigned int ms_flags);
|
/linux-master/fs/ |
H A D | namespace.c | 3941 * (specified by fs_fd) and attach to an open_tree-like file descriptor. 3943 SYSCALL_DEFINE3(fsmount, int, fs_fd, unsigned int, flags, 3979 f = fdget(fs_fd);
|
Completed in 367 milliseconds