Lines Matching refs:to_path
3096 struct path to_path; in create_new_namespace() local
3109 to_path.mnt = &old_ns_root->mnt; in create_new_namespace()
3110 to_path.dentry = old_ns_root->mnt.mnt_root; in create_new_namespace()
3114 LOCK_MOUNT_EXACT_COPY(mp, &to_path, copy_flags); in create_new_namespace()
3417 static int do_set_group(const struct path *from_path, const struct path *to_path) in do_set_group() argument
3420 struct mount *to = real_mount(to_path->mnt); in do_set_group()
3435 if (!path_mounted(to_path)) in do_set_group()
4513 const struct path *to_path, in vfs_move_mount() argument
4518 ret = security_move_mount(from_path, to_path); in vfs_move_mount()
4523 return do_set_group(from_path, to_path); in vfs_move_mount()
4525 return do_move_mount(from_path, to_path, mflags); in vfs_move_mount()
4541 struct path to_path __free(path_put) = {}; in SYSCALL_DEFINE5()
4570 to_path = fd_file(f_to)->f_path; in SYSCALL_DEFINE5()
4571 path_get(&to_path); in SYSCALL_DEFINE5()
4578 ret = filename_lookup(to_dfd, to_name, lflags, &to_path, NULL); in SYSCALL_DEFINE5()
4593 return vfs_move_mount(&fd_file(f_from)->f_path, &to_path, mflags); in SYSCALL_DEFINE5()
4605 return vfs_move_mount(&from_path, &to_path, mflags); in SYSCALL_DEFINE5()