Lines Matching refs:old_dentry
763 * @old_dentry: File or directory requested to be moved or linked.
810 * - -EXDEV if @old_dentry would inherit new access rights from @new_dir;
813 static int current_check_refer_path(struct dentry *const old_dentry,
830 if (unlikely(d_is_negative(old_dentry)))
841 get_mode_access(d_backing_inode(old_dentry)->i_mode);
843 access_request_parent1 |= maybe_remove(old_dentry);
848 if (old_dentry->d_parent == new_dir->dentry) {
872 old_dentry->d_parent,
882 * take into account the @old_dentry access rights aggregated with its
888 old_dentry, access_request_parent2, &layer_masks_parent2,
1102 static int hook_path_link(struct dentry *const old_dentry,
1106 return current_check_refer_path(old_dentry, new_dir, new_dentry, false,
1111 struct dentry *const old_dentry,
1116 /* old_dir refers to old_dentry->d_parent and new_dir->mnt */
1117 return current_check_refer_path(old_dentry, new_dir, new_dentry, true,