Home
last modified time | relevance | path

Searched refs:page_id (Results 1 – 7 of 7) sorted by relevance

/arch/cris/arch-v10/mm/
Dtlb.c51 *R_TLB_HI = ( IO_FIELD(R_TLB_HI, page_id, INVALID_PAGEID ) | in flush_tlb_all()
70 int page_id = mm->context.page_id; in flush_tlb_mm() local
73 D(printk("tlb: flush mm context %d (%p)\n", page_id, mm)); in flush_tlb_mm()
75 if(page_id == NO_CONTEXT) in flush_tlb_mm()
86 if (IO_EXTRACT(R_TLB_HI, page_id, *R_TLB_HI) == page_id) { in flush_tlb_mm()
87 *R_TLB_HI = ( IO_FIELD(R_TLB_HI, page_id, INVALID_PAGEID ) | in flush_tlb_mm()
105 int page_id = mm->context.page_id; in flush_tlb_page() local
109 D(printk("tlb: flush page %p in context %d (%p)\n", addr, page_id, mm)); in flush_tlb_page()
111 if(page_id == NO_CONTEXT) in flush_tlb_page()
125 if (IO_EXTRACT(R_TLB_HI, page_id, tlb_hi) == page_id && in flush_tlb_page()
[all …]
Dfault.c46 int page_id; in handle_mmu_bus_fault() local
62 page_id = IO_EXTRACT(R_MMU_CAUSE, page_id, cause); in handle_mmu_bus_fault()
72 regs->irp, address, miss, inv, we, acc, index, page_id)); in handle_mmu_bus_fault()
Dinit.c145 *R_MMU_CONTEXT = ( IO_FIELD(R_MMU_CONTEXT, page_id, 0 ) ); in paging_init()
/arch/cris/arch-v32/mm/
Dtlb.c86 unsigned long page_id; in __flush_tlb_mm() local
90 page_id = mm->context.page_id; in __flush_tlb_mm()
92 if (page_id == NO_CONTEXT) in __flush_tlb_mm()
107 if ((tlb_hi & 0xff) == page_id) { in __flush_tlb_mm()
127 unsigned long page_id; in __flush_tlb_page() local
132 page_id = vma->vm_mm->context.page_id; in __flush_tlb_page()
134 if (page_id == NO_CONTEXT) in __flush_tlb_page()
152 if (((tlb_hi & 0xff) == page_id) && in __flush_tlb_page()
173 mm->context.page_id = NO_CONTEXT; in init_new_context()
202 SPEC_REG_WR(SPEC_REG_PID, next->context.page_id | in switch_mm()
[all …]
/arch/cris/mm/
Dtlb.c55 old_mm->context.page_id = NO_CONTEXT; in alloc_context()
60 mm->context.page_id = map_replace_ptr; in alloc_context()
76 if(mm->context.page_id == NO_CONTEXT) in get_mmu_context()
91 if(mm->context.page_id != NO_CONTEXT) { in destroy_context()
92 D(printk("destroy_context %d (%p)\n", mm->context.page_id, mm)); in destroy_context()
94 page_id_map[mm->context.page_id] = NULL; in destroy_context()
/arch/cris/include/arch-v10/arch/
Dmmu.h13 unsigned int page_id; member
/arch/cris/include/arch-v32/arch/
Dmmu.h8 unsigned int page_id; member