Home
last modified time | relevance | path

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

/Linux-v5.10/fs/
Dnamespace.c3590 struct path from_path, to_path; in SYSCALL_DEFINE5() local
3609 ret = user_path_at(from_dfd, from_pathname, lflags, &from_path); in SYSCALL_DEFINE5()
3622 ret = security_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5()
3626 ret = do_move_mount(&from_path, &to_path); in SYSCALL_DEFINE5()
3631 path_put(&from_path); in SYSCALL_DEFINE5()
/Linux-v5.10/include/linux/
Dsecurity.h311 int security_move_mount(const struct path *from_path, const struct path *to_path);
693 static inline int security_move_mount(const struct path *from_path, in security_move_mount() argument
Dlsm_hook_defs.h81 LSM_HOOK(int, 0, move_mount, const struct path *from_path,
Dsyscalls.h999 asmlinkage long sys_move_mount(int from_dfd, const char __user *from_path,
/Linux-v5.10/fs/btrfs/
Dsend.c3218 struct fs_path *from_path = NULL; in apply_dir_move() local
3231 from_path = fs_path_alloc(); in apply_dir_move()
3232 if (!name || !from_path) { in apply_dir_move()
3245 pm->gen, from_path); in apply_dir_move()
3252 from_path); in apply_dir_move()
3255 ret = fs_path_add_path(from_path, name); in apply_dir_move()
3286 ret = send_rename(sctx, from_path, to_path); in apply_dir_move()
3349 fs_path_free(from_path); in apply_dir_move()
/Linux-v5.10/fs/cifs/
Dinode.c2000 const char *from_path, struct dentry *to_dentry, argument
2021 rc = server->ops->rename(xid, tcon, from_path, to_path, cifs_sb);
2045 oparms.path = from_path;
/Linux-v5.10/security/
Dsecurity.c959 int security_move_mount(const struct path *from_path, const struct path *to_path) in security_move_mount() argument
961 return call_int_hook(move_mount, 0, from_path, to_path); in security_move_mount()
/Linux-v5.10/security/selinux/
Dhooks.c2739 static int selinux_move_mount(const struct path *from_path, in selinux_move_mount() argument