Lines Matching refs:pgd_t
37 static pgd_t *boot_hyp_pgd;
38 static pgd_t *hyp_pgd;
39 static pgd_t *merged_hyp_pgd;
48 #define S2_PGD_SIZE (PTRS_PER_S2_PGD * sizeof(pgd_t))
49 #define hyp_pgd_order get_order(PTRS_PER_PGD * sizeof(pgd_t))
151 static void clear_stage2_pgd_entry(struct kvm *kvm, pgd_t *pgd, phys_addr_t addr) in clear_stage2_pgd_entry()
203 static inline void kvm_pgd_populate(pgd_t *pgdp, pud_t *pudp) in kvm_pgd_populate()
288 static void unmap_stage2_puds(struct kvm *kvm, pgd_t *pgd, in unmap_stage2_puds()
329 pgd_t *pgd; in __unmap_stage2_range()
392 static void stage2_flush_puds(struct kvm *kvm, pgd_t *pgd, in stage2_flush_puds()
416 pgd_t *pgd; in stage2_flush_memslot()
450 static void clear_hyp_pgd_entry(pgd_t *pgd) in clear_hyp_pgd_entry()
509 static void unmap_hyp_puds(pgd_t *pgd, phys_addr_t addr, phys_addr_t end) in unmap_hyp_puds()
531 static void __unmap_hyp_range(pgd_t *pgdp, unsigned long ptrs_per_pgd, in __unmap_hyp_range()
534 pgd_t *pgd; in __unmap_hyp_range()
550 static void unmap_hyp_range(pgd_t *pgdp, phys_addr_t start, u64 size) in unmap_hyp_range()
555 static void unmap_hyp_idmap_range(pgd_t *pgdp, phys_addr_t start, u64 size) in unmap_hyp_idmap_range()
572 pgd_t *id_pgd; in free_hyp_pgds()
656 static int create_hyp_pud_mappings(pgd_t *pgd, unsigned long start, in create_hyp_pud_mappings()
689 static int __create_hyp_mappings(pgd_t *pgdp, unsigned long ptrs_per_pgd, in __create_hyp_mappings()
693 pgd_t *pgd; in __create_hyp_mappings()
778 pgd_t *pgd = hyp_pgd; in __create_hyp_private_mapping()
899 pgd_t *pgd; in kvm_alloc_stage2_pgd()
1010 pgd_t *pgd; in stage2_get_pud()
1347 static void stage2_wp_puds(pgd_t *pgd, phys_addr_t addr, phys_addr_t end) in stage2_wp_puds()
1371 pgd_t *pgd; in stage2_wp_range()
1961 static int kvm_map_idmap_text(pgd_t *pgd) in kvm_map_idmap_text()
2010 hyp_pgd = (pgd_t *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, hyp_pgd_order); in kvm_mmu_init()
2018 boot_hyp_pgd = (pgd_t *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in kvm_mmu_init()
2030 merged_hyp_pgd = (pgd_t *)__get_free_page(GFP_KERNEL | __GFP_ZERO); in kvm_mmu_init()