Home
last modified time | relevance | path

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

/arch/arm64/kvm/
Dpkvm.c121 size_t pgd_sz, shadow_sz, vcpu_state_sz; in __create_el2_shadow() local
161 vcpu_state_sz = PAGE_ALIGN(SHADOW_VCPU_STATE_SIZE); in __create_el2_shadow()
170 vcpu_state = alloc_pages_exact(vcpu_state_sz, GFP_KERNEL_ACCOUNT); in __create_el2_shadow()
179 free_pages_exact(vcpu_state, vcpu_state_sz); in __create_el2_shadow()
/arch/arm64/kvm/hyp/nvhe/
Dpkvm.c742 size_t vcpu_state_sz = sizeof(*shadow_state); in __pkvm_init_shadow_vcpu() local
743 u64 nr_pages = PAGE_ALIGN(vcpu_state_sz) >> PAGE_SHIFT; in __pkvm_init_shadow_vcpu()
755 memset(shadow_state, 0, vcpu_state_sz); in __pkvm_init_shadow_vcpu()
781 memset(shadow_state, 0, vcpu_state_sz); in __pkvm_init_shadow_vcpu()