Lines Matching refs:from_path
3414 static int do_set_group(const struct path *from_path, const struct path *to_path) in do_set_group() argument
3416 struct mount *from = real_mount(from_path->mnt); in do_set_group()
3430 if (!path_mounted(from_path)) in do_set_group()
4499 static inline int vfs_move_mount(const struct path *from_path, in vfs_move_mount() argument
4505 ret = security_move_mount(from_path, to_path); in vfs_move_mount()
4510 return do_set_group(from_path, to_path); in vfs_move_mount()
4512 return do_move_mount(from_path, to_path, mflags); in vfs_move_mount()
4529 struct path from_path __free(path_put) = {}; in SYSCALL_DEFINE5()
4588 ret = filename_lookup(from_dfd, from_name, lflags, &from_path, NULL); in SYSCALL_DEFINE5()
4592 return vfs_move_mount(&from_path, &to_path, mflags); in SYSCALL_DEFINE5()