Home
last modified time | relevance | path

Searched refs:new_path (Results 1 – 5 of 5) sorted by relevance

/fs/ocfs2/
Dioctl.c854 const char __user *new_path; in ocfs2_ioctl() local
917 new_path = (const char __user *)(unsigned long)args.new_path; in ocfs2_ioctl()
920 return ocfs2_reflink_ioctl(inode, old_path, new_path, preserve); in ocfs2_ioctl()
990 compat_ptr(args.new_path), preserve); in ocfs2_compat_ioctl()
Docfs2_ioctl.h74 __u64 new_path; member
Drefcounttree.c4410 struct path old_path, new_path; in ocfs2_reflink_ioctl() local
4422 new_dentry = user_path_create(AT_FDCWD, newname, &new_path, 0); in ocfs2_reflink_ioctl()
4430 if (old_path.mnt != new_path.mnt) { in ocfs2_reflink_ioctl()
4436 d_inode(new_path.dentry), in ocfs2_reflink_ioctl()
4439 done_path_create(&new_path, new_dentry); in ocfs2_reflink_ioctl()
/fs/proc/
Dproc_sysctl.c1424 char *new_path, *pos; in __register_sysctl_paths() local
1426 pos = new_path = kmalloc(PATH_MAX, GFP_KERNEL); in __register_sysctl_paths()
1427 if (!new_path) in __register_sysctl_paths()
1432 pos = append_path(new_path, pos, component->procname); in __register_sysctl_paths()
1437 pos = append_path(new_path, pos, table->procname); in __register_sysctl_paths()
1443 header = __register_sysctl_table(set, new_path, table); in __register_sysctl_paths()
1456 if (register_leaf_sysctl_tables(new_path, pos, &subheader, in __register_sysctl_paths()
1462 kfree(new_path); in __register_sysctl_paths()
/fs/
Dnamei.c4184 struct path old_path, new_path; in SYSCALL_DEFINE5() local
4209 new_dentry = user_path_create(newdfd, newname, &new_path, in SYSCALL_DEFINE5()
4216 if (old_path.mnt != new_path.mnt) in SYSCALL_DEFINE5()
4221 error = security_path_link(old_path.dentry, &new_path, new_dentry); in SYSCALL_DEFINE5()
4224 …error = vfs_link2(old_path.mnt, old_path.dentry, new_path.dentry->d_inode, new_dentry, &delegated_… in SYSCALL_DEFINE5()
4226 done_path_create(&new_path, new_dentry); in SYSCALL_DEFINE5()
4451 struct path old_path, new_path; in SYSCALL_DEFINE5() local
4483 &new_path, &new_last, &new_type, lookup_flags); in SYSCALL_DEFINE5()
4490 if (old_path.mnt != new_path.mnt) in SYSCALL_DEFINE5()
4507 trap = lock_rename(new_path.dentry, old_path.dentry); in SYSCALL_DEFINE5()
[all …]