Lines Matching refs:level
14 iter->sptep = iter->pt_path[iter->level - 1] + in tdp_iter_refresh_sptep()
15 SPTE_INDEX(iter->gfn << PAGE_SHIFT, iter->level); in tdp_iter_refresh_sptep()
27 iter->level = iter->root_level; in tdp_iter_restart()
29 iter->gfn = gfn_round_for_level(iter->next_last_level_gfn, iter->level); in tdp_iter_restart()
42 int root_level = root->role.level; in tdp_iter_start()
61 tdp_ptep_t spte_to_child_pt(u64 spte, int level) in spte_to_child_pt() argument
67 if (!is_shadow_present_pte(spte) || is_last_spte(spte, level)) in spte_to_child_pt()
81 if (iter->level == iter->min_level) in try_step_down()
90 child_pt = spte_to_child_pt(iter->old_spte, iter->level); in try_step_down()
94 iter->level--; in try_step_down()
95 iter->pt_path[iter->level - 1] = child_pt; in try_step_down()
96 iter->gfn = gfn_round_for_level(iter->next_last_level_gfn, iter->level); in try_step_down()
115 if (SPTE_INDEX(iter->gfn << PAGE_SHIFT, iter->level) == in try_step_side()
119 iter->gfn += KVM_PAGES_PER_HPAGE(iter->level); in try_step_side()
134 if (iter->level == iter->root_level) in try_step_up()
137 iter->level++; in try_step_up()
138 iter->gfn = gfn_round_for_level(iter->gfn, iter->level); in try_step_up()