Lines Matching refs:old_dentry
1130 static int current_check_refer_path(struct dentry *const old_dentry, in current_check_refer_path() argument
1148 if (unlikely(d_is_negative(old_dentry))) in current_check_refer_path()
1159 get_mode_access(d_backing_inode(old_dentry)->i_mode); in current_check_refer_path()
1161 access_request_parent1 |= maybe_remove(old_dentry); in current_check_refer_path()
1166 if (old_dentry->d_parent == new_dir->dentry) { in current_check_refer_path()
1198 old_parent = (old_dentry == mnt_dir.dentry) ? old_dentry : in current_check_refer_path()
1199 old_dentry->d_parent; in current_check_refer_path()
1220 &layer_masks_parent1, &request1, old_dentry, in current_check_refer_path()
1510 static int hook_path_link(struct dentry *const old_dentry, in hook_path_link() argument
1514 return current_check_refer_path(old_dentry, new_dir, new_dentry, false, in hook_path_link()
1519 struct dentry *const old_dentry, in hook_path_rename() argument
1525 return current_check_refer_path(old_dentry, new_dir, new_dentry, true, in hook_path_rename()