Home
last modified time | relevance | path

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

/linux-6.1.9/arch/microblaze/include/asm/
Dmmu_context_mm.h36 # define NO_CONTEXT 256 macro
81 if (mm->context != NO_CONTEXT) in get_mmu_context()
99 # define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0)
107 if (mm->context != NO_CONTEXT) { in destroy_context()
109 mm->context = NO_CONTEXT; in destroy_context()
/linux-6.1.9/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()
Dcache-sh4.c192 if (cpu_context(smp_processor_id(), mm) == NO_CONTEXT) in sh4_flush_cache_mm()
221 if (cpu_context(smp_processor_id(), vma->vm_mm) == NO_CONTEXT) in sh4_flush_cache_page()
282 if (cpu_context(smp_processor_id(), vma->vm_mm) == NO_CONTEXT) in sh4_flush_cache_range()
/linux-6.1.9/arch/sh/include/asm/
Dmmu_context.h35 #define NO_CONTEXT 0UL macro
94 cpu_context(i, mm) = NO_CONTEXT; in init_new_context()
130 #define cpu_asid(cpu, mm) ({ (void)cpu; NO_CONTEXT; })
153 if (asid_cache(cpu) == NO_CONTEXT) in enable_mmu()
/linux-6.1.9/arch/powerpc/mm/book3s32/
Dmmu_context.c44 #define NO_CONTEXT ((unsigned long) -1) macro
97 if (mm->context.id != NO_CONTEXT) { in destroy_context()
99 mm->context.id = NO_CONTEXT; in destroy_context()
/linux-6.1.9/arch/xtensa/include/asm/
Dmmu_context.h49 #define NO_CONTEXT 0 macro
95 if (asid == NO_CONTEXT || in get_mmu_context()
120 mm->context.asid[cpu] = NO_CONTEXT; in init_new_context()
/linux-6.1.9/arch/m68k/include/asm/
Dmmu_context.h17 #define NO_CONTEXT 256 macro
32 if (mm->context != NO_CONTEXT) in get_mmu_context()
52 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0)
60 if (mm->context != NO_CONTEXT) { in destroy_context()
62 mm->context = NO_CONTEXT; in destroy_context()
/linux-6.1.9/arch/xtensa/mm/
Dtlb.c70 mm->context.asid[cpu] = NO_CONTEXT; in local_flush_tlb_mm()
74 mm->context.asid[cpu] = NO_CONTEXT; in local_flush_tlb_mm()
95 if (mm->context.asid[cpu] == NO_CONTEXT) in local_flush_tlb_range()
133 if (mm->context.asid[cpu] == NO_CONTEXT) in local_flush_tlb_page()
/linux-6.1.9/arch/sparc/mm/
Dsrmmu.c75 #define FLUSH_BEGIN(mm) if ((mm)->context != NO_CONTEXT) {
381 #define NO_CONTEXT -1 macro
434 ctxp->ctx_mm->context = NO_CONTEXT; in alloc_context()
476 if (mm->context == NO_CONTEXT) { in switch_mm()
906 init_mm.context = (unsigned long) NO_CONTEXT; in srmmu_paging_init()
1000 mm->context = NO_CONTEXT; in init_new_context()
1008 if (mm->context != NO_CONTEXT) { in destroy_context()
1015 mm->context = NO_CONTEXT; in destroy_context()
1657 if (mm->context != NO_CONTEXT) { in smp_flush_cache_mm()
1669 if (mm->context != NO_CONTEXT) { in smp_flush_tlb_mm()
[all …]
/linux-6.1.9/arch/openrisc/mm/
Dtlb.c29 #define NO_CONTEXT -1 macro
171 mm->context = NO_CONTEXT; in init_new_context()
/linux-6.1.9/arch/sh/kernel/cpu/
Dinit.c342 current_cpu_data.asid_cache = NO_CONTEXT; in cpu_init()