Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ocfs2/
Dioctl.c853 const char __user *new_path; in ocfs2_ioctl() local
916 new_path = (const char __user *)(unsigned long)args.new_path; in ocfs2_ioctl()
919 return ocfs2_reflink_ioctl(inode, old_path, new_path, preserve); in ocfs2_ioctl()
989 compat_ptr(args.new_path), preserve); in ocfs2_compat_ioctl()
Docfs2_ioctl.h74 __u64 new_path; member
Drefcounttree.c4434 struct path old_path, new_path; in ocfs2_reflink_ioctl() local
4446 new_dentry = user_path_create(AT_FDCWD, newname, &new_path, 0); in ocfs2_reflink_ioctl()
4454 if (old_path.mnt != new_path.mnt) { in ocfs2_reflink_ioctl()
4460 d_inode(new_path.dentry), in ocfs2_reflink_ioctl()
4463 done_path_create(&new_path, new_dentry); in ocfs2_reflink_ioctl()
/linux-4.19.296/fs/proc/
Dproc_sysctl.c1537 char *new_path, *pos; in __register_sysctl_paths() local
1539 pos = new_path = kmalloc(PATH_MAX, GFP_KERNEL); in __register_sysctl_paths()
1540 if (!new_path) in __register_sysctl_paths()
1545 pos = append_path(new_path, pos, component->procname); in __register_sysctl_paths()
1550 pos = append_path(new_path, pos, table->procname); in __register_sysctl_paths()
1556 header = __register_sysctl_table(set, new_path, table); in __register_sysctl_paths()
1569 if (register_leaf_sysctl_tables(new_path, pos, &subheader, in __register_sysctl_paths()
1575 kfree(new_path); in __register_sysctl_paths()
/linux-4.19.296/fs/
Dnamei.c4293 struct path old_path, new_path; in do_linkat() local
4318 new_dentry = user_path_create(newdfd, newname, &new_path, in do_linkat()
4325 if (old_path.mnt != new_path.mnt) in do_linkat()
4330 error = security_path_link(old_path.dentry, &new_path, new_dentry); in do_linkat()
4333 error = vfs_link(old_path.dentry, new_path.dentry->d_inode, new_dentry, &delegated_inode); in do_linkat()
4335 done_path_create(&new_path, new_dentry); in do_linkat()
4545 struct path old_path, new_path; in do_renameat2() local
4577 &new_path, &new_last, &new_type); in do_renameat2()
4584 if (old_path.mnt != new_path.mnt) in do_renameat2()
4601 trap = lock_rename(new_path.dentry, old_path.dentry); in do_renameat2()
[all …]
/linux-4.19.296/include/linux/
Dsecurity.h262 int security_sb_pivotroot(const struct path *old_path, const struct path *new_path);
597 const struct path *new_path) in security_sb_pivotroot() argument
Dlsm_hooks.h1474 int (*sb_pivotroot)(const struct path *old_path, const struct path *new_path);
/linux-4.19.296/fs/btrfs/
Dsend.c3808 struct fs_path *new_path; in update_ref_path() local
3814 new_path = fs_path_alloc(); in update_ref_path()
3815 if (!new_path) in update_ref_path()
3818 ret = get_cur_path(sctx, ref->dir, ref->dir_gen, new_path); in update_ref_path()
3820 fs_path_free(new_path); in update_ref_path()
3823 ret = fs_path_add(new_path, ref->name, ref->name_len); in update_ref_path()
3825 fs_path_free(new_path); in update_ref_path()
3830 set_ref_path(ref, new_path); in update_ref_path()