Home
last modified time | relevance | path

Searched refs:old_path (Results 1 – 6 of 6) sorted by relevance

/fs/
Dnamespace.c2269 static struct mount *__do_loopback(struct path *old_path, int recurse) in __do_loopback() argument
2271 struct mount *mnt = ERR_PTR(-EINVAL), *old = real_mount(old_path->mnt); in __do_loopback()
2276 if (!check_mnt(old) && old_path->dentry->d_op != &ns_dentry_operations) in __do_loopback()
2279 if (!recurse && has_locked_children(old, old_path->dentry)) in __do_loopback()
2283 mnt = copy_tree(old, old_path->dentry, CL_COPY_MNT_NS_FILE); in __do_loopback()
2285 mnt = clone_mnt(old, old_path->dentry, 0); in __do_loopback()
2299 struct path old_path; in do_loopback() local
2305 err = kern_path(old_name, LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT, &old_path); in do_loopback()
2310 if (mnt_ns_loop(old_path.dentry)) in do_loopback()
2323 mnt = __do_loopback(&old_path, recurse); in do_loopback()
[all …]
Dnamei.c4418 struct path old_path, new_path; in do_linkat() local
4439 error = user_path_at(olddfd, oldname, how, &old_path); in do_linkat()
4450 if (old_path.mnt != new_path.mnt) in do_linkat()
4452 error = may_linkat(&old_path); in do_linkat()
4455 error = security_path_link(old_path.dentry, &new_path, new_dentry); in do_linkat()
4458 …error = vfs_link2(old_path.mnt, old_path.dentry, new_path.dentry->d_inode, new_dentry, &delegated_… in do_linkat()
4464 path_put(&old_path); in do_linkat()
4469 path_put(&old_path); in do_linkat()
4474 path_put(&old_path); in do_linkat()
4679 struct path old_path, new_path; in do_renameat2() local
[all …]
/fs/ocfs2/
Dioctl.c845 const char __user *old_path; in ocfs2_ioctl() local
908 old_path = (const char __user *)(unsigned long)args.old_path; in ocfs2_ioctl()
912 return ocfs2_reflink_ioctl(inode, old_path, new_path, preserve); in ocfs2_ioctl()
981 return ocfs2_reflink_ioctl(inode, compat_ptr(args.old_path), in ocfs2_compat_ioctl()
Docfs2_ioctl.h65 __u64 old_path; member
Drefcounttree.c4424 struct path old_path, new_path; in ocfs2_reflink_ioctl() local
4430 error = user_path_at(AT_FDCWD, oldname, 0, &old_path); in ocfs2_reflink_ioctl()
4444 if (old_path.mnt != new_path.mnt) { in ocfs2_reflink_ioctl()
4449 error = ocfs2_vfs_reflink(old_path.dentry, in ocfs2_reflink_ioctl()
4455 path_put(&old_path); in ocfs2_reflink_ioctl()
/fs/cifs/
Dcifsproto.h593 const char *old_path, in get_dfs_path() argument
597 return dfs_cache_find(xid, ses, nls_codepage, remap, old_path, in get_dfs_path()