Home
last modified time | relevance | path

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

/Linux-v5.10/arch/microblaze/include/asm/
Dmmu_context_mm.h40 # define NO_CONTEXT 256 macro
85 if (mm->context != NO_CONTEXT) in get_mmu_context()
103 # define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0)
110 if (mm->context != NO_CONTEXT) { in destroy_context()
112 mm->context = NO_CONTEXT; in destroy_context()
/Linux-v5.10/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.c191 if (cpu_context(smp_processor_id(), mm) == NO_CONTEXT) in sh4_flush_cache_mm()
220 if (cpu_context(smp_processor_id(), vma->vm_mm) == NO_CONTEXT) in sh4_flush_cache_page()
281 if (cpu_context(smp_processor_id(), vma->vm_mm) == NO_CONTEXT) in sh4_flush_cache_range()
/Linux-v5.10/arch/powerpc/mm/book3s32/
Dmmu_context.c38 #define NO_CONTEXT ((unsigned long) -1) macro
98 if (mm->context.id != NO_CONTEXT) { in destroy_context()
100 mm->context.id = NO_CONTEXT; in destroy_context()
/Linux-v5.10/arch/sh/include/asm/
Dmmu_context.h35 #define NO_CONTEXT 0UL macro
93 cpu_context(i, mm) = NO_CONTEXT; in init_new_context()
131 #define cpu_asid(cpu, mm) ({ (void)cpu; NO_CONTEXT; })
154 if (asid_cache(cpu) == NO_CONTEXT) in enable_mmu()
/Linux-v5.10/arch/m68k/include/asm/
Dmmu_context.h21 #define NO_CONTEXT 256 macro
36 if (mm->context != NO_CONTEXT) in get_mmu_context()
56 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0)
63 if (mm->context != NO_CONTEXT) { in destroy_context()
65 mm->context = NO_CONTEXT; in destroy_context()
/Linux-v5.10/arch/xtensa/include/asm/
Dmmu_context.h49 #define NO_CONTEXT 0 macro
95 if (asid == NO_CONTEXT || in get_mmu_context()
119 mm->context.asid[cpu] = NO_CONTEXT; in init_new_context()
/Linux-v5.10/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-v5.10/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()
1002 mm->context = NO_CONTEXT; in init_new_context()
1010 if (mm->context != NO_CONTEXT) { in destroy_context()
1017 mm->context = NO_CONTEXT; in destroy_context()
1659 if (mm->context != NO_CONTEXT) { in smp_flush_cache_mm()
1671 if (mm->context != NO_CONTEXT) { in smp_flush_tlb_mm()
[all …]
/Linux-v5.10/arch/openrisc/mm/
Dtlb.c29 #define NO_CONTEXT -1 macro
171 mm->context = NO_CONTEXT; in init_new_context()
/Linux-v5.10/arch/sh/kernel/cpu/
Dinit.c342 current_cpu_data.asid_cache = NO_CONTEXT; in cpu_init()