old_dentry        366 drivers/android/binderfs.c static int binderfs_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        370 drivers/android/binderfs.c 	if (is_binderfs_control_device(old_dentry) ||
old_dentry        374 drivers/android/binderfs.c 	return simple_rename(old_dir, old_dentry, new_dir, new_dentry, flags);
old_dentry       2731 drivers/staging/exfat/exfat_super.c static int exfat_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       2747 drivers/staging/exfat/exfat_super.c 	old_inode = old_dentry->d_inode;
old_dentry        138 fs/9p/v9fs.h   extern int v9fs_vfs_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        951 fs/9p/vfs_inode.c v9fs_vfs_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        969 fs/9p/vfs_inode.c 	old_inode = d_inode(old_dentry);
old_dentry        972 fs/9p/vfs_inode.c 	oldfid = v9fs_fid_lookup(old_dentry);
old_dentry        976 fs/9p/vfs_inode.c 	olddirfid = clone_fid(v9fs_parent_fid(old_dentry));
old_dentry        990 fs/9p/vfs_inode.c 		retval = p9_client_renameat(olddirfid, old_dentry->d_name.name,
old_dentry        998 fs/9p/vfs_inode.c 	if (old_dentry->d_parent != new_dentry->d_parent) {
old_dentry       1030 fs/9p/vfs_inode.c 		d_move(old_dentry, new_dentry);
old_dentry       1337 fs/9p/vfs_inode.c v9fs_vfs_link(struct dentry *old_dentry, struct inode *dir,
old_dentry       1345 fs/9p/vfs_inode.c 		 dir->i_ino, dentry, old_dentry);
old_dentry       1347 fs/9p/vfs_inode.c 	oldfid = v9fs_fid_clone(old_dentry);
old_dentry       1354 fs/9p/vfs_inode.c 		v9fs_refresh_inode(oldfid, d_inode(old_dentry));
old_dentry        751 fs/9p/vfs_inode_dotl.c v9fs_vfs_link_dotl(struct dentry *old_dentry, struct inode *dir,
old_dentry        759 fs/9p/vfs_inode_dotl.c 		 dir->i_ino, old_dentry, dentry);
old_dentry        766 fs/9p/vfs_inode_dotl.c 	oldfid = v9fs_fid_lookup(old_dentry);
old_dentry        781 fs/9p/vfs_inode_dotl.c 		fid = v9fs_fid_lookup(old_dentry);
old_dentry        785 fs/9p/vfs_inode_dotl.c 		v9fs_refresh_inode_dotl(fid, d_inode(old_dentry));
old_dentry        787 fs/9p/vfs_inode_dotl.c 	ihold(d_inode(old_dentry));
old_dentry        788 fs/9p/vfs_inode_dotl.c 	d_instantiate(dentry, d_inode(old_dentry));
old_dentry        177 fs/affs/affs.h extern int	affs_rename2(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        391 fs/affs/namei.c affs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry)
old_dentry        393 fs/affs/namei.c 	struct inode *inode = d_inode(old_dentry);
old_dentry        402 fs/affs/namei.c affs_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        411 fs/affs/namei.c 				 affs_nofilenametruncate(old_dentry));
old_dentry        423 fs/affs/namei.c 	bh = affs_bread(sb, d_inode(old_dentry)->i_ino);
old_dentry        449 fs/affs/namei.c affs_xrename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        458 fs/affs/namei.c 	bh_old = affs_bread(sb, d_inode(old_dentry)->i_ino);
old_dentry        488 fs/affs/namei.c 	affs_copy_name(AFFS_TAIL(sb, bh_new)->name, old_dentry);
old_dentry        501 fs/affs/namei.c int affs_rename2(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        510 fs/affs/namei.c 		 old_dir->i_ino, old_dentry, new_dir->i_ino, new_dentry);
old_dentry        513 fs/affs/namei.c 		return affs_xrename(old_dir, old_dentry, new_dir, new_dentry);
old_dentry        515 fs/affs/namei.c 	return affs_rename(old_dir, old_dentry, new_dir, new_dentry);
old_dentry         40 fs/afs/dir.c   static int afs_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       1831 fs/afs/dir.c   static int afs_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       1850 fs/afs/dir.c   	if (old_dentry->d_flags & DCACHE_NFSFS_RENAMED)
old_dentry       1853 fs/afs/dir.c   	vnode = AFS_FS_I(d_inode(old_dentry));
old_dentry       1917 fs/afs/dir.c   	d_drop(old_dentry);
old_dentry       1936 fs/afs/dir.c   			afs_fs_rename(&fc, old_dentry->d_name.name,
old_dentry       1959 fs/afs/dir.c   			afs_edit_dir_remove(orig_dvnode, &old_dentry->d_name,
old_dentry       1990 fs/afs/dir.c   		afs_update_dentry_version(&fc, old_dentry, &scb[1]);
old_dentry       1992 fs/afs/dir.c   		d_move(old_dentry, new_dentry);
old_dentry         41 fs/bad_inode.c static int bad_inode_link (struct dentry *old_dentry, struct inode *dir,
old_dentry         75 fs/bad_inode.c static int bad_inode_rename2(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        202 fs/bfs/dir.c   static int bfs_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        216 fs/bfs/dir.c   	old_inode = d_inode(old_dentry);
old_dentry        223 fs/bfs/dir.c   	old_bh = bfs_find_entry(old_dir, &old_dentry->d_name, &old_de);
old_dentry       6816 fs/btrfs/inode.c static int btrfs_link(struct dentry *old_dentry, struct inode *dir,
old_dentry       6821 fs/btrfs/inode.c 	struct inode *inode = d_inode(old_dentry);
old_dentry       9604 fs/btrfs/inode.c 			      struct dentry *old_dentry,
old_dentry       9613 fs/btrfs/inode.c 	struct inode *old_inode = old_dentry->d_inode;
old_dentry       9697 fs/btrfs/inode.c 					     old_dentry->d_name.name,
old_dentry       9698 fs/btrfs/inode.c 					     old_dentry->d_name.len,
old_dentry       9716 fs/btrfs/inode.c 	if (old_dentry->d_parent != new_dentry->d_parent) {
old_dentry       9725 fs/btrfs/inode.c 		ret = btrfs_unlink_subvol(trans, old_dir, old_dentry);
old_dentry       9728 fs/btrfs/inode.c 					   BTRFS_I(old_dentry->d_inode),
old_dentry       9729 fs/btrfs/inode.c 					   old_dentry->d_name.name,
old_dentry       9730 fs/btrfs/inode.c 					   old_dentry->d_name.len);
old_dentry       9764 fs/btrfs/inode.c 			     old_dentry->d_name.name,
old_dentry       9765 fs/btrfs/inode.c 			     old_dentry->d_name.len, 0, new_idx);
old_dentry       9791 fs/btrfs/inode.c 			parent = old_dentry->d_parent;
old_dentry       9927 fs/btrfs/inode.c static int btrfs_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       9937 fs/btrfs/inode.c 	struct inode *old_inode = d_inode(old_dentry);
old_dentry       10041 fs/btrfs/inode.c 	if (old_dentry->d_parent != new_dentry->d_parent)
old_dentry       10046 fs/btrfs/inode.c 		ret = btrfs_unlink_subvol(trans, old_dir, old_dentry);
old_dentry       10049 fs/btrfs/inode.c 					BTRFS_I(d_inode(old_dentry)),
old_dentry       10050 fs/btrfs/inode.c 					old_dentry->d_name.name,
old_dentry       10051 fs/btrfs/inode.c 					old_dentry->d_name.len);
old_dentry       10111 fs/btrfs/inode.c 						old_dentry);
old_dentry       10165 fs/btrfs/inode.c static int btrfs_rename2(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       10173 fs/btrfs/inode.c 		return btrfs_rename_exchange(old_dir, old_dentry, new_dir,
old_dentry       10176 fs/btrfs/inode.c 	return btrfs_rename(old_dir, old_dentry, new_dir, new_dentry, flags);
old_dentry       1001 fs/ceph/dir.c  static int ceph_link(struct dentry *old_dentry, struct inode *dir,
old_dentry       1013 fs/ceph/dir.c  	     old_dentry, dentry);
old_dentry       1021 fs/ceph/dir.c  	req->r_old_dentry = dget(old_dentry);
old_dentry       1032 fs/ceph/dir.c  		ihold(d_inode(old_dentry));
old_dentry       1033 fs/ceph/dir.c  		d_instantiate(dentry, d_inode(old_dentry));
old_dentry       1082 fs/ceph/dir.c  static int ceph_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       1109 fs/ceph/dir.c  	     old_dir, old_dentry, new_dir, new_dentry);
old_dentry       1116 fs/ceph/dir.c  	req->r_old_dentry = dget(old_dentry);
old_dentry       1137 fs/ceph/dir.c  		d_move(old_dentry, new_dentry);
old_dentry        294 fs/coda/dir.c  static int coda_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        298 fs/coda/dir.c  	const char *old_name = old_dentry->d_name.name;
old_dentry        300 fs/coda/dir.c  	int old_length = old_dentry->d_name.len;
old_dentry         72 fs/crypto/hooks.c int __fscrypt_prepare_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry         87 fs/crypto/hooks.c 	if ((old_dentry->d_flags | new_dentry->d_flags) &
old_dentry         94 fs/crypto/hooks.c 						   d_inode(old_dentry)))
old_dentry       3065 fs/dcache.c    bool is_subdir(struct dentry *new_dentry, struct dentry *old_dentry)
old_dentry       3070 fs/dcache.c    	if (new_dentry == old_dentry)
old_dentry       3081 fs/dcache.c    		if (d_ancestor(old_dentry, new_dentry))
old_dentry        834 fs/debugfs/inode.c struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry,
old_dentry        845 fs/debugfs/inode.c 	if (IS_ERR_OR_NULL(old_dentry))
old_dentry        846 fs/debugfs/inode.c 		return old_dentry;
old_dentry        853 fs/debugfs/inode.c 	if (d_really_is_negative(old_dentry) || old_dentry == trap ||
old_dentry        854 fs/debugfs/inode.c 	    d_mountpoint(old_dentry))
old_dentry        861 fs/debugfs/inode.c 	take_dentry_name_snapshot(&old_name, old_dentry);
old_dentry        863 fs/debugfs/inode.c 	error = simple_rename(d_inode(old_dir), old_dentry, d_inode(new_dir),
old_dentry        869 fs/debugfs/inode.c 	d_move(old_dentry, dentry);
old_dentry        871 fs/debugfs/inode.c 		d_is_dir(old_dentry),
old_dentry        872 fs/debugfs/inode.c 		NULL, old_dentry);
old_dentry        876 fs/debugfs/inode.c 	return old_dentry;
old_dentry        424 fs/ecryptfs/inode.c static int ecryptfs_link(struct dentry *old_dentry, struct inode *dir,
old_dentry        433 fs/ecryptfs/inode.c 	file_size_save = i_size_read(d_inode(old_dentry));
old_dentry        434 fs/ecryptfs/inode.c 	lower_old_dentry = ecryptfs_dentry_to_lower(old_dentry);
old_dentry        448 fs/ecryptfs/inode.c 	set_nlink(d_inode(old_dentry),
old_dentry        449 fs/ecryptfs/inode.c 		  ecryptfs_inode_to_lower(d_inode(old_dentry))->i_nlink);
old_dentry        582 fs/ecryptfs/inode.c ecryptfs_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        597 fs/ecryptfs/inode.c 	lower_old_dir_dentry = ecryptfs_dentry_to_lower(old_dentry->d_parent);
old_dentry        600 fs/ecryptfs/inode.c 	lower_old_dentry = ecryptfs_dentry_to_lower(old_dentry);
old_dentry        198 fs/ext2/namei.c static int ext2_link (struct dentry * old_dentry, struct inode * dir,
old_dentry        201 fs/ext2/namei.c 	struct inode *inode = d_inode(old_dentry);
old_dentry        312 fs/ext2/namei.c static int ext2_rename (struct inode * old_dir, struct dentry * old_dentry,
old_dentry        316 fs/ext2/namei.c 	struct inode * old_inode = d_inode(old_dentry);
old_dentry        335 fs/ext2/namei.c 	old_de = ext2_find_entry (old_dir, &old_dentry->d_name, &old_page);
old_dentry       3362 fs/ext4/namei.c static int ext4_link(struct dentry *old_dentry,
old_dentry       3366 fs/ext4/namei.c 	struct inode *inode = d_inode(old_dentry);
old_dentry       3372 fs/ext4/namei.c 	err = fscrypt_prepare_link(old_dentry, dir, dentry);
old_dentry       3378 fs/ext4/namei.c 			EXT4_I(old_dentry->d_inode)->i_projid)))
old_dentry       3641 fs/ext4/namei.c static int ext4_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       3648 fs/ext4/namei.c 		.dentry = old_dentry,
old_dentry       3649 fs/ext4/namei.c 		.inode = d_inode(old_dentry),
old_dentry       3670 fs/ext4/namei.c 			EXT4_I(old_dentry->d_inode)->i_projid)))
old_dentry       3848 fs/ext4/namei.c static int ext4_cross_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       3854 fs/ext4/namei.c 		.dentry = old_dentry,
old_dentry       3855 fs/ext4/namei.c 		.inode = d_inode(old_dentry),
old_dentry       3868 fs/ext4/namei.c 			EXT4_I(old_dentry->d_inode)->i_projid)) ||
old_dentry       3988 fs/ext4/namei.c static int ext4_rename2(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       4000 fs/ext4/namei.c 	err = fscrypt_prepare_rename(old_dir, old_dentry, new_dir, new_dentry,
old_dentry       4006 fs/ext4/namei.c 		return ext4_cross_rename(old_dir, old_dentry,
old_dentry       4010 fs/ext4/namei.c 	return ext4_rename(old_dir, old_dentry, new_dir, new_dentry, flags);
old_dentry        314 fs/f2fs/namei.c static int f2fs_link(struct dentry *old_dentry, struct inode *dir,
old_dentry        317 fs/f2fs/namei.c 	struct inode *inode = d_inode(old_dentry);
old_dentry        326 fs/f2fs/namei.c 	err = fscrypt_prepare_link(old_dentry, dir, dentry);
old_dentry        332 fs/f2fs/namei.c 			F2FS_I(old_dentry->d_inode)->i_projid)))
old_dentry        845 fs/f2fs/namei.c static int f2fs_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        850 fs/f2fs/namei.c 	struct inode *old_inode = d_inode(old_dentry);
old_dentry        868 fs/f2fs/namei.c 			F2FS_I(old_dentry->d_inode)->i_projid)))
old_dentry        892 fs/f2fs/namei.c 	old_entry = f2fs_find_entry(old_dir, &old_dentry->d_name, &old_page);
old_dentry        970 fs/f2fs/namei.c 						&old_dentry->d_name, &old_page);
old_dentry        996 fs/f2fs/namei.c 		err = f2fs_add_link(old_dentry, whiteout);
old_dentry       1041 fs/f2fs/namei.c static int f2fs_cross_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       1045 fs/f2fs/namei.c 	struct inode *old_inode = d_inode(old_dentry);
old_dentry       1061 fs/f2fs/namei.c 			F2FS_I(old_dentry->d_inode)->i_projid)) ||
old_dentry       1076 fs/f2fs/namei.c 	old_entry = f2fs_find_entry(old_dir, &old_dentry->d_name, &old_page);
old_dentry       1206 fs/f2fs/namei.c static int f2fs_rename2(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       1215 fs/f2fs/namei.c 	err = fscrypt_prepare_rename(old_dir, old_dentry, new_dir, new_dentry,
old_dentry       1221 fs/f2fs/namei.c 		return f2fs_cross_rename(old_dir, old_dentry,
old_dentry       1228 fs/f2fs/namei.c 	return f2fs_rename(old_dir, old_dentry, new_dir, new_dentry, flags);
old_dentry        428 fs/fat/namei_msdos.c 			   struct dentry *old_dentry,
old_dentry        441 fs/fat/namei_msdos.c 	old_inode = d_inode(old_dentry);
old_dentry        596 fs/fat/namei_msdos.c static int msdos_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        609 fs/fat/namei_msdos.c 	err = msdos_format_name(old_dentry->d_name.name,
old_dentry        610 fs/fat/namei_msdos.c 				old_dentry->d_name.len, old_msdos_name,
old_dentry        623 fs/fat/namei_msdos.c 	err = do_msdos_rename(old_dir, old_msdos_name, old_dentry,
old_dentry        895 fs/fat/namei_vfat.c static int vfat_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        912 fs/fat/namei_vfat.c 	old_inode = d_inode(old_dentry);
old_dentry        915 fs/fat/namei_vfat.c 	err = vfat_find(old_dir, &old_dentry->d_name, &old_sinfo);
old_dentry        893 fs/gfs2/inode.c static int gfs2_link(struct dentry *old_dentry, struct inode *dir,
old_dentry        898 fs/gfs2/inode.c 	struct inode *inode = d_inode(old_dentry);
old_dentry        282 fs/hfs/dir.c   static int hfs_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        298 fs/hfs/dir.c   	res = hfs_cat_move(d_inode(old_dentry)->i_ino,
old_dentry        299 fs/hfs/dir.c   			   old_dir, &old_dentry->d_name,
old_dentry        303 fs/hfs/dir.c   				  (btree_key *)&HFS_I(d_inode(old_dentry))->cat_key,
old_dentry        531 fs/hfsplus/dir.c static int hfsplus_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        550 fs/hfsplus/dir.c 	res = hfsplus_rename_cat((u32)(unsigned long)old_dentry->d_fsdata,
old_dentry        551 fs/hfsplus/dir.c 				 old_dir, &old_dentry->d_name,
old_dentry        554 fs/hfsplus/dir.c 		new_dentry->d_fsdata = old_dentry->d_fsdata;
old_dentry        734 fs/hostfs/hostfs_kern.c static int hostfs_rename2(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        744 fs/hostfs/hostfs_kern.c 	old_name = dentry_name(old_dentry);
old_dentry        510 fs/hpfs/namei.c static int hpfs_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        514 fs/hpfs/namei.c 	const unsigned char *old_name = old_dentry->d_name.name;
old_dentry        515 fs/hpfs/namei.c 	unsigned old_len = old_dentry->d_name.len;
old_dentry        518 fs/hpfs/namei.c 	struct inode *i = d_inode(old_dentry);
old_dentry        243 fs/jffs2/dir.c static int jffs2_link (struct dentry *old_dentry, struct inode *dir_i, struct dentry *dentry)
old_dentry        245 fs/jffs2/dir.c 	struct jffs2_sb_info *c = JFFS2_SB_INFO(old_dentry->d_sb);
old_dentry        246 fs/jffs2/dir.c 	struct jffs2_inode_info *f = JFFS2_INODE_INFO(d_inode(old_dentry));
old_dentry        256 fs/jffs2/dir.c 	if (d_is_dir(old_dentry))
old_dentry        260 fs/jffs2/dir.c 	type = (d_inode(old_dentry)->i_mode & S_IFMT) >> 12;
old_dentry        268 fs/jffs2/dir.c 		set_nlink(d_inode(old_dentry), ++f->inocache->pino_nlink);
old_dentry        270 fs/jffs2/dir.c 		d_instantiate(dentry, d_inode(old_dentry));
old_dentry        272 fs/jffs2/dir.c 		ihold(d_inode(old_dentry));
old_dentry        755 fs/jffs2/dir.c static int jffs2_rename (struct inode *old_dir_i, struct dentry *old_dentry,
old_dentry        797 fs/jffs2/dir.c 	type = (d_inode(old_dentry)->i_mode & S_IFMT) >> 12;
old_dentry        802 fs/jffs2/dir.c 			    d_inode(old_dentry)->i_ino, type,
old_dentry        828 fs/jffs2/dir.c 	if (d_is_dir(old_dentry) && !victim_f)
old_dentry        833 fs/jffs2/dir.c 			      old_dentry->d_name.name, old_dentry->d_name.len, NULL, now);
old_dentry        839 fs/jffs2/dir.c 		struct jffs2_inode_info *f = JFFS2_INODE_INFO(d_inode(old_dentry));
old_dentry        841 fs/jffs2/dir.c 		inc_nlink(d_inode(old_dentry));
old_dentry        842 fs/jffs2/dir.c 		if (f->inocache && !d_is_dir(old_dentry))
old_dentry        860 fs/jffs2/dir.c 	if (d_is_dir(old_dentry))
old_dentry        784 fs/jfs/namei.c static int jfs_link(struct dentry *old_dentry,
old_dentry        789 fs/jfs/namei.c 	struct inode *ip = d_inode(old_dentry);
old_dentry        795 fs/jfs/namei.c 	jfs_info("jfs_link: %pd %pd", old_dentry, dentry);
old_dentry       1061 fs/jfs/namei.c static int jfs_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       1085 fs/jfs/namei.c 	jfs_info("jfs_rename: %pd %pd", old_dentry, new_dentry);
old_dentry       1094 fs/jfs/namei.c 	old_ip = d_inode(old_dentry);
old_dentry       1097 fs/jfs/namei.c 	if ((rc = get_UCSname(&old_dname, old_dentry)))
old_dentry       1147 fs/kernfs/dir.c static int kernfs_iop_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       1151 fs/kernfs/dir.c 	struct kernfs_node *kn = kernfs_dentry_node(old_dentry);
old_dentry        321 fs/libfs.c     int simple_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry)
old_dentry        323 fs/libfs.c     	struct inode *inode = d_inode(old_dentry);
old_dentry        378 fs/libfs.c     int simple_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        382 fs/libfs.c     	struct inode *inode = d_inode(old_dentry);
old_dentry        383 fs/libfs.c     	int they_are_dirs = d_is_dir(old_dentry);
old_dentry        101 fs/minix/namei.c static int minix_link(struct dentry * old_dentry, struct inode * dir,
old_dentry        104 fs/minix/namei.c 	struct inode *inode = d_inode(old_dentry);
old_dentry        184 fs/minix/namei.c static int minix_rename(struct inode * old_dir, struct dentry *old_dentry,
old_dentry        188 fs/minix/namei.c 	struct inode * old_inode = d_inode(old_dentry);
old_dentry        199 fs/minix/namei.c 	old_de = minix_find_entry(old_dentry, &old_page);
old_dentry       4190 fs/namei.c     int vfs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dentry, struct inode **delegated_inode)
old_dentry       4192 fs/namei.c     	struct inode *inode = old_dentry->d_inode;
old_dentry       4223 fs/namei.c     	error = security_inode_link(old_dentry, dir, new_dentry);
old_dentry       4236 fs/namei.c     			error = dir->i_op->link(old_dentry, dir, new_dentry);
old_dentry       4386 fs/namei.c     int vfs_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       4391 fs/namei.c     	bool is_dir = d_is_dir(old_dentry);
old_dentry       4392 fs/namei.c     	struct inode *source = old_dentry->d_inode;
old_dentry       4401 fs/namei.c     	error = may_delete(old_dir, old_dentry, is_dir);
old_dentry       4438 fs/namei.c     	error = security_inode_rename(old_dir, old_dentry, new_dir, new_dentry,
old_dentry       4443 fs/namei.c     	take_dentry_name_snapshot(&old_name, old_dentry);
old_dentry       4451 fs/namei.c     	if (is_local_mountpoint(old_dentry) || is_local_mountpoint(new_dentry))
old_dentry       4472 fs/namei.c     	error = old_dir->i_op->rename(old_dir, old_dentry,
old_dentry       4487 fs/namei.c     			d_move(old_dentry, new_dentry);
old_dentry       4489 fs/namei.c     			d_exchange(old_dentry, new_dentry);
old_dentry       4499 fs/namei.c     			      !(flags & RENAME_EXCHANGE) ? target : NULL, old_dentry);
old_dentry       4501 fs/namei.c     			fsnotify_move(new_dir, old_dir, &old_dentry->d_name,
old_dentry       4514 fs/namei.c     	struct dentry *old_dentry, *new_dentry;
old_dentry       4574 fs/namei.c     	old_dentry = __lookup_hash(&old_last, old_path.dentry, lookup_flags);
old_dentry       4575 fs/namei.c     	error = PTR_ERR(old_dentry);
old_dentry       4576 fs/namei.c     	if (IS_ERR(old_dentry))
old_dentry       4580 fs/namei.c     	if (d_is_negative(old_dentry))
old_dentry       4601 fs/namei.c     	if (!d_is_dir(old_dentry)) {
old_dentry       4610 fs/namei.c     	if (old_dentry == trap)
old_dentry       4618 fs/namei.c     	error = security_path_rename(&old_path, old_dentry,
old_dentry       4622 fs/namei.c     	error = vfs_rename(old_path.dentry->d_inode, old_dentry,
old_dentry       4628 fs/namei.c     	dput(old_dentry);
old_dentry       2015 fs/nfs/dir.c   nfs_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry)
old_dentry       2017 fs/nfs/dir.c   	struct inode *inode = d_inode(old_dentry);
old_dentry       2021 fs/nfs/dir.c   		old_dentry, dentry);
old_dentry       2059 fs/nfs/dir.c   int nfs_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       2063 fs/nfs/dir.c   	struct inode *old_inode = d_inode(old_dentry);
old_dentry       2073 fs/nfs/dir.c   		 old_dentry, new_dentry,
old_dentry       2076 fs/nfs/dir.c   	trace_nfs_rename_enter(old_dir, old_dentry, new_dir, new_dentry);
old_dentry       2113 fs/nfs/dir.c   	task = nfs_async_rename(old_dir, new_dir, old_dentry, new_dentry, NULL);
old_dentry       2139 fs/nfs/dir.c   	trace_nfs_rename_exit(old_dir, old_dentry,
old_dentry       2150 fs/nfs/dir.c   		d_move(old_dentry, new_dentry);
old_dentry       2151 fs/nfs/dir.c   		nfs_set_verifier(old_dentry,
old_dentry       2154 fs/nfs/dir.c   		nfs_dentry_handle_enoent(old_dentry);
old_dentry        548 fs/nfs/internal.h 		 struct dentry *old_dentry, struct dentry *new_dentry,
old_dentry        452 fs/nfs/nfs3proc.c 		struct dentry *old_dentry,
old_dentry       4591 fs/nfs/nfs4proc.c 		struct dentry *old_dentry,
old_dentry       4596 fs/nfs/nfs4proc.c 	struct inode *old_inode = d_inode(old_dentry);
old_dentry       4604 fs/nfs/nfs4proc.c 	res->server = NFS_SB(old_dentry->d_sb);
old_dentry        685 fs/nfs/nfstrace.h 			const struct dentry *old_dentry,
old_dentry        690 fs/nfs/nfstrace.h 		TP_ARGS(old_dir, old_dentry, new_dir, new_dentry),
old_dentry        696 fs/nfs/nfstrace.h 			__string(old_name, old_dentry->d_name.name)
old_dentry        704 fs/nfs/nfstrace.h 			__assign_str(old_name, old_dentry->d_name.name);
old_dentry        722 fs/nfs/nfstrace.h 				const struct dentry *old_dentry, \
old_dentry        726 fs/nfs/nfstrace.h 			TP_ARGS(old_dir, old_dentry, new_dir, new_dentry))
old_dentry        731 fs/nfs/nfstrace.h 			const struct dentry *old_dentry,
old_dentry        737 fs/nfs/nfstrace.h 		TP_ARGS(old_dir, old_dentry, new_dir, new_dentry, error),
old_dentry        743 fs/nfs/nfstrace.h 			__string(old_name, old_dentry->d_name.name)
old_dentry        753 fs/nfs/nfstrace.h 			__assign_str(old_name, old_dentry->d_name.name);
old_dentry        773 fs/nfs/nfstrace.h 				const struct dentry *old_dentry, \
old_dentry        778 fs/nfs/nfstrace.h 			TP_ARGS(old_dir, old_dentry, new_dir, \
old_dentry        345 fs/nfs/proc.c  		struct dentry *old_dentry,
old_dentry        263 fs/nfs/unlink.c 	struct dentry *old_dentry = data->old_dentry;
old_dentry        265 fs/nfs/unlink.c 	trace_nfs_sillyrename_rename(old_dir, old_dentry,
old_dentry        285 fs/nfs/unlink.c 	if (d_really_is_positive(data->old_dentry))
old_dentry        286 fs/nfs/unlink.c 		nfs_mark_for_revalidate(d_inode(data->old_dentry));
old_dentry        301 fs/nfs/unlink.c 	dput(data->old_dentry);
old_dentry        334 fs/nfs/unlink.c 		 struct dentry *old_dentry, struct dentry *new_dentry,
old_dentry        363 fs/nfs/unlink.c 	data->old_dentry = dget(old_dentry);
old_dentry        371 fs/nfs/unlink.c 	data->args.old_name = &old_dentry->d_name;
old_dentry        381 fs/nfs/unlink.c 	NFS_PROTO(data->old_dir)->rename_setup(&msg, old_dentry, new_dentry);
old_dentry        393 fs/nfs/unlink.c 	struct dentry *dentry = data->old_dentry;
old_dentry        176 fs/nilfs2/namei.c static int nilfs_link(struct dentry *old_dentry, struct inode *dir,
old_dentry        179 fs/nilfs2/namei.c 	struct inode *inode = d_inode(old_dentry);
old_dentry        341 fs/nilfs2/namei.c static int nilfs_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        345 fs/nilfs2/namei.c 	struct inode *old_inode = d_inode(old_dentry);
old_dentry        362 fs/nilfs2/namei.c 	old_de = nilfs_find_entry(old_dir, &old_dentry->d_name, &old_page);
old_dentry        673 fs/ocfs2/namei.c static int ocfs2_link(struct dentry *old_dentry,
old_dentry        678 fs/ocfs2/namei.c 	struct inode *inode = d_inode(old_dentry);
old_dentry        679 fs/ocfs2/namei.c 	struct inode *old_dir = d_inode(old_dentry->d_parent);
old_dentry        691 fs/ocfs2/namei.c 			 old_dentry->d_name.len, old_dentry->d_name.name,
old_dentry        729 fs/ocfs2/namei.c 	err = ocfs2_lookup_ino_from_name(old_dir, old_dentry->d_name.name,
old_dentry        730 fs/ocfs2/namei.c 			old_dentry->d_name.len, &old_de_ino);
old_dentry       1193 fs/ocfs2/namei.c 			struct dentry *old_dentry,
old_dentry       1200 fs/ocfs2/namei.c 	struct inode *old_inode = d_inode(old_dentry);
old_dentry       1227 fs/ocfs2/namei.c 	trace_ocfs2_rename(old_dir, old_dentry, new_dir, new_dentry,
old_dentry       1228 fs/ocfs2/namei.c 			   old_dentry->d_name.len, old_dentry->d_name.name,
old_dentry       1326 fs/ocfs2/namei.c 	status = ocfs2_remote_dentry_delete(old_dentry);
old_dentry       1356 fs/ocfs2/namei.c 	status = ocfs2_lookup_ino_from_name(old_dir, old_dentry->d_name.name,
old_dentry       1357 fs/ocfs2/namei.c 					    old_dentry->d_name.len,
old_dentry       1555 fs/ocfs2/namei.c 	status = ocfs2_find_entry(old_dentry->d_name.name,
old_dentry       1556 fs/ocfs2/namei.c 				  old_dentry->d_name.len, old_dir,
old_dentry       1563 fs/ocfs2/namei.c 					old_dentry->d_name.len, old_dentry->d_name.name);
old_dentry       1575 fs/ocfs2/namei.c 					old_dentry->d_name.len, old_dentry->d_name.name);
old_dentry       1632 fs/ocfs2/namei.c 	ocfs2_dentry_move(old_dentry, new_dentry, old_dir, new_dir);
old_dentry       2261 fs/ocfs2/ocfs2_trace.h 	TP_PROTO(void *old_dir, void *old_dentry,
old_dentry       2265 fs/ocfs2/ocfs2_trace.h 	TP_ARGS(old_dir, old_dentry, new_dir, new_dentry,
old_dentry       2269 fs/ocfs2/ocfs2_trace.h 		__field(void *, old_dentry)
old_dentry       2279 fs/ocfs2/ocfs2_trace.h 		__entry->old_dentry = old_dentry;
old_dentry       2288 fs/ocfs2/ocfs2_trace.h 		  __entry->old_dir, __entry->old_dentry,
old_dentry       4177 fs/ocfs2/refcounttree.c static int __ocfs2_reflink(struct dentry *old_dentry,
old_dentry       4183 fs/ocfs2/refcounttree.c 	struct inode *inode = d_inode(old_dentry);
old_dentry       4248 fs/ocfs2/refcounttree.c static int ocfs2_reflink(struct dentry *old_dentry, struct inode *dir,
old_dentry       4252 fs/ocfs2/refcounttree.c 	struct inode *inode = d_inode(old_dentry);
old_dentry       4283 fs/ocfs2/refcounttree.c 	error = __ocfs2_reflink(old_dentry, old_bh,
old_dentry       4358 fs/ocfs2/refcounttree.c static int ocfs2_vfs_reflink(struct dentry *old_dentry, struct inode *dir,
old_dentry       4361 fs/ocfs2/refcounttree.c 	struct inode *inode = d_inode(old_dentry);
old_dentry       4409 fs/ocfs2/refcounttree.c 		error = ocfs2_reflink(old_dentry, dir, new_dentry, preserve);
old_dentry        372 fs/omfs/dir.c  static int omfs_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        377 fs/omfs/dir.c  	struct inode *old_inode = d_inode(old_dentry);
old_dentry        392 fs/omfs/dir.c  	err = omfs_delete_entry(old_dentry);
old_dentry        376 fs/orangefs/namei.c 			struct dentry *old_dentry,
old_dentry        390 fs/orangefs/namei.c 		     old_dentry, new_dentry, d_count(new_dentry));
old_dentry        405 fs/orangefs/namei.c 		old_dentry->d_name.name,
old_dentry        413 fs/orangefs/namei.c 				get_interruptible_flag(old_dentry->d_inode));
old_dentry        104 fs/overlayfs/overlayfs.h static inline int ovl_do_link(struct dentry *old_dentry, struct inode *dir,
old_dentry        107 fs/overlayfs/overlayfs.h 	int err = vfs_link(old_dentry, dir, new_dentry, NULL);
old_dentry        109 fs/overlayfs/overlayfs.h 	pr_debug("link(%pd2, %pd2) = %i\n", old_dentry, new_dentry, err);
old_dentry       1197 fs/reiserfs/namei.c static int reiserfs_link(struct dentry *old_dentry, struct inode *dir,
old_dentry       1201 fs/reiserfs/namei.c 	struct inode *inode = d_inode(old_dentry);
old_dentry       1307 fs/reiserfs/namei.c static int reiserfs_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       1348 fs/reiserfs/namei.c 	old_inode = d_inode(old_dentry);
old_dentry       1358 fs/reiserfs/namei.c 	    reiserfs_find_entry(old_dir, old_dentry->d_name.name,
old_dentry       1359 fs/reiserfs/namei.c 				old_dentry->d_name.len, &old_entry_path,
old_dentry       1524 fs/reiserfs/namei.c 		    !entry_points_to_object(old_dentry->d_name.name,
old_dentry       1525 fs/reiserfs/namei.c 					    old_dentry->d_name.len,
old_dentry         99 fs/sysv/namei.c static int sysv_link(struct dentry * old_dentry, struct inode * dir, 
old_dentry        102 fs/sysv/namei.c 	struct inode *inode = d_inode(old_dentry);
old_dentry        189 fs/sysv/namei.c static int sysv_rename(struct inode * old_dir, struct dentry * old_dentry,
old_dentry        193 fs/sysv/namei.c 	struct inode * old_inode = d_inode(old_dentry);
old_dentry        204 fs/sysv/namei.c 	old_de = sysv_find_entry(old_dentry, &old_page);
old_dentry        687 fs/ubifs/dir.c static int ubifs_link(struct dentry *old_dentry, struct inode *dir,
old_dentry        691 fs/ubifs/dir.c 	struct inode *inode = d_inode(old_dentry);
old_dentry        710 fs/ubifs/dir.c 	err = fscrypt_prepare_link(old_dentry, dir, dentry);
old_dentry       1247 fs/ubifs/dir.c static int do_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       1252 fs/ubifs/dir.c 	struct inode *old_inode = d_inode(old_dentry);
old_dentry       1278 fs/ubifs/dir.c 		old_dentry, old_inode->i_ino, old_dir->i_ino,
old_dentry       1295 fs/ubifs/dir.c 	err = fscrypt_setup_filename(old_dir, &old_dentry->d_name, 0, &old_nm);
old_dentry       1331 fs/ubifs/dir.c 		err = do_tmpfile(old_dir, old_dentry, S_IFCHR | WHITEOUT_MODE, &whiteout);
old_dentry       1488 fs/ubifs/dir.c static int ubifs_xrename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       1495 fs/ubifs/dir.c 	struct inode *fst_inode = d_inode(old_dentry);
old_dentry       1503 fs/ubifs/dir.c 	err = fscrypt_setup_filename(old_dir, &old_dentry->d_name, 0, &fst_nm);
old_dentry       1543 fs/ubifs/dir.c static int ubifs_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       1556 fs/ubifs/dir.c 	err = fscrypt_prepare_rename(old_dir, old_dentry, new_dir, new_dentry,
old_dentry       1562 fs/ubifs/dir.c 		return ubifs_xrename(old_dir, old_dentry, new_dir, new_dentry);
old_dentry       1564 fs/ubifs/dir.c 	return do_rename(old_dir, old_dentry, new_dir, new_dentry, flags);
old_dentry       1030 fs/udf/namei.c static int udf_link(struct dentry *old_dentry, struct inode *dir,
old_dentry       1033 fs/udf/namei.c 	struct inode *inode = d_inode(old_dentry);
old_dentry       1069 fs/udf/namei.c static int udf_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       1073 fs/udf/namei.c 	struct inode *old_inode = d_inode(old_dentry);
old_dentry       1086 fs/udf/namei.c 	ofi = udf_find_entry(old_dir, &old_dentry->d_name, &ofibh, &ocfi);
old_dentry       1165 fs/udf/namei.c 	ofi = udf_find_entry(old_dir, &old_dentry->d_name, &ofibh, &ocfi);
old_dentry        148 fs/ufs/namei.c static int ufs_link (struct dentry * old_dentry, struct inode * dir,
old_dentry        151 fs/ufs/namei.c 	struct inode *inode = d_inode(old_dentry);
old_dentry        243 fs/ufs/namei.c static int ufs_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        247 fs/ufs/namei.c 	struct inode *old_inode = d_inode(old_dentry);
old_dentry        258 fs/ufs/namei.c 	old_de = ufs_find_entry(old_dir, &old_dentry->d_name, &old_page);
old_dentry        311 fs/xfs/xfs_iops.c 	struct dentry	*old_dentry,
old_dentry        315 fs/xfs/xfs_iops.c 	struct inode	*inode = d_inode(old_dentry);
old_dentry         97 include/linux/debugfs.h struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry,
old_dentry        241 include/linux/debugfs.h static inline struct dentry *debugfs_rename(struct dentry *old_dir, struct dentry *old_dentry,
old_dentry        257 include/linux/fscrypt.h 				    struct dentry *old_dentry,
old_dentry        514 include/linux/fscrypt.h 					   struct dentry *old_dentry,
old_dentry        605 include/linux/fscrypt.h static inline int fscrypt_prepare_link(struct dentry *old_dentry,
old_dentry        610 include/linux/fscrypt.h 		return __fscrypt_prepare_link(d_inode(old_dentry), dir, dentry);
old_dentry        636 include/linux/fscrypt.h 					 struct dentry *old_dentry,
old_dentry        642 include/linux/fscrypt.h 		return __fscrypt_prepare_rename(old_dir, old_dentry,
old_dentry       1537 include/linux/lsm_hooks.h 	int (*path_link)(struct dentry *old_dentry, const struct path *new_dir,
old_dentry       1539 include/linux/lsm_hooks.h 	int (*path_rename)(const struct path *old_dir, struct dentry *old_dentry,
old_dentry       1557 include/linux/lsm_hooks.h 	int (*inode_link)(struct dentry *old_dentry, struct inode *dir,
old_dentry       1567 include/linux/lsm_hooks.h 	int (*inode_rename)(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       1610 include/linux/nfs_xdr.h 	struct dentry		*old_dentry;
old_dentry       1665 include/linux/nfs_xdr.h 			struct dentry *old_dentry,
old_dentry        325 include/linux/security.h int security_inode_link(struct dentry *old_dentry, struct inode *dir,
old_dentry        333 include/linux/security.h int security_inode_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry        739 include/linux/security.h static inline int security_inode_link(struct dentry *old_dentry,
old_dentry        780 include/linux/security.h 					 struct dentry *old_dentry,
old_dentry       1666 include/linux/security.h int security_path_link(struct dentry *old_dentry, const struct path *new_dir,
old_dentry       1668 include/linux/security.h int security_path_rename(const struct path *old_dir, struct dentry *old_dentry,
old_dentry       1708 include/linux/security.h static inline int security_path_link(struct dentry *old_dentry,
old_dentry       1716 include/linux/security.h 				       struct dentry *old_dentry,
old_dentry       2953 mm/shmem.c     static int shmem_link(struct dentry *old_dentry, struct inode *dir, struct dentry *dentry)
old_dentry       2955 mm/shmem.c     	struct inode *inode = d_inode(old_dentry);
old_dentry       3005 mm/shmem.c     static int shmem_exchange(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry)
old_dentry       3007 mm/shmem.c     	bool old_is_dir = d_is_dir(old_dentry);
old_dentry       3021 mm/shmem.c     	d_inode(old_dentry)->i_ctime =
old_dentry       3027 mm/shmem.c     static int shmem_whiteout(struct inode *old_dir, struct dentry *old_dentry)
old_dentry       3032 mm/shmem.c     	whiteout = d_alloc(old_dentry->d_parent, &old_dentry->d_name);
old_dentry       3059 mm/shmem.c     static int shmem_rename2(struct inode *old_dir, struct dentry *old_dentry, struct inode *new_dir, struct dentry *new_dentry, unsigned int flags)
old_dentry       3061 mm/shmem.c     	struct inode *inode = d_inode(old_dentry);
old_dentry       3068 mm/shmem.c     		return shmem_exchange(old_dir, old_dentry, new_dir, new_dentry);
old_dentry       3076 mm/shmem.c     		error = shmem_whiteout(old_dir, old_dentry);
old_dentry        464 security/apparmor/file.c int aa_path_link(struct aa_label *label, struct dentry *old_dentry,
old_dentry        468 security/apparmor/file.c 	struct path target = { .mnt = new_dir->mnt, .dentry = old_dentry };
old_dentry        470 security/apparmor/file.c 		d_backing_inode(old_dentry)->i_uid,
old_dentry        471 security/apparmor/file.c 		d_backing_inode(old_dentry)->i_mode
old_dentry        196 security/apparmor/include/file.h int aa_path_link(struct aa_label *label, struct dentry *old_dentry,
old_dentry        326 security/apparmor/lsm.c static int apparmor_path_link(struct dentry *old_dentry, const struct path *new_dir,
old_dentry        332 security/apparmor/lsm.c 	if (!path_mediated_fs(old_dentry))
old_dentry        337 security/apparmor/lsm.c 		error = aa_path_link(label, old_dentry, new_dir, new_dentry);
old_dentry        343 security/apparmor/lsm.c static int apparmor_path_rename(const struct path *old_dir, struct dentry *old_dentry,
old_dentry        349 security/apparmor/lsm.c 	if (!path_mediated_fs(old_dentry))
old_dentry        355 security/apparmor/lsm.c 					 .dentry = old_dentry };
old_dentry        358 security/apparmor/lsm.c 		struct path_cond cond = { d_backing_inode(old_dentry)->i_uid,
old_dentry        359 security/apparmor/lsm.c 					  d_backing_inode(old_dentry)->i_mode
old_dentry       1056 security/security.c int security_path_link(struct dentry *old_dentry, const struct path *new_dir,
old_dentry       1059 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry))))
old_dentry       1061 security/security.c 	return call_int_hook(path_link, 0, old_dentry, new_dir, new_dentry);
old_dentry       1064 security/security.c int security_path_rename(const struct path *old_dir, struct dentry *old_dentry,
old_dentry       1068 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry)) ||
old_dentry       1074 security/security.c 					old_dir, old_dentry);
old_dentry       1079 security/security.c 	return call_int_hook(path_rename, 0, old_dir, old_dentry, new_dir,
old_dentry       1119 security/security.c int security_inode_link(struct dentry *old_dentry, struct inode *dir,
old_dentry       1122 security/security.c 	if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry))))
old_dentry       1124 security/security.c 	return call_int_hook(inode_link, 0, old_dentry, dir, new_dentry);
old_dentry       1164 security/security.c int security_inode_rename(struct inode *old_dir, struct dentry *old_dentry,
old_dentry       1168 security/security.c         if (unlikely(IS_PRIVATE(d_backing_inode(old_dentry)) ||
old_dentry       1174 security/security.c 						     old_dir, old_dentry);
old_dentry       1179 security/security.c 	return call_int_hook(inode_rename, 0, old_dir, old_dentry,
old_dentry       1903 security/selinux/hooks.c 			     struct dentry *old_dentry,
old_dentry       1915 security/selinux/hooks.c 	old_isec = backing_inode_security(old_dentry);
old_dentry       1916 security/selinux/hooks.c 	old_is_dir = d_is_dir(old_dentry);
old_dentry       1921 security/selinux/hooks.c 	ad.u.dentry = old_dentry;
old_dentry       2959 security/selinux/hooks.c static int selinux_inode_link(struct dentry *old_dentry, struct inode *dir, struct dentry *new_dentry)
old_dentry       2961 security/selinux/hooks.c 	return may_link(dir, old_dentry, MAY_LINK);
old_dentry       2989 security/selinux/hooks.c static int selinux_inode_rename(struct inode *old_inode, struct dentry *old_dentry,
old_dentry       2992 security/selinux/hooks.c 	return may_rename(old_inode, old_dentry, new_inode, new_dentry);
old_dentry       1030 security/smack/smack_lsm.c static int smack_inode_link(struct dentry *old_dentry, struct inode *dir,
old_dentry       1038 security/smack/smack_lsm.c 	smk_ad_setfield_u_fs_path_dentry(&ad, old_dentry);
old_dentry       1040 security/smack/smack_lsm.c 	isp = smk_of_inode(d_backing_inode(old_dentry));
old_dentry       1042 security/smack/smack_lsm.c 	rc = smk_bu_inode(d_backing_inode(old_dentry), MAY_WRITE, rc);
old_dentry       1135 security/smack/smack_lsm.c 			      struct dentry *old_dentry,
old_dentry       1144 security/smack/smack_lsm.c 	smk_ad_setfield_u_fs_path_dentry(&ad, old_dentry);
old_dentry       1146 security/smack/smack_lsm.c 	isp = smk_of_inode(d_backing_inode(old_dentry));
old_dentry       1148 security/smack/smack_lsm.c 	rc = smk_bu_inode(d_backing_inode(old_dentry), MAY_READWRITE, rc);
old_dentry        258 security/tomoyo/tomoyo.c static int tomoyo_path_link(struct dentry *old_dentry, const struct path *new_dir,
old_dentry        261 security/tomoyo/tomoyo.c 	struct path path1 = { .mnt = new_dir->mnt, .dentry = old_dentry };
old_dentry        278 security/tomoyo/tomoyo.c 			      struct dentry *old_dentry,
old_dentry        282 security/tomoyo/tomoyo.c 	struct path path1 = { .mnt = old_parent->mnt, .dentry = old_dentry };