Searched refs:KVM_PGTABLE_MAX_LEVELS (Results 1 – 6 of 6) sorted by relevance
22 for (i = 0; i < KVM_PGTABLE_MAX_LEVELS; i++) { in __hyp_pgtable_max_pages()
14 #define KVM_PGTABLE_MAX_LEVELS 4U macro
116 if (level == KVM_PGTABLE_MAX_LEVELS - 1) in kvm_pte_table()160 u64 type = (level == KVM_PGTABLE_MAX_LEVELS - 1) ? KVM_PTE_TYPE_PAGE : in kvm_init_valid_leaf_pte()236 if (WARN_ON_ONCE(level >= KVM_PGTABLE_MAX_LEVELS)) in __kvm_pgtable_walk()418 if (WARN_ON(level == KVM_PGTABLE_MAX_LEVELS - 1)) in hyp_map_walker()527 pgt->start_level = KVM_PGTABLE_MAX_LEVELS - levels; in kvm_pgtable_hyp_init()714 if (data->force_pte && (level < (KVM_PGTABLE_MAX_LEVELS - 1))) in stage2_leaf_mapping_allowed()807 if (WARN_ON(level == KVM_PGTABLE_MAX_LEVELS - 1)) in stage2_map_walk_leaf()
212 if (level != (KVM_PGTABLE_MAX_LEVELS - 1)) in finalize_host_mappings_walker()
305 } while ((level < KVM_PGTABLE_MAX_LEVELS) && in host_stage2_adjust_range()
645 .start_level = (KVM_PGTABLE_MAX_LEVELS - in get_user_mapping_size()655 VM_BUG_ON(level >= KVM_PGTABLE_MAX_LEVELS); in get_user_mapping_size()