Home
last modified time | relevance | path

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

/fs/ocfs2/
Dioctl.c846 const char __user *new_path; in ocfs2_ioctl() local
909 new_path = (const char __user *)(unsigned long)args.new_path; in ocfs2_ioctl()
912 return ocfs2_reflink_ioctl(inode, old_path, new_path, preserve); in ocfs2_ioctl()
982 compat_ptr(args.new_path), preserve); in ocfs2_compat_ioctl()
Docfs2_ioctl.h66 __u64 new_path; member
Drefcounttree.c4424 struct path old_path, new_path; in ocfs2_reflink_ioctl() local
4436 new_dentry = user_path_create(AT_FDCWD, newname, &new_path, 0); in ocfs2_reflink_ioctl()
4444 if (old_path.mnt != new_path.mnt) { in ocfs2_reflink_ioctl()
4450 d_inode(new_path.dentry), in ocfs2_reflink_ioctl()
4453 done_path_create(&new_path, new_dentry); in ocfs2_reflink_ioctl()
/fs/proc/
Dproc_sysctl.c1525 char *new_path, *pos; in __register_sysctl_paths() local
1527 pos = new_path = kmalloc(PATH_MAX, GFP_KERNEL); in __register_sysctl_paths()
1528 if (!new_path) in __register_sysctl_paths()
1533 pos = append_path(new_path, pos, component->procname); in __register_sysctl_paths()
1538 pos = append_path(new_path, pos, table->procname); in __register_sysctl_paths()
1544 header = __register_sysctl_table(set, new_path, table); in __register_sysctl_paths()
1557 if (register_leaf_sysctl_tables(new_path, pos, &subheader, in __register_sysctl_paths()
1563 kfree(new_path); in __register_sysctl_paths()
/fs/
Dnamei.c4418 struct path old_path, new_path; in do_linkat() local
4443 new_dentry = user_path_create(newdfd, newname, &new_path, in do_linkat()
4450 if (old_path.mnt != new_path.mnt) 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()
4460 done_path_create(&new_path, new_dentry); in do_linkat()
4679 struct path old_path, new_path; in do_renameat2() local
4711 &new_path, &new_last, &new_type); in do_renameat2()
4718 if (old_path.mnt != new_path.mnt) in do_renameat2()
4735 trap = lock_rename(new_path.dentry, old_path.dentry); in do_renameat2()
[all …]
Dnamespace.c2628 static int do_move_mount(struct path *old_path, struct path *new_path) in do_move_mount() argument
2638 mp = lock_mount(new_path); in do_move_mount()
2643 p = real_mount(new_path->mnt); in do_move_mount()
2668 if (d_is_dir(new_path->dentry) != in do_move_mount()
2689 err = attach_recursive_mnt(old, real_mount(new_path->mnt), mp, in do_move_mount()
/fs/btrfs/
Dsend.c3778 struct fs_path *new_path; in update_ref_path() local
3784 new_path = fs_path_alloc(); in update_ref_path()
3785 if (!new_path) in update_ref_path()
3788 ret = get_cur_path(sctx, ref->dir, ref->dir_gen, new_path); in update_ref_path()
3790 fs_path_free(new_path); in update_ref_path()
3793 ret = fs_path_add(new_path, ref->name, ref->name_len); in update_ref_path()
3795 fs_path_free(new_path); in update_ref_path()
3800 set_ref_path(ref, new_path); in update_ref_path()