Home
last modified time | relevance | path

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

/Linux-v6.6/arch/arm64/kvm/hyp/nvhe/
Dpkvm.c470 size_t vm_size, pgd_size; in __pkvm_init_vm() local
486 pgd_size = kvm_pgtable_stage2_pgd_size(host_mmu.arch.vtcr); in __pkvm_init_vm()
494 pgd = map_donated_memory_noclear(pgd_hva, pgd_size); in __pkvm_init_vm()
518 unmap_donated_memory(pgd, pgd_size); in __pkvm_init_vm()
/Linux-v6.6/arch/x86/mm/
Dmem_encrypt_identity.c104 unsigned long pgd_start, pgd_end, pgd_size; in sme_clear_pgd() local
110 pgd_size = (((pgd_end - pgd_start) / PGDIR_SIZE) + 1) * sizeof(pgd_t); in sme_clear_pgd()
114 memset(pgd_p, 0, pgd_size); in sme_clear_pgd()