Searched refs:new_path (Results 1 – 5 of 5) sorted by relevance
/fs/ocfs2/ |
D | ioctl.c | 891 const char *old_path, *new_path; in ocfs2_ioctl() local 944 new_path = (const char *)(unsigned long)args.new_path; in ocfs2_ioctl() 947 return ocfs2_reflink_ioctl(inode, old_path, new_path, preserve); in ocfs2_ioctl() 1015 compat_ptr(args.new_path), preserve); in ocfs2_compat_ioctl()
|
D | ocfs2_ioctl.h | 74 __u64 new_path; member
|
D | refcounttree.c | 4444 struct path old_path, new_path; in ocfs2_reflink_ioctl() local 4456 new_dentry = user_path_create(AT_FDCWD, newname, &new_path, 0); in ocfs2_reflink_ioctl() 4464 if (old_path.mnt != new_path.mnt) { in ocfs2_reflink_ioctl() 4469 error = mnt_want_write(new_path.mnt); in ocfs2_reflink_ioctl() 4476 new_path.dentry->d_inode, in ocfs2_reflink_ioctl() 4478 mnt_drop_write(new_path.mnt); in ocfs2_reflink_ioctl() 4481 mutex_unlock(&new_path.dentry->d_inode->i_mutex); in ocfs2_reflink_ioctl() 4482 path_put(&new_path); in ocfs2_reflink_ioctl()
|
/fs/proc/ |
D | proc_sysctl.c | 1406 char *new_path, *pos; in __register_sysctl_paths() local 1408 pos = new_path = kmalloc(PATH_MAX, GFP_KERNEL); in __register_sysctl_paths() 1409 if (!new_path) in __register_sysctl_paths() 1414 pos = append_path(new_path, pos, component->procname); in __register_sysctl_paths() 1419 pos = append_path(new_path, pos, table->procname); in __register_sysctl_paths() 1425 header = __register_sysctl_table(set, new_path, table); in __register_sysctl_paths() 1438 if (register_leaf_sysctl_tables(new_path, pos, &subheader, in __register_sysctl_paths() 1444 kfree(new_path); in __register_sysctl_paths()
|
/fs/ |
D | namei.c | 3037 struct path old_path, new_path; in SYSCALL_DEFINE5() local 3061 new_dentry = user_path_create(newdfd, newname, &new_path, 0); in SYSCALL_DEFINE5() 3067 if (old_path.mnt != new_path.mnt) in SYSCALL_DEFINE5() 3069 error = mnt_want_write(new_path.mnt); in SYSCALL_DEFINE5() 3072 error = security_path_link(old_path.dentry, &new_path, new_dentry); in SYSCALL_DEFINE5() 3075 error = vfs_link(old_path.dentry, new_path.dentry->d_inode, new_dentry); in SYSCALL_DEFINE5() 3077 mnt_drop_write(new_path.mnt); in SYSCALL_DEFINE5() 3080 mutex_unlock(&new_path.dentry->d_inode->i_mutex); in SYSCALL_DEFINE5() 3081 path_put(&new_path); in SYSCALL_DEFINE5()
|