Lines Matching refs:target
80 * name already exists, due to not following the symlink even if its target
4307 struct inode *target = dentry->d_inode;
4316 inode_lock(target);
4317 if (IS_SWAPFILE(target))
4324 error = try_break_deleg(target, delegated_inode);
4335 inode_unlock(target);
4341 fsnotify_link_count(target);
4737 * whether the target exists). Solution: try to be smart with locking
4748 * we are removing the target. Solution: we will have to grab ->i_mutex
4763 struct inode *target = new_dentry->d_inode;
4769 if (source == target)
4776 if (!target) {
4806 error = inode_permission(rd->new_mnt_idmap, target,
4824 * The target subdirectory needs to be locked on cross-directory
4838 if (target && (!new_is_dir || lock_new_subdir))
4839 inode_lock(target);
4842 inode_lock_nested(target, I_MUTEX_CHILD);
4845 lock_two_nondirectories(source, target);
4849 if (IS_SWAPFILE(source) || (target && IS_SWAPFILE(target)))
4869 if (target && !new_is_dir) {
4870 error = try_break_deleg(target, delegated_inode);
4879 if (!(flags & RENAME_EXCHANGE) && target) {
4882 target->i_flags |= S_DEAD;
4896 if (target && (!new_is_dir || lock_new_subdir))
4897 inode_unlock(target);
4901 !(flags & RENAME_EXCHANGE) ? target : NULL, old_dentry);
5004 /* source should not be ancestor of target */
5008 /* target should not be an ancestor of source */