Home
last modified time | relevance | path

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

/arch/powerpc/mm/
Dmmu_context_hash32.c43 #define NO_CONTEXT ((unsigned long) -1) macro
88 if (mm->context.id != NO_CONTEXT) { in destroy_context()
90 mm->context.id = NO_CONTEXT; in destroy_context()
Dmmu_context_hash64.c32 #define NO_CONTEXT 0 macro
77 mm->context.id = NO_CONTEXT; in destroy_context()
/arch/sh/mm/
Dtlbflush_32.c19 if (vma->vm_mm && cpu_context(cpu, vma->vm_mm) != NO_CONTEXT) { in local_flush_tlb_page()
45 if (cpu_context(cpu, mm) != NO_CONTEXT) { in local_flush_tlb_range()
52 cpu_context(cpu, mm) = NO_CONTEXT; in local_flush_tlb_range()
112 if (cpu_context(cpu, mm) != NO_CONTEXT) { in local_flush_tlb_mm()
116 cpu_context(cpu, mm) = NO_CONTEXT; in local_flush_tlb_mm()
Dtlbflush_64.c397 if (cpu_context(cpu, mm) == NO_CONTEXT) in local_flush_tlb_range()
441 if (cpu_context(cpu, mm) == NO_CONTEXT) in local_flush_tlb_mm()
446 cpu_context(cpu, mm) = NO_CONTEXT; in local_flush_tlb_mm()
/arch/cris/mm/
Dtlb.c52 old_mm->context.page_id = NO_CONTEXT; in alloc_context()
73 if(mm->context.page_id == NO_CONTEXT) in get_mmu_context()
88 if(mm->context.page_id != NO_CONTEXT) { in destroy_context()
/arch/sh/include/asm/
Dmmu_context.h25 #define NO_CONTEXT 0UL macro
98 cpu_context(i, mm) = NO_CONTEXT; in init_new_context()
133 #define cpu_asid(cpu, mm) ({ (void)cpu; NO_CONTEXT; })
159 if (asid_cache(cpu) == NO_CONTEXT) in enable_mmu()
/arch/xtensa/include/asm/
Dmmu_context.h43 #define NO_CONTEXT 0 macro
87 mm->context = NO_CONTEXT; in init_new_context()
112 if (next->context == NO_CONTEXT || ((next->context^asid) & ~ASID_MASK)) in switch_mm()
/arch/avr32/include/asm/
Dmmu_context.h27 #define NO_CONTEXT 0 macro
74 mm->context = NO_CONTEXT; in init_new_context()
137 if (mmu_context_cache == NO_CONTEXT) in enable_mmu()
/arch/sparc/kernel/
Dsmp_32.c146 if(mm->context != NO_CONTEXT) { in smp_flush_cache_mm()
157 if(mm->context != NO_CONTEXT) { in smp_flush_tlb_mm()
174 if (mm->context != NO_CONTEXT) { in smp_flush_cache_range()
188 if (mm->context != NO_CONTEXT) { in smp_flush_tlb_range()
201 if(mm->context != NO_CONTEXT) { in smp_flush_cache_page()
214 if(mm->context != NO_CONTEXT) { in smp_flush_tlb_page()
Dsetup_32.c307 init_mm.context = (unsigned long) NO_CONTEXT; in setup_arch()
/arch/cris/arch-v32/mm/
Dtlb.c90 if (page_id == NO_CONTEXT) in __flush_tlb_mm()
132 if (page_id == NO_CONTEXT) in __flush_tlb_page()
171 mm->context.page_id = NO_CONTEXT; in init_new_context()
/arch/cris/arch-v10/mm/
Dtlb.c72 if(page_id == NO_CONTEXT) in flush_tlb_mm()
108 if(page_id == NO_CONTEXT) in flush_tlb_page()
167 mm->context.page_id = NO_CONTEXT; in init_new_context()
/arch/m32r/kernel/
Dsmp.c270 if (*mmc != NO_CONTEXT) { in smp_flush_tlb_mm()
272 *mmc = NO_CONTEXT; in smp_flush_tlb_mm()
345 if (*mmc != NO_CONTEXT) { in smp_flush_tlb_page()
468 *mmc = NO_CONTEXT; in smp_invalidate_interrupt()
476 if (*mmc != NO_CONTEXT) { in smp_invalidate_interrupt()
/arch/avr32/mm/
Dtlb.c152 if (vma->vm_mm && vma->vm_mm->context != NO_CONTEXT) { in flush_tlb_page()
178 if (mm->context != NO_CONTEXT) { in flush_tlb_range()
186 mm->context = NO_CONTEXT; in flush_tlb_range()
250 if (mm->context != NO_CONTEXT) { in flush_tlb_mm()
254 mm->context = NO_CONTEXT; in flush_tlb_mm()
Dinit.c39 unsigned long mmu_context_cache = NO_CONTEXT;
/arch/cris/include/arch-v10/arch/
Dtlb.h11 #define NO_CONTEXT -1 macro
/arch/cris/include/arch-v32/arch/
Dtlb.h12 #define NO_CONTEXT -1 macro
/arch/m32r/mm/
Dfault.c463 if (vma->vm_mm && mm_context(vma->vm_mm) != NO_CONTEXT) { in local_flush_tlb_page()
483 if (mm_context(mm) != NO_CONTEXT) { in local_flush_tlb_range()
490 mm_context(mm) = NO_CONTEXT; in local_flush_tlb_range()
519 if (mm_context(mm) != NO_CONTEXT) { in local_flush_tlb_mm()
523 mm_context(mm) = NO_CONTEXT; in local_flush_tlb_mm()
/arch/xtensa/mm/
Dtlb.c91 if (mm->context == NO_CONTEXT) in flush_tlb_range()
129 if(mm->context == NO_CONTEXT) in flush_tlb_page()
/arch/sparc/include/asm/
Dmmu_context_32.h18 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0)
Dpgtable_32.h383 #define NO_CONTEXT -1 macro
/arch/sparc/mm/
Dsun4c.c1246 if (new_ctx != NO_CONTEXT) { in sun4c_flush_cache_mm()
1280 if (new_ctx != NO_CONTEXT) { in sun4c_flush_cache_range()
1343 if (new_ctx != NO_CONTEXT) { in sun4c_flush_cache_page()
1405 if (new_ctx != NO_CONTEXT) { in sun4c_flush_tlb_mm()
1435 if (new_ctx != NO_CONTEXT) { in sun4c_flush_tlb_range()
1471 if (new_ctx != NO_CONTEXT) { in sun4c_flush_tlb_page()
1534 ctxp->ctx_mm->context = NO_CONTEXT; in sun4c_alloc_context()
1547 if (mm->context == NO_CONTEXT) { in sun4c_switch_mm()
1564 if (mm->context != NO_CONTEXT) { in sun4c_destroy_context()
1569 mm->context = NO_CONTEXT; in sun4c_destroy_context()
[all …]
Dsrmmu.c68 #define FLUSH_BEGIN(mm) if((mm)->context != NO_CONTEXT) {
546 ctxp->ctx_mm->context = NO_CONTEXT; in alloc_context()
564 if(mm->context == NO_CONTEXT) { in srmmu_switch_mm()
1376 if(mm->context != NO_CONTEXT) { in srmmu_destroy_context()
1383 mm->context = NO_CONTEXT; in srmmu_destroy_context()
/arch/sh/kernel/cpu/
Dinit.c291 current_cpu_data.asid_cache = NO_CONTEXT; in sh_cpu_init()