Searched refs:new_path (Results 1 – 7 of 7) sorted by relevance
/fs/ocfs2/ |
D | ioctl.c | 846 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()
|
D | ocfs2_ioctl.h | 66 __u64 new_path; member
|
D | refcounttree.c | 4424 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/ |
D | proc_sysctl.c | 1525 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/ |
D | namei.c | 4418 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 …]
|
D | namespace.c | 2628 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/ |
D | send.c | 3778 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()
|