Home
last modified time | relevance | path

Searched refs:KVM_MAX_PVMS (Results 1 – 2 of 2) sorted by relevance

/arch/arm64/include/asm/
Dkvm_pkvm.h17 #define KVM_MAX_PVMS 255 macro
271 return PAGE_ALIGN(KVM_MAX_PVMS * shadow_entry_size) >> PAGE_SHIFT; in hyp_shadow_table_pages()
/arch/arm64/kvm/hyp/nvhe/
Dpkvm.c265 if (unlikely(shadow_index < 0 || shadow_index >= KVM_MAX_PVMS)) in find_shadow_by_handle()
509 for (i = 0; i < KVM_MAX_PVMS && num_checked < num_shadow_entries; i++) { in __exists_shadow()
537 if (unlikely(num_shadow_entries >= KVM_MAX_PVMS)) in insert_shadow_table()
553 next_shadow_alloc = (next_shadow_alloc + 1) % KVM_MAX_PVMS; in insert_shadow_table()
570 next_shadow_alloc = (next_shadow_alloc + 1) % KVM_MAX_PVMS; in insert_shadow_table()