/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | mmu_context.h | 140 !cpumask_empty(mm_cpumask(next)) && in switch_mm() 141 !cpumask_test_cpu(cpu, mm_cpumask(next))) in switch_mm() 144 if (!cpumask_test_and_set_cpu(cpu, mm_cpumask(next)) || prev != next) { in switch_mm() 147 cpumask_clear_cpu(cpu, mm_cpumask(prev)); in switch_mm()
|
D | cacheflush.h | 220 if (cpumask_test_cpu(smp_processor_id(), mm_cpumask(mm))) in vivt_flush_cache_mm() 229 if (!mm || cpumask_test_cpu(smp_processor_id(), mm_cpumask(mm))) in vivt_flush_cache_range() 239 if (!mm || cpumask_test_cpu(smp_processor_id(), mm_cpumask(mm))) { in vivt_flush_cache_page()
|
/kernel/linux/linux-5.10/arch/riscv/mm/ |
D | tlbflush.c | 44 __sbi_tlb_flush_range(mm_cpumask(mm), 0, -1); in flush_tlb_mm() 49 __sbi_tlb_flush_range(mm_cpumask(vma->vm_mm), addr, PAGE_SIZE); in flush_tlb_page() 55 __sbi_tlb_flush_range(mm_cpumask(vma->vm_mm), start, end - start); in flush_tlb_range()
|
D | context.c | 58 cpumask_clear_cpu(cpu, mm_cpumask(prev)); in switch_mm() 59 cpumask_set_cpu(cpu, mm_cpumask(next)); in switch_mm()
|
D | cacheflush.c | 57 cpumask_andnot(&others, mm_cpumask(mm), cpumask_of(cpu)); in flush_icache_mm()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | tlb.h | 58 return cpumask_subset(mm_cpumask(mm), in mm_is_core_local() 67 return cpumask_test_cpu(smp_processor_id(), mm_cpumask(mm)); in mm_is_thread_local() 72 return cpumask_equal(mm_cpumask(mm), in mm_is_thread_local()
|
/kernel/linux/linux-5.10/arch/openrisc/kernel/ |
D | smp.c | 119 cpumask_set_cpu(cpu, mm_cpumask(mm)); in secondary_start_kernel() 301 smp_flush_tlb_mm(mm_cpumask(mm), mm); in flush_tlb_mm() 306 smp_flush_tlb_range(mm_cpumask(vma->vm_mm), uaddr, uaddr + PAGE_SIZE); in flush_tlb_page() 312 const struct cpumask *cmask = vma ? mm_cpumask(vma->vm_mm) in flush_tlb_range()
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
D | mmu_context.h | 92 cpumask_clear(mm_cpumask(mm)); in get_mmu_context() 171 if (!cpumask_test_cpu(smp_processor_id(), mm_cpumask(mm))) in activate_context() 172 cpumask_set_cpu(smp_processor_id(), mm_cpumask(mm)); in activate_context()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | mmu_context.h | 172 cpumask_clear_cpu(cpu, mm_cpumask(prev)); in switch_mm() 173 cpumask_set_cpu(cpu, mm_cpumask(next)); in switch_mm() 223 } else if (cpumask_test_cpu(cpu, mm_cpumask(mm))) { in drop_mmu_context()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
D | mmu_context.c | 40 if (!cpumask_test_cpu(smp_processor_id(), mm_cpumask(next))) { in switch_mm_irqs_off() 41 cpumask_set_cpu(smp_processor_id(), mm_cpumask(next)); in switch_mm_irqs_off()
|
/kernel/linux/linux-5.10/arch/um/include/asm/ |
D | mmu_context.h | 62 cpumask_clear_cpu(cpu, mm_cpumask(prev)); in switch_mm() 63 cpumask_set_cpu(cpu, mm_cpumask(next)); in switch_mm()
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
D | smp_tlb.c | 190 on_each_cpu_mask(mm_cpumask(mm), ipi_flush_tlb_mm, mm, 1); in flush_tlb_mm() 202 on_each_cpu_mask(mm_cpumask(vma->vm_mm), ipi_flush_tlb_page, in flush_tlb_page() 228 on_each_cpu_mask(mm_cpumask(vma->vm_mm), ipi_flush_tlb_range, in flush_tlb_range()
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
D | tlb.c | 496 !cpumask_test_cpu(cpu, mm_cpumask(next)))) in switch_mm_irqs_off() 497 cpumask_set_cpu(cpu, mm_cpumask(next)); in switch_mm_irqs_off() 540 mm_cpumask(real_prev))); in switch_mm_irqs_off() 541 cpumask_clear_cpu(cpu, mm_cpumask(real_prev)); in switch_mm_irqs_off() 548 cpumask_set_cpu(cpu, mm_cpumask(next)); in switch_mm_irqs_off() 915 if (cpumask_any_but(mm_cpumask(mm), cpu) < nr_cpu_ids) in flush_tlb_mm_range() 916 flush_tlb_others(mm_cpumask(mm), info); in flush_tlb_mm_range()
|
/kernel/linux/linux-5.10/arch/openrisc/mm/ |
D | tlb.c | 147 cpumask_clear_cpu(cpu, mm_cpumask(prev)); in switch_mm() 148 cpumask_set_cpu(cpu, mm_cpumask(next)); in switch_mm()
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
D | mmu_context.h | 115 cpumask_set_cpu(cpu, mm_cpumask(next)); in switch_mm() 119 if (!cpumask_test_and_set_cpu(cpu, mm_cpumask(next))) in switch_mm()
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
D | mmu_context_64.h | 131 if (!ctx_valid || !cpumask_test_cpu(cpu, mm_cpumask(mm))) { in switch_mm() 132 cpumask_set_cpu(cpu, mm_cpumask(mm)); in switch_mm()
|
D | switch_to_32.h | 61 cpumask_set_cpu(smp_processor_id(), mm_cpumask(next->active_mm)); \
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | mmu_context.h | 121 cpumask_set_cpu(smp_processor_id(), mm_cpumask(mm)); in finish_arch_post_lock_switch() 135 cpumask_set_cpu(smp_processor_id(), mm_cpumask(next)); in activate_mm()
|
D | tlbflush.h | 59 cpumask_copy(mm_cpumask(mm), &mm->context.cpu_attach_mask); in __tlb_flush_mm()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/ |
D | mmu.h | 248 if (cpumask_test_cpu(cpu, mm_cpumask(mm))) { \ 250 cpumask_clear_cpu(cpu, mm_cpumask(mm)); \
|
/kernel/linux/linux-5.10/arch/csky/mm/ |
D | asid.c | 126 cpumask_clear(mm_cpumask(mm)); in new_context() 155 cpumask_set_cpu(cpu, mm_cpumask(mm)); in asid_new_context()
|
/kernel/linux/linux-5.10/arch/arm/mm/ |
D | context.c | 233 cpumask_clear(mm_cpumask(mm)); in new_context() 272 cpumask_set_cpu(cpu, mm_cpumask(mm)); in check_and_switch_context()
|
/kernel/linux/linux-5.10/arch/arc/mm/ |
D | tlb.c | 440 on_each_cpu_mask(mm_cpumask(mm), (smp_call_func_t)local_flush_tlb_mm, in flush_tlb_mm() 451 on_each_cpu_mask(mm_cpumask(vma->vm_mm), ipi_flush_tlb_page, &ta, 1); in flush_tlb_page() 463 on_each_cpu_mask(mm_cpumask(vma->vm_mm), ipi_flush_tlb_range, &ta, 1); in flush_tlb_range() 476 on_each_cpu_mask(mm_cpumask(vma->vm_mm), ipi_flush_pmd_tlb_range, &ta, 1); in flush_pmd_tlb_range()
|
/kernel/linux/linux-5.10/arch/nds32/include/asm/ |
D | mmu_context.h | 59 if (!cpumask_test_and_set_cpu(cpu, mm_cpumask(next)) || prev != next) { in switch_mm()
|
/kernel/linux/linux-5.10/arch/csky/abiv2/ |
D | cacheflush.c | 77 cpumask_andnot(&others, mm_cpumask(mm), cpumask_of(cpu)); in flush_icache_mm_range()
|