Home
last modified time | relevance | path

Searched refs:pgdir (Results 1 – 24 of 24) sorted by relevance

/arch/tile/include/asm/
Dmmu_context.h37 static inline void __install_page_table(pgd_t *pgdir, int asid, pgprot_t prot) in __install_page_table() argument
40 int rc = hv_install_context(__pa(pgdir), prot, asid, in __install_page_table()
46 static inline void install_page_table(pgd_t *pgdir, int asid) in install_page_table() argument
48 pte_t *ptep = virt_to_kpte((unsigned long)pgdir); in install_page_table()
49 __install_page_table(pgdir, asid, *ptep); in install_page_table()
/arch/microblaze/include/asm/
Dmmu_context_mm.h120 tsk->thread.pgdir = next->pgd; in switch_mm()
132 current->thread.pgdir = mm->pgd; in activate_mm()
Dprocessor.h111 void *pgdir; /* root of page-table tree */ member
117 .pgdir = swapper_pg_dir, \
/arch/powerpc/perf/
Dcallchain.c116 pgd_t *pgdir; in read_user_stack_slow() local
124 pgdir = current->mm->pgd; in read_user_stack_slow()
125 if (!pgdir) in read_user_stack_slow()
128 ptep = find_linux_pte_or_hugepte(pgdir, addr, &shift); in read_user_stack_slow()
/arch/powerpc/include/asm/
Dpgtable.h286 pte_t *find_linux_pte_or_hugepte(pgd_t *pgdir, unsigned long ea,
289 static inline pte_t *lookup_linux_ptep(pgd_t *pgdir, unsigned long hva, in lookup_linux_ptep() argument
296 ptep = find_linux_pte_or_hugepte(pgdir, hva, &shift); in lookup_linux_ptep()
Dmmu_context.h50 tsk->thread.pgdir = next->pgd; in switch_mm()
Dprocessor.h222 void *pgdir; /* root of page-table tree */ member
334 .pgdir = swapper_pg_dir, \
Dkvm_book3s.h177 pgd_t *pgdir, bool realmode, unsigned long *idx_ret);
Dkvm_host.h597 pgd_t *pgdir; member
/arch/arm/include/asm/
Dsmp.h64 u64 pgdir; member
/arch/powerpc/kvm/
Dbook3s_hv_rm_mmu.c138 static pte_t lookup_linux_pte_and_update(pgd_t *pgdir, unsigned long hva, in lookup_linux_pte_and_update() argument
145 ptep = find_linux_pte_or_hugepte(pgdir, hva, &hugepage_shift); in lookup_linux_pte_and_update()
165 pgd_t *pgdir, bool realmode, unsigned long *pte_idx_ret) in kvmppc_do_h_enter() argument
236 pte = lookup_linux_pte_and_update(pgdir, hva, writing, in kvmppc_do_h_enter()
371 vcpu->arch.pgdir, true, &vcpu->arch.gpr[4]); in kvmppc_h_enter()
686 pgd_t *pgdir = vcpu->arch.pgdir; in kvmppc_h_protect() local
694 pte = lookup_linux_pte_and_update(pgdir, hva, in kvmppc_h_protect()
De500_mmu_host.c340 pgd_t *pgdir; in kvmppc_e500_shadow_map() local
470 pgdir = vcpu_e500->vcpu.arch.pgdir; in kvmppc_e500_shadow_map()
471 ptep = lookup_linux_ptep(pgdir, hva, &tsize_pages); in kvmppc_e500_shadow_map()
Dbooke.c767 vcpu->arch.pgdir = current->mm->pgd; in kvmppc_vcpu_run()
Dbook3s_hv.c2019 vcpu->arch.pgdir = current->mm->pgd; in kvmppc_vcpu_run_hv()
/arch/powerpc/mm/
Dhash_utils_64.c995 pgd_t *pgdir; in hash_page_mm() local
1043 pgdir = mm->pgd; in hash_page_mm()
1044 if (pgdir == NULL) { in hash_page_mm()
1067 ptep = find_linux_pte_or_hugepte(pgdir, ea, &hugeshift); in hash_page_mm()
1200 pgd_t *pgdir; in hash_preload() local
1217 pgdir = mm->pgd; in hash_preload()
1218 if (pgdir == NULL) in hash_preload()
1236 ptep = find_linux_pte_or_hugepte(pgdir, ea, &hugepage_shift); in hash_preload()
Dhugetlbpage.c945 pte_t *find_linux_pte_or_hugepte(pgd_t *pgdir, unsigned long ea, unsigned *shift) in find_linux_pte_or_hugepte() argument
957 pgdp = pgdir + pgd_index(ea); in find_linux_pte_or_hugepte()
/arch/mn10300/mm/
Dfault.c68 static void print_pagetable_entries(pgd_t *pgdir, unsigned long address)
74 pgd = pgdir + __pgd_offset(address);
/arch/x86/include/asm/
Dprocessor.h201 static inline void load_cr3(pgd_t *pgdir) in load_cr3() argument
203 write_cr3(__pa(pgdir)); in load_cr3()
/arch/microblaze/kernel/
Dasm-offsets.c85 DEFINE(PGDIR, offsetof(struct thread_struct, pgdir)); in main()
/arch/cris/include/asm/
Dpgtable.h93 #define SET_PAGE_DIR(tsk,pgdir) argument
/arch/openrisc/include/asm/
Dpgtable.h222 #define SET_PAGE_DIR(tsk, pgdir) argument
/arch/arm/kernel/
Dsmp.c114 secondary_data.pgdir = virt_to_phys(idmap_pgd); in __cpu_up()
Dhead.S395 ldrd r4, [r3, #0] @ get secondary_data.pgdir
/arch/powerpc/kernel/
Dasm-offsets.c110 DEFINE(PGDIR, offsetof(struct thread_struct, pgdir)); in main()