• Home
  • Raw
  • Download

Lines Matching refs:pgdp

111 static inline void srmmu_ctxd_set(ctxd_t *ctxp, pgd_t *pgdp)  in srmmu_ctxd_set()  argument
115 pte = __pte((SRMMU_ET_PTD | (__nocache_pa(pgdp) >> 4))); in srmmu_ctxd_set()
492 pgd_t *pgdp; in srmmu_mapioaddr() local
498 pgdp = pgd_offset_k(virt_addr); in srmmu_mapioaddr()
499 pmdp = pmd_offset(pgdp, virt_addr); in srmmu_mapioaddr()
527 pgd_t *pgdp; in srmmu_unmapioaddr() local
531 pgdp = pgd_offset_k(virt_addr); in srmmu_unmapioaddr()
532 pmdp = pmd_offset(pgdp, virt_addr); in srmmu_unmapioaddr()
669 pgd_t *pgdp; in srmmu_early_allocate_ptable_skeleton() local
674 pgdp = pgd_offset_k(start); in srmmu_early_allocate_ptable_skeleton()
675 if (pgd_none(*(pgd_t *)__nocache_fix(pgdp))) { in srmmu_early_allocate_ptable_skeleton()
681 pgd_set(__nocache_fix(pgdp), pmdp); in srmmu_early_allocate_ptable_skeleton()
683 pmdp = pmd_offset(__nocache_fix(pgdp), start); in srmmu_early_allocate_ptable_skeleton()
700 pgd_t *pgdp; in srmmu_allocate_ptable_skeleton() local
705 pgdp = pgd_offset_k(start); in srmmu_allocate_ptable_skeleton()
706 if (pgd_none(*pgdp)) { in srmmu_allocate_ptable_skeleton()
711 pgd_set(pgdp, pmdp); in srmmu_allocate_ptable_skeleton()
713 pmdp = pmd_offset(pgdp, start); in srmmu_allocate_ptable_skeleton()
755 pgd_t *pgdp; in srmmu_inherit_prom_mappings() local
786 pgdp = pgd_offset_k(start); in srmmu_inherit_prom_mappings()
788 *(pgd_t *)__nocache_fix(pgdp) = __pgd(probed); in srmmu_inherit_prom_mappings()
792 if (pgd_none(*(pgd_t *)__nocache_fix(pgdp))) { in srmmu_inherit_prom_mappings()
798 pgd_set(__nocache_fix(pgdp), pmdp); in srmmu_inherit_prom_mappings()
800 pmdp = pmd_offset(__nocache_fix(pgdp), start); in srmmu_inherit_prom_mappings()
832 pgd_t *pgdp = pgd_offset_k(vaddr); in do_large_mapping() local
836 *(pgd_t *)__nocache_fix(pgdp) = __pgd(big_pte); in do_large_mapping()