Lines Matching refs:old_dentry
813 static int current_check_refer_path(struct dentry *const old_dentry, in current_check_refer_path() argument
830 if (unlikely(d_is_negative(old_dentry))) in current_check_refer_path()
841 get_mode_access(d_backing_inode(old_dentry)->i_mode); in current_check_refer_path()
843 access_request_parent1 |= maybe_remove(old_dentry); in current_check_refer_path()
848 if (old_dentry->d_parent == new_dir->dentry) { in current_check_refer_path()
872 old_dentry->d_parent, in current_check_refer_path()
888 old_dentry, access_request_parent2, &layer_masks_parent2, in current_check_refer_path()
1102 static int hook_path_link(struct dentry *const old_dentry, in hook_path_link() argument
1106 return current_check_refer_path(old_dentry, new_dir, new_dentry, false, in hook_path_link()
1111 struct dentry *const old_dentry, in hook_path_rename() argument
1117 return current_check_refer_path(old_dentry, new_dir, new_dentry, true, in hook_path_rename()