Searched refs:NO_CONTEXT (Results 1 - 26 of 26) sorted by relevance

/linux-4.4.14/arch/cris/include/arch-v10/arch/
H A Dtlb.h11 #define NO_CONTEXT -1 macro
/linux-4.4.14/arch/cris/include/arch-v32/arch/
H A Dtlb.h12 #define NO_CONTEXT -1 macro
/linux-4.4.14/arch/sh/mm/
H A Dtlbflush_32.c19 if (vma->vm_mm && cpu_context(cpu, vma->vm_mm) != NO_CONTEXT) { local_flush_tlb_page()
45 if (cpu_context(cpu, mm) != NO_CONTEXT) { local_flush_tlb_range()
52 cpu_context(cpu, mm) = NO_CONTEXT; local_flush_tlb_range()
112 if (cpu_context(cpu, mm) != NO_CONTEXT) { local_flush_tlb_mm()
116 cpu_context(cpu, mm) = NO_CONTEXT; local_flush_tlb_mm()
H A Dtlbflush_64.c89 if (cpu_context(cpu, mm) == NO_CONTEXT) local_flush_tlb_range()
133 if (cpu_context(cpu, mm) == NO_CONTEXT) local_flush_tlb_mm()
138 cpu_context(cpu, mm) = NO_CONTEXT; local_flush_tlb_mm()
H A Dcache-sh4.c192 if (cpu_context(smp_processor_id(), mm) == NO_CONTEXT) sh4_flush_cache_mm()
223 if (cpu_context(smp_processor_id(), vma->vm_mm) == NO_CONTEXT) sh4_flush_cache_page()
286 if (cpu_context(smp_processor_id(), vma->vm_mm) == NO_CONTEXT) sh4_flush_cache_range()
/linux-4.4.14/arch/sh/include/asm/
H A Dmmu_context.h31 /* Impossible ASID value, to differentiate from NO_CONTEXT. */
33 #define NO_CONTEXT 0UL macro
84 * to distinguish NO_CONTEXT. get_mmu_context()
103 cpu_context(i, mm) = NO_CONTEXT; init_new_context()
141 #define cpu_asid(cpu, mm) ({ (void)cpu; NO_CONTEXT; })
164 if (asid_cache(cpu) == NO_CONTEXT) enable_mmu()
/linux-4.4.14/arch/xtensa/include/asm/
H A Dmmu_context.h37 * NO_CONTEXT is the invalid ASID value that we don't ever assign to
48 #define NO_CONTEXT 0 macro
93 if (asid == NO_CONTEXT || get_mmu_context()
117 mm->context.asid[cpu] = NO_CONTEXT; for_each_possible_cpu()
/linux-4.4.14/arch/m32r/include/asm/
H A Dmmu_context.h10 #define NO_CONTEXT (0x00000000) macro
48 Note that we avoid version #0 to distinguish NO_CONTEXT. */ get_new_mmu_context()
78 mm->context = NO_CONTEXT; init_new_context()
84 mm->context[i] = NO_CONTEXT; init_new_context()
/linux-4.4.14/arch/avr32/include/asm/
H A Dmmu_context.h27 #define NO_CONTEXT 0 macro
59 * to distinguish NO_CONTEXT. get_mmu_context()
74 mm->context = NO_CONTEXT; init_new_context()
137 if (mmu_context_cache == NO_CONTEXT) enable_mmu()
/linux-4.4.14/arch/microblaze/include/asm/
H A Dmmu_context_mm.h40 # define NO_CONTEXT 256 macro
85 if (mm->context != NO_CONTEXT) get_mmu_context()
103 # define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0)
110 if (mm->context != NO_CONTEXT) { destroy_context()
112 mm->context = NO_CONTEXT; destroy_context()
/linux-4.4.14/arch/powerpc/mm/
H A Dmmu_context_hash32.c44 #define NO_CONTEXT ((unsigned long) -1) macro
104 if (mm->context.id != NO_CONTEXT) { destroy_context()
106 mm->context.id = NO_CONTEXT; destroy_context()
H A Dtlb_nohash.c250 * - our context is being stolen (PID -> NO_CONTEXT) on another CPU
/linux-4.4.14/arch/cris/mm/
H A Dtlb.c52 old_mm->context.page_id = NO_CONTEXT; alloc_context()
73 if(mm->context.page_id == NO_CONTEXT) get_mmu_context()
88 if(mm->context.page_id != NO_CONTEXT) { destroy_context()
/linux-4.4.14/arch/m68k/include/asm/
H A Dmmu_context.h19 #define NO_CONTEXT 256 macro
34 if (mm->context != NO_CONTEXT) get_mmu_context()
54 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0)
61 if (mm->context != NO_CONTEXT) { destroy_context()
63 mm->context = NO_CONTEXT; destroy_context()
/linux-4.4.14/arch/avr32/mm/
H A Dtlb.c152 if (vma->vm_mm && vma->vm_mm->context != NO_CONTEXT) { flush_tlb_page()
178 if (mm->context != NO_CONTEXT) { flush_tlb_range()
186 mm->context = NO_CONTEXT; flush_tlb_range()
250 if (mm->context != NO_CONTEXT) { flush_tlb_mm()
254 mm->context = NO_CONTEXT; flush_tlb_mm()
H A Dinit.c36 unsigned long mmu_context_cache = NO_CONTEXT;
/linux-4.4.14/arch/cris/arch-v10/mm/
H A Dtlb.c72 if(page_id == NO_CONTEXT) flush_tlb_mm()
108 if(page_id == NO_CONTEXT) flush_tlb_page()
145 mm->context.page_id = NO_CONTEXT; init_new_context()
/linux-4.4.14/arch/cris/arch-v32/mm/
H A Dtlb.c90 if (page_id == NO_CONTEXT) __flush_tlb_mm()
132 if (page_id == NO_CONTEXT) __flush_tlb_page()
171 mm->context.page_id = NO_CONTEXT; init_new_context()
/linux-4.4.14/arch/xtensa/mm/
H A Dtlb.c70 mm->context.asid[cpu] = NO_CONTEXT; local_flush_tlb_mm()
74 mm->context.asid[cpu] = NO_CONTEXT; local_flush_tlb_mm()
95 if (mm->context.asid[cpu] == NO_CONTEXT) local_flush_tlb_range()
135 if (mm->context.asid[cpu] == NO_CONTEXT) local_flush_tlb_page()
/linux-4.4.14/arch/openrisc/mm/
H A Dtlb.c35 #define NO_CONTEXT -1 macro
170 mm->context = NO_CONTEXT; init_new_context()
/linux-4.4.14/arch/m32r/kernel/
H A Dsmp.c259 if (*mmc != NO_CONTEXT) { smp_flush_tlb_mm()
261 *mmc = NO_CONTEXT; smp_flush_tlb_mm()
334 if (*mmc != NO_CONTEXT) { smp_flush_tlb_page()
457 *mmc = NO_CONTEXT; smp_invalidate_interrupt()
465 if (*mmc != NO_CONTEXT) { smp_invalidate_interrupt()
/linux-4.4.14/arch/m32r/mm/
H A Dfault.c460 if (vma->vm_mm && mm_context(vma->vm_mm) != NO_CONTEXT) { local_flush_tlb_page()
480 if (mm_context(mm) != NO_CONTEXT) { local_flush_tlb_range()
487 mm_context(mm) = NO_CONTEXT; local_flush_tlb_range()
516 if (mm_context(mm) != NO_CONTEXT) { local_flush_tlb_mm()
520 mm_context(mm) = NO_CONTEXT; local_flush_tlb_mm()
/linux-4.4.14/arch/sparc/mm/
H A Dsrmmu.c74 #define FLUSH_BEGIN(mm) if ((mm)->context != NO_CONTEXT) {
372 #define NO_CONTEXT -1 macro
425 ctxp->ctx_mm->context = NO_CONTEXT; alloc_context()
465 if (mm->context == NO_CONTEXT) { switch_mm()
880 init_mm.context = (unsigned long) NO_CONTEXT; srmmu_paging_init()
985 mm->context = NO_CONTEXT; init_new_context()
993 if (mm->context != NO_CONTEXT) { destroy_context()
1000 mm->context = NO_CONTEXT; destroy_context()
1642 if (mm->context != NO_CONTEXT) { smp_flush_cache_mm()
1654 if (mm->context != NO_CONTEXT) { smp_flush_tlb_mm()
1674 if (mm->context != NO_CONTEXT) { smp_flush_cache_range()
1691 if (mm->context != NO_CONTEXT) { smp_flush_tlb_range()
1706 if (mm->context != NO_CONTEXT) { smp_flush_cache_page()
1721 if (mm->context != NO_CONTEXT) { smp_flush_tlb_page()
H A Dinit_64.c668 * version of zero (and thus NO_CONTEXT would not be caught
/linux-4.4.14/arch/sh/kernel/cpu/
H A Dinit.c341 current_cpu_data.asid_cache = NO_CONTEXT; cpu_init()
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
H A Dsec.c663 * 1. If server side context has been trimmed, a NO_CONTEXT will sptlrpc_req_refresh_ctx()

Completed in 608 milliseconds