Home
last modified time | relevance | path

Searched refs:from_path (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_pinning.c29 static inline int sys_move_mount(int from_dfd, const char *from_path, in sys_move_mount() argument
33 return syscall(__NR_move_mount, from_dfd, from_path, to_dfd, to_path, ms_flags); in sys_move_mount()
/Linux-v6.6/fs/
Dnamespace.c2930 static int do_set_group(struct path *from_path, struct path *to_path) in do_set_group() argument
2935 from = real_mount(from_path->mnt); in do_set_group()
2956 if (!path_mounted(from_path)) in do_set_group()
4063 struct path from_path, to_path; in SYSCALL_DEFINE5() local
4086 ret = user_path_at(from_dfd, from_pathname, lflags, &from_path); in SYSCALL_DEFINE5()
4099 ret = security_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5()
4104 ret = do_set_group(&from_path, &to_path); in SYSCALL_DEFINE5()
4106 ret = do_move_mount(&from_path, &to_path, in SYSCALL_DEFINE5()
4112 path_put(&from_path); in SYSCALL_DEFINE5()
/Linux-v6.6/security/landlock/
Dfs.c1058 static int hook_move_mount(const struct path *const from_path, in hook_move_mount() argument
/Linux-v6.6/include/linux/
Dsecurity.h322 int security_move_mount(const struct path *from_path, const struct path *to_path);
730 static inline int security_move_mount(const struct path *from_path, in security_move_mount() argument
Dlsm_hook_defs.h82 LSM_HOOK(int, 0, move_mount, const struct path *from_path,
Dsyscalls.h915 asmlinkage long sys_move_mount(int from_dfd, const char __user *from_path,
/Linux-v6.6/fs/btrfs/
Dsend.c3517 struct fs_path *from_path = NULL; in apply_dir_move() local
3531 from_path = fs_path_alloc(); in apply_dir_move()
3532 if (!name || !from_path) { in apply_dir_move()
3546 pm->gen, from_path); in apply_dir_move()
3553 from_path); in apply_dir_move()
3556 ret = fs_path_add_path(from_path, name); in apply_dir_move()
3588 ret = send_rename(sctx, from_path, to_path); in apply_dir_move()
3650 fs_path_free(from_path); in apply_dir_move()
/Linux-v6.6/fs/smb/client/
Dinode.c2144 const char *from_path, struct dentry *to_dentry, argument
2168 rc = server->ops->rename(xid, tcon, from_path, to_path, cifs_sb);
2194 .path = from_path,
/Linux-v6.6/security/
Dsecurity.c1459 int security_move_mount(const struct path *from_path, in security_move_mount() argument
1462 return call_int_hook(move_mount, 0, from_path, to_path); in security_move_mount()
/Linux-v6.6/security/selinux/
Dhooks.c2759 static int selinux_move_mount(const struct path *from_path, in selinux_move_mount() argument