Lines Matching refs:old_dentry
817 static int current_check_refer_path(struct dentry *const old_dentry, in current_check_refer_path() argument
834 if (unlikely(d_is_negative(old_dentry))) in current_check_refer_path()
845 get_mode_access(d_backing_inode(old_dentry)->i_mode); in current_check_refer_path()
847 access_request_parent1 |= maybe_remove(old_dentry); in current_check_refer_path()
852 if (old_dentry->d_parent == new_dir->dentry) { in current_check_refer_path()
875 old_dentry->d_parent, in current_check_refer_path()
890 &layer_masks_parent1, old_dentry, in current_check_refer_path()
1089 static int hook_path_link(struct dentry *const old_dentry, in hook_path_link() argument
1093 return current_check_refer_path(old_dentry, new_dir, new_dentry, false, in hook_path_link()
1098 struct dentry *const old_dentry, in hook_path_rename() argument
1104 return current_check_refer_path(old_dentry, new_dir, new_dentry, true, in hook_path_rename()