Lines Matching refs:cpumask
80 static void send_IPI_mask(const struct cpumask *, int, int);
151 cpumask_t cpumask; in smp_flush_cache_all() local
155 cpumask_copy(&cpumask, cpu_online_mask); in smp_flush_cache_all()
156 cpumask_clear_cpu(smp_processor_id(), &cpumask); in smp_flush_cache_all()
158 mask=cpumask_bits(&cpumask); in smp_flush_cache_all()
160 send_IPI_mask(&cpumask, INVALIDATE_CACHE_IPI, 0); in smp_flush_cache_all()
370 static void flush_tlb_others(cpumask_t cpumask, struct mm_struct *mm, in flush_tlb_others() argument
388 BUG_ON(cpumask_empty(&cpumask)); in flush_tlb_others()
390 BUG_ON(cpumask_test_cpu(smp_processor_id(), &cpumask)); in flush_tlb_others()
394 cpumask_and(&cpumask, &cpumask, cpu_online_mask); in flush_tlb_others()
395 if (cpumask_empty(&cpumask)) in flush_tlb_others()
409 mask=cpumask_bits(&cpumask); in flush_tlb_others()
416 send_IPI_mask(&cpumask, INVALIDATE_TLB_IPI, 0); in flush_tlb_others()
538 void arch_send_call_function_ipi_mask(const struct cpumask *mask) in arch_send_call_function_ipi_mask()
716 cpumask_t cpumask; in send_IPI_allbutself() local
718 cpumask_copy(&cpumask, cpu_online_mask); in send_IPI_allbutself()
719 cpumask_clear_cpu(smp_processor_id(), &cpumask); in send_IPI_allbutself()
721 send_IPI_mask(&cpumask, ipi_num, try); in send_IPI_allbutself()
744 static void send_IPI_mask(const struct cpumask *cpumask, int ipi_num, int try) in send_IPI_mask() argument
753 cpumask_and(&tmp, cpumask, cpu_online_mask); in send_IPI_mask()
754 BUG_ON(!cpumask_equal(cpumask, &tmp)); in send_IPI_mask()
757 for_each_cpu(cpu_id, cpumask) { in send_IPI_mask()