Home
last modified time | relevance | path

Searched refs:cpu_mask (Results 1 – 25 of 29) sorted by relevance

12

/arch/mn10300/mm/
Dtlb-smp.c145 cpumask_t cpu_mask; in flush_tlb_mm() local
148 cpumask_copy(&cpu_mask, mm_cpumask(mm)); in flush_tlb_mm()
149 cpumask_clear_cpu(smp_processor_id(), &cpu_mask); in flush_tlb_mm()
152 if (!cpumask_empty(&cpu_mask)) in flush_tlb_mm()
153 flush_tlb_others(cpu_mask, mm, FLUSH_ALL); in flush_tlb_mm()
164 cpumask_t cpu_mask; in flush_tlb_current_task() local
167 cpumask_copy(&cpu_mask, mm_cpumask(mm)); in flush_tlb_current_task()
168 cpumask_clear_cpu(smp_processor_id(), &cpu_mask); in flush_tlb_current_task()
171 if (!cpumask_empty(&cpu_mask)) in flush_tlb_current_task()
172 flush_tlb_others(cpu_mask, mm, FLUSH_ALL); in flush_tlb_current_task()
[all …]
/arch/cris/arch-v32/kernel/
Dsmp.c64 static int send_ipi(int vector, int wait, cpumask_t cpu_mask);
114 cpumask_t cpu_mask; in smp_boot_one_cpu() local
116 cpumask_clear(&cpu_mask); in smp_boot_one_cpu()
125 cpumask_set_cpu(cpuid, &cpu_mask); in smp_boot_one_cpu()
126 send_ipi(IPI_BOOT, 0, cpu_mask); in smp_boot_one_cpu()
208 cpumask_t cpu_mask; in smp_send_reschedule() local
209 cpumask_clear(&cpu_mask); in smp_send_reschedule()
210 cpumask_set_cpu(cpu, &cpu_mask); in smp_send_reschedule()
211 send_ipi(IPI_SCHEDULE, 0, cpu_mask); in smp_send_reschedule()
223 cpumask_t cpu_mask; in flush_tlb_common() local
[all …]
/arch/m32r/kernel/
Dsmp.c249 cpumask_t cpu_mask; in smp_flush_tlb_mm() local
256 cpumask_copy(&cpu_mask, mm_cpumask(mm)); in smp_flush_tlb_mm()
257 cpumask_clear_cpu(cpu_id, &cpu_mask); in smp_flush_tlb_mm()
268 if (!cpumask_empty(&cpu_mask)) in smp_flush_tlb_mm()
269 flush_tlb_others(cpu_mask, mm, NULL, FLUSH_ALL); in smp_flush_tlb_mm()
319 cpumask_t cpu_mask; in smp_flush_tlb_page() local
326 cpumask_copy(&cpu_mask, mm_cpumask(mm)); in smp_flush_tlb_page()
327 cpumask_clear_cpu(cpu_id, &cpu_mask); in smp_flush_tlb_page()
341 if (!cpumask_empty(&cpu_mask)) in smp_flush_tlb_page()
342 flush_tlb_others(cpu_mask, mm, vma, va); in smp_flush_tlb_page()
/arch/sparc/mm/
Dsrmmu.c1643 cpumask_t cpu_mask; in smp_flush_cache_mm() local
1644 cpumask_copy(&cpu_mask, mm_cpumask(mm)); in smp_flush_cache_mm()
1645 cpumask_clear_cpu(smp_processor_id(), &cpu_mask); in smp_flush_cache_mm()
1646 if (!cpumask_empty(&cpu_mask)) in smp_flush_cache_mm()
1655 cpumask_t cpu_mask; in smp_flush_tlb_mm() local
1656 cpumask_copy(&cpu_mask, mm_cpumask(mm)); in smp_flush_tlb_mm()
1657 cpumask_clear_cpu(smp_processor_id(), &cpu_mask); in smp_flush_tlb_mm()
1658 if (!cpumask_empty(&cpu_mask)) { in smp_flush_tlb_mm()
1675 cpumask_t cpu_mask; in smp_flush_cache_range() local
1676 cpumask_copy(&cpu_mask, mm_cpumask(mm)); in smp_flush_cache_range()
[all …]
/arch/arm/mm/
Dproc-arm9tdmi.S75 .macro arm9tdmi_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req
79 .long \cpu_mask
Dproc-arm7tdmi.S81 .macro arm7tdmi_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req, \
86 .long \cpu_mask
Dproc-arm720.S191 .macro arm720_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req, cpu_flush:req
195 .long \cpu_mask
Dproc-sa1100.S247 .macro sa1100_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req
251 .long \cpu_mask
Dproc-arm925.S499 .macro arm925_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req, cache
503 .long \cpu_mask
Dproc-xsc3.S504 .macro xsc3_proc_info name:req, cpu_val:req, cpu_mask:req
508 .long \cpu_mask
Dproc-feroceon.S589 .macro feroceon_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req, cache:req
593 .long \cpu_mask
Dproc-xscale.S617 .macro xscale_proc_info name:req, cpu_val:req, cpu_mask:req, cpu_name:req, cache
621 .long \cpu_mask
/arch/arm/mach-omap2/
Dclkt2xxx_virt_prcm_set.c83 if (!(ptr->flags & cpu_mask)) in omap2_round_to_table_rate()
107 if (!(prcm->flags & cpu_mask)) in omap2_select_table_rate()
180 if (!(prcm->flags & cpu_mask)) in omap2xxx_clkt_vps_check_bootloader_rates()
Dclkt_clksel.c132 if (!(clkr->flags & cpu_mask)) in _clksel_to_divisor()
175 if (!(clkr->flags & cpu_mask)) in _divisor_to_clksel()
257 if (!(clkr->flags & cpu_mask)) in omap2_clksel_round_rate_div()
328 if (!(clkr->flags & cpu_mask)) in omap2_clksel_find_parent_index()
Dclock.h221 extern u16 cpu_mask;
/arch/c6x/include/asm/
Dprocinfo.h17 unsigned int cpu_mask; member
/arch/arm/include/asm/
Dprocinfo.h31 unsigned int cpu_mask; member
/arch/ia64/sn/kernel/
Dmsi_sn.c156 const struct cpumask *cpu_mask, bool force) in sn_set_msi_irq_affinity() argument
169 cpu = cpumask_first_and(cpu_mask, cpu_online_mask); in sn_set_msi_irq_affinity()
209 cpumask_copy(data->affinity, cpu_mask); in sn_set_msi_irq_affinity()
/arch/arm/mach-omap1/
Dclock_data.c764 u32 cpu_mask; variable
792 cpu_mask = 0; in omap1_clk_init()
794 cpu_mask |= CK_1710; in omap1_clk_init()
796 cpu_mask |= CK_16XX; in omap1_clk_init()
798 cpu_mask |= CK_1510; in omap1_clk_init()
800 cpu_mask |= CK_7XX; in omap1_clk_init()
802 cpu_mask |= CK_310; in omap1_clk_init()
805 if (c->cpu & cpu_mask) { in omap1_clk_init()
Dclock.h291 extern u32 cpu_mask;
Dclock.c203 if (!(ptr->flags & cpu_mask)) in omap1_select_table_rate()
291 if (!(ptr->flags & cpu_mask)) in omap1_round_to_table_rate()
/arch/ia64/kernel/
Dmsi_ia64.c16 const cpumask_t *cpu_mask, bool force) in ia64_set_msi_irq_affinity() argument
20 int cpu = cpumask_first_and(cpu_mask, cpu_online_mask); in ia64_set_msi_irq_affinity()
Diosapic.c656 const struct cpumask *cpu_mask; in get_target_cpu() local
663 cpu_mask = cpumask_of_node(iosapic_lists[iosapic_index].node); in get_target_cpu()
665 for_each_cpu_and(numa_cpu, cpu_mask, &domain) { in get_target_cpu()
676 for_each_cpu_and(numa_cpu, cpu_mask, &domain) in get_target_cpu()
/arch/x86/include/asm/
Dapic.h561 unsigned long cpu_mask = cpumask_bits(cpumask)[0] & in flat_cpu_mask_to_apicid_and() local
566 if (likely(cpu_mask)) { in flat_cpu_mask_to_apicid_and()
567 *apicid = (unsigned int)cpu_mask; in flat_cpu_mask_to_apicid_and()
/arch/powerpc/mm/
Dtlb_nohash.c284 struct cpumask *cpu_mask; in __flush_tlb_page() local
291 cpu_mask = mm_cpumask(mm); in __flush_tlb_page()
310 smp_call_function_many(cpu_mask, in __flush_tlb_page()

12