Searched refs:current_pgd (Results 1 - 15 of 15) sorted by relevance

/linux-4.1.27/arch/cris/include/asm/
H A Dmmu_context.h21 DECLARE_PER_CPU(pgd_t *, current_pgd);
/linux-4.1.27/arch/openrisc/include/asm/
H A Dmmu_context.h37 extern volatile pgd_t *current_pgd; /* defined in arch/openrisc/mm/fault.c */
H A Dpgalloc.h60 * current_pgd (from mm->pgd) to load kernel pages so we need it
/linux-4.1.27/arch/openrisc/mm/
H A Dfault.c36 volatile pgd_t *current_pgd; variable
302 * Use current_pgd instead of tsk->active_mm->pgd do_page_fault()
317 "since current_pgd assign a proper value somewhere\n" do_page_fault()
322 pgd = (pgd_t *)current_pgd + offset; do_page_fault()
H A Dinit.c150 current_pgd = init_mm.pgd; paging_init()
H A Dtlb.c152 current_pgd = next->pgd; switch_mm()
/linux-4.1.27/arch/cris/arch-v10/mm/
H A Dfault.c48 pgd_t* pgd = (pgd_t*)per_cpu(current_pgd, smp_processor_id()); handle_mmu_bus_fault()
H A Dtlb.c165 per_cpu(current_pgd, smp_processor_id()) = next->pgd; switch_mm()
H A Dinit.c44 per_cpu(current_pgd, smp_processor_id()) = init_mm.pgd; paging_init()
/linux-4.1.27/arch/cris/mm/
H A Dfault.c32 DEFINE_PER_CPU(pgd_t *, current_pgd);
316 * Use current_pgd instead of tsk->active_mm->pgd do_page_fault()
329 pgd = (pgd_t *)per_cpu(current_pgd, smp_processor_id()) + offset; do_page_fault()
/linux-4.1.27/arch/cris/arch-v32/mm/
H A Dinit.c41 per_cpu(current_pgd, smp_processor_id()) = init_mm.pgd; cris_mmu_init()
H A Dtlb.c196 per_cpu(current_pgd, cpu) = next->pgd; switch_mm()
H A Dmmu.S118 move.d current_pgd, $acr ; PGD
/linux-4.1.27/arch/openrisc/kernel/
H A Dhead.S119 LOAD_SYMBOL_2_GPR(reg,current_pgd) ;\
981 * pmd = (pmd_t *)(current_pgd + pgd_index(daddr));
983 GET_CURRENT_PGD(r3,r5) // r3 is current_pgd, r5 is temp
1083 * pmd = (pmd_t *)(current_pgd + pgd_index(daddr));
1086 GET_CURRENT_PGD(r3,r5) // r3 is current_pgd, r5 is temp
/linux-4.1.27/arch/cris/arch-v10/kernel/
H A Dentry.S369 move.d [current_pgd], $r0 ; PGD for the current process

Completed in 223 milliseconds