Lines Matching refs:old_dentry
894 * @old_dentry: File or directory requested to be moved or linked.
941 * - -EXDEV if @old_dentry would inherit new access rights from @new_dir;
944 static int current_check_refer_path(struct dentry *const old_dentry,
960 if (unlikely(d_is_negative(old_dentry)))
971 get_mode_access(d_backing_inode(old_dentry)->i_mode);
973 access_request_parent1 |= maybe_remove(old_dentry);
978 if (old_dentry->d_parent == new_dir->dentry) {
1002 old_dentry->d_parent,
1012 * take into account the @old_dentry access rights aggregated with its
1018 old_dentry, access_request_parent2, &layer_masks_parent2,
1232 static int hook_path_link(struct dentry *const old_dentry,
1236 return current_check_refer_path(old_dentry, new_dir, new_dentry, false,
1241 struct dentry *const old_dentry,
1246 /* old_dir refers to old_dentry->d_parent and new_dir->mnt */
1247 return current_check_refer_path(old_dentry, new_dir, new_dentry, true,