Home
last modified time | relevance | path

Searched refs:cpumask_of (Results 1 – 191 of 191) sorted by relevance

/linux-4.1.27/arch/alpha/kernel/
Dirq.c62 cpumask_copy(data->affinity, cpumask_of(cpu)); in irq_select_affinity()
63 chip->irq_set_affinity(data, cpumask_of(cpu), false); in irq_select_affinity()
Dsmp.c461 init_cpu_possible(cpumask_of(boot_cpuid)); in smp_prepare_cpus()
462 init_cpu_present(cpumask_of(boot_cpuid)); in smp_prepare_cpus()
580 send_ipi_message(cpumask_of(cpu), IPI_RESCHEDULE); in smp_send_reschedule()
603 send_ipi_message(cpumask_of(cpu), IPI_CALL_FUNC); in arch_send_call_function_single_ipi()
Dtime.c131 .cpumask = cpumask_of(cpu), in init_rtc_clockevent()
199 .cpumask = cpumask_of(cpu), in init_qemu_clockevent()
/linux-4.1.27/kernel/time/
Dtick-common.c231 tick_setup_device(td, newdev, cpu, cpumask_of(cpu)); in tick_install_replacement()
241 if (cpumask_equal(newdev->cpumask, cpumask_of(cpu))) in tick_check_percpu()
247 if (curdev && cpumask_equal(curdev->cpumask, cpumask_of(cpu))) in tick_check_percpu()
323 tick_setup_device(td, newdev, cpu, cpumask_of(cpu)); in tick_check_new_device()
Dtick-broadcast.c545 tick_broadcast_set_affinity(bc, cpumask_of(cpu)); in tick_broadcast_set_event()
Dclockevents.c487 dev->cpumask = cpumask_of(smp_processor_id()); in clockevents_register_device()
/linux-4.1.27/arch/x86/kernel/apic/
Dapic_noop.c89 return cpumask_of(0); in noop_target_cpus()
97 cpumask_copy(retmask, cpumask_of(cpu)); in noop_vector_allocation_domain()
Dapic_flat_64.c93 if (!cpumask_equal(cpu_online_mask, cpumask_of(cpu))) { in flat_send_IPI_allbutself()
Dx2apic_cluster.c232 cpumask_copy(retmask, cpumask_of(cpu)); in cluster_vector_allocation_domain()
Dvector.c330 apic->send_IPI_mask(cpumask_of(cpu), cfg->vector); in apic_retrigger_irq()
386 apic->send_IPI_mask(cpumask_of(i), in send_cleanup_vector()
Dapic.c550 levt->cpumask = cpumask_of(smp_processor_id()); in setup_APIC_timer()
/linux-4.1.27/include/linux/
Dtopology.h195 #define topology_thread_cpumask(cpu) cpumask_of(cpu)
198 #define topology_core_cpumask(cpu) cpumask_of(cpu)
Dcpumask.h546 #define cpumask_of(cpu) (get_cpu_mask(cpu)) macro
/linux-4.1.27/arch/ia64/kernel/
Dirq.c71 cpumask_of(cpu_logical_id(hwid))); in set_irq_affinity_info()
138 cpumask_of(new_cpu), false); in migrate_irqs()
Dsmpboot.c518 init_cpu_present(cpumask_of(0)); in smp_build_cpu_map()
559 init_cpu_online(cpumask_of(0)); in smp_prepare_cpus()
560 init_cpu_present(cpumask_of(0)); in smp_prepare_cpus()
561 init_cpu_possible(cpumask_of(0)); in smp_prepare_cpus()
626 mask = cpumask_of(new_cpei_cpu); in migrate_platform_irqs()
Dmsi_ia64.c39 cpumask_copy(idata->affinity, cpumask_of(cpu)); in ia64_set_msi_irq_affinity()
Dtopology.c364 retval = set_cpus_allowed_ptr(current, cpumask_of(cpu)); in cache_add_dev()
Dirq_ia64.c262 return *cpumask_of(cpu); in vector_allocation_domain()
Dsalinfo.c405 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in call_on_cpu()
/linux-4.1.27/arch/mn10300/kernel/
Dcevt-mn10300.c110 cd->cpumask = cpumask_of(smp_processor_id()); in init_clockevents()
126 cpumask_copy(data->affinity, cpumask_of(cpu)); in init_clockevents()
Dsmp.c337 send_IPI_mask(cpumask_of(smp_processor_id()), irq); in send_IPI_self()
365 send_IPI_mask(cpumask_of(cpu), CALL_FUNC_SINGLE_IPI); in arch_send_call_function_single_ipi()
374 send_IPI_mask(cpumask_of(cpu), RESCHEDULE_IPI); in smp_send_reschedule()
776 send_IPI_mask(cpumask_of(phy_id), SMP_BOOT_IRQ); in do_boot_cpu()
1151 cpumask_copy(&cpumask, &cpumask_of(cpu)); in run_sleep_cpu()
1181 hotplug_cpu_nmi_call_function(cpumask_of(cpu), wakeup_cpu, NULL, 1); in run_wakeup_cpu()
/linux-4.1.27/arch/s390/include/asm/
Dtlbflush.h68 if (cpumask_equal(mm_cpumask(mm), cpumask_of(smp_processor_id()))) { in __tlb_flush_full()
94 cpumask_equal(mm_cpumask(mm), cpumask_of(smp_processor_id()))) { in __tlb_flush_asce()
Dpgtable.h956 cpumask_equal(mm_cpumask(mm), cpumask_of(smp_processor_id()))) in ptep_flush_direct()
1434 cpumask_equal(mm_cpumask(mm), cpumask_of(smp_processor_id()))) in pmdp_flush_direct()
/linux-4.1.27/arch/mips/kernel/
Dcevt-sb1250.c130 cd->cpumask = cpumask_of(cpu); in sb1250_clockevent_init()
151 irq_set_affinity(irq, cpumask_of(cpu)); in sb1250_clockevent_init()
Dcevt-bcm1480.c131 cd->cpumask = cpumask_of(cpu); in sb1480_clockevent_init()
152 irq_set_affinity(irq, cpumask_of(cpu)); in sb1480_clockevent_init()
Dcevt-ds1287.c125 cd->cpumask = cpumask_of(0); in ds1287_clockevent_init()
Dcevt-gt641xx.c135 cd->cpumask = cpumask_of(0); in gt641xx_timer0_clockevent_init()
Dcevt-r4k.c213 cd->cpumask = cpumask_of(cpu); in r4k_clockevent_init()
Dcevt-txx9.c180 cd->cpumask = cpumask_of(0), in txx9_clockevent_init()
/linux-4.1.27/arch/hexagon/kernel/
Dsmp.c234 send_ipi(cpumask_of(cpu), IPI_RESCHEDULE); in smp_send_reschedule()
247 send_ipi(cpumask_of(cpu), IPI_CALL_FUNC); in arch_send_call_function_single_ipi()
Dtime.c148 dummy_clock_dev->cpumask = cpumask_of(cpu); in setup_percpu_clockdev()
/linux-4.1.27/arch/tile/kernel/
Dsmpboot.c68 rc = sched_setaffinity(current->pid, cpumask_of(boot_cpu)); in smp_prepare_cpus()
265 rc = sched_setaffinity(current->pid, cpumask_of(cpu)); in smp_cpus_done()
Dsys.c43 homecache_evict(cpumask_of(raw_smp_processor_id())); in SYSCALL_DEFINE3()
Dtime.c172 evt->cpumask = cpumask_of(smp_processor_id()); in setup_tile_timer()
/linux-4.1.27/arch/arm/mach-hisi/
Dplatsmp.c88 arch_send_wakeup_ipi_mask(cpumask_of(cpu)); in hi3xxx_boot_secondary()
124 arch_send_wakeup_ipi_mask(cpumask_of(cpu)); in hix5hd2_boot_secondary()
/linux-4.1.27/arch/x86/kernel/
Dsmp.c127 apic->send_IPI_mask(cpumask_of(cpu), RESCHEDULE_VECTOR); in native_smp_send_reschedule()
132 apic->send_IPI_mask(cpumask_of(cpu), CALL_FUNCTION_SINGLE_VECTOR); in native_send_call_func_single_ipi()
Dhpet.c301 hpet_clockevent.cpumask = cpumask_of(smp_processor_id()); in hpet_legacy_clockevent_register()
362 irq_set_affinity(hdev->irq, cpumask_of(hdev->cpu)); in hpet_set_mode()
525 irq_set_affinity(dev->irq, cpumask_of(dev->cpu)); in hpet_setup_irq()
559 evt->cpumask = cpumask_of(hdev->cpu); in init_one_hpet_msi_clockevent()
Dsmpboot.c1005 init_cpu_present(cpumask_of(0)); in disable_smp()
1006 init_cpu_possible(cpumask_of(0)); in disable_smp()
1134 cpumask_copy(cpu_callin_mask, cpumask_of(0)); in native_smp_prepare_cpus()
Dapb_timer.c179 irq_set_affinity(adev->irq, cpumask_of(adev->cpu)); in apbt_setup_irq()
Dapm_32.c987 set_cpus_allowed_ptr(current, cpumask_of(0)); in apm_power_off()
1742 set_cpus_allowed_ptr(current, cpumask_of(0)); in apm()
/linux-4.1.27/drivers/cpufreq/
Dsparc-us3-cpufreq.c86 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in us3_freq_get()
103 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in us3_freq_target()
Dintegrator-cpufreq.c95 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in integrator_set_target()
160 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in integrator_get()
Dsparc-us2e-cpufreq.c238 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in us2e_freq_get()
256 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in us2e_freq_target()
Dia64-acpi-cpufreq.c113 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in processor_get_freq()
150 set_cpus_allowed_ptr(current, cpumask_of(policy->cpu)); in processor_set_freq()
Dloongson2_cpufreq.c56 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in loongson2_cpufreq_target()
Dsh-cpufreq.c53 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in sh_cpufreq_target()
Dacpi-cpufreq.c379 freq = extract_freq(get_cur_val(cpumask_of(cpu)), data); in get_cur_freq_on_cpu()
462 cmd.mask = cpumask_of(policy->cpu); in acpi_cpufreq_target()
Dpowernow-k8.c63 return cpumask_of(0); in cpu_core_mask()
Dcpufreq.c1158 cpumask_copy(policy->cpus, cpumask_of(cpu)); in __cpufreq_add_dev()
/linux-4.1.27/arch/arm64/kernel/
Dsmp.c529 smp_cross_call(cpumask_of(cpu), IPI_CALL_FUNC); in arch_send_call_function_single_ipi()
536 smp_cross_call(cpumask_of(smp_processor_id()), IPI_IRQ_WORK); in arch_irq_work_raise()
621 smp_cross_call(cpumask_of(cpu), IPI_RESCHEDULE); in smp_send_reschedule()
Dperf_event.c484 if (irq_set_affinity(irq, cpumask_of(cpu)) && irqs > 1) { in armpmu_reserve_hardware()
/linux-4.1.27/arch/tile/include/asm/
Dtopology.h58 #define topology_thread_cpumask(cpu) cpumask_of(cpu)
/linux-4.1.27/arch/arm/mach-shmobile/
Dsmp-emev2.c32 arch_send_wakeup_ipi_mask(cpumask_of(cpu_logical_map(cpu))); in emev2_boot_secondary()
/linux-4.1.27/arch/arm/plat-versatile/
Dplatsmp.c73 arch_send_wakeup_ipi_mask(cpumask_of(cpu)); in versatile_boot_secondary()
/linux-4.1.27/arch/sh/kernel/
Dlocaltimer.c59 clk->cpumask = cpumask_of(cpu); in local_timer_setup()
/linux-4.1.27/lib/
Dsmp_processor_id.c25 if (cpumask_equal(tsk_cpus_allowed(current), cpumask_of(this_cpu))) in check_preemption_disabled()
/linux-4.1.27/drivers/clocksource/
Ddummy_timer.c39 evt->cpumask = cpumask_of(cpu); in dummy_timer_setup()
Dtimer-atlas7.c201 ce->cpumask = cpumask_of(cpu); in sirfsoc_local_timer_setup()
205 irq_force_affinity(action->irq, cpumask_of(cpu)); in sirfsoc_local_timer_setup()
Dexynos_mct.c340 mct_comp_device.cpumask = cpumask_of(0); in exynos4_clockevent_init()
460 evt->cpumask = cpumask_of(cpu); in exynos4_local_timer_setup()
473 irq_force_affinity(evt->irq, cpumask_of(cpu)); in exynos4_local_timer_setup()
Di8253.c181 i8253_clockevent.cpumask = cpumask_of(smp_processor_id()); in clockevent_i8253_init()
Dclps711x-timer.c95 clkevt->cpumask = cpumask_of(0); in _clps711x_clkevt_init()
Dtime-orion.c137 orion_clkevt.cpumask = cpumask_of(0); in orion_timer_init()
Dvt8500_timer.c159 clockevent.cpumask = cpumask_of(0); in vt8500_timer_init()
Dbcm_kona_timer.c153 kona_clockevent_timer.cpumask = cpumask_of(0); in kona_timer_clockevents_init()
Dmips-gic-timer.c68 cd->cpumask = cpumask_of(cpu); in gic_clockevent_cpu_init()
Dbcm2835_timer.c134 timer->evt.cpumask = cpumask_of(0); in bcm2835_timer_init()
Dmetag_generic.c138 clk->cpumask = cpumask_of(cpu); in arch_timer_setup()
Dmoxart_timer.c153 moxart_clockevent.cpumask = cpumask_of(0); in moxart_timer_init()
Dtimer-atmel-st.c216 clkevt.cpumask = cpumask_of(0); in atmel_st_timer_init()
Dvf_pit_timer.c147 clockevent_pit.cpumask = cpumask_of(0); in pit_clockevent_init()
Drockchip_timer.c166 ce->cpumask = cpumask_of(0); in rk_timer_init()
Dasm9260_timer.c216 event_dev.cpumask = cpumask_of(0); in asm9260_timer_init()
Dmxs_timer.c208 mxs_clockevent_device.cpumask = cpumask_of(0); in mxs_clockevent_init()
Dpxa_timer.c173 ckevt_pxa_osmr0.cpumask = cpumask_of(0); in pxa_timer_common_init()
Dtimer-prima2.c190 sirfsoc_clockevent.cpumask = cpumask_of(0); in sirfsoc_clockevent_init()
Dnomadik-mtu.c238 nmdk_clkevt.cpumask = cpumask_of(0); in nmdk_timer_init()
Darm_global_timer.c176 clk->cpumask = cpumask_of(cpu); in gt_clockevents_init()
Dqcom-timer.c133 evt->cpumask = cpumask_of(cpu); in msm_local_timer_setup()
Dtimer-atmel-pit.c228 data->clkevt.cpumask = cpumask_of(0); in at91sam926x_pit_common_init()
Dtime-armada-370-xp.c190 evt->cpumask = cpumask_of(cpu); in armada_370_xp_timer_setup()
Dfsl_ftm_timer.c217 ftm_clockevent.cpumask = cpumask_of(0); in ftm_clockevent_init()
Dtcb_clksrc.c198 clkevt.clkevt.cpumask = cpumask_of(0); in setup_clkevents()
Ddw_apb_timer.c234 dw_ced->ced.cpumask = cpumask_of(cpu); in dw_apb_clockevent_init()
Dsamsung_pwm_timer.c286 time_event_device.cpumask = cpumask_of(0); in samsung_clockevent_init()
Darm_arch_timer.c273 clk->cpumask = cpumask_of(smp_processor_id()); in __arch_timer_setup()
/linux-4.1.27/arch/arm/mach-mvebu/
Dplatsmp-a9.c51 arch_send_wakeup_ipi_mask(cpumask_of(cpu)); in mvebu_cortex_a9_boot_secondary()
Dplatsmp.c89 arch_send_wakeup_ipi_mask(cpumask_of(cpu)); in armada_xp_boot_secondary()
/linux-4.1.27/arch/arm/mach-sti/
Dplatsmp.c80 arch_send_wakeup_ipi_mask(cpumask_of(cpu)); in sti_boot_secondary()
/linux-4.1.27/arch/arm/kernel/
Dsmp.c510 smp_cross_call(cpumask_of(cpu), IPI_CALL_FUNC_SINGLE); in arch_send_call_function_single_ipi()
517 smp_cross_call(cpumask_of(smp_processor_id()), IPI_IRQ_WORK); in arch_irq_work_raise()
644 smp_cross_call(cpumask_of(cpu), IPI_RESCHEDULE); in smp_send_reschedule()
Dhw_breakpoint.c971 cpumask_or(&debug_err_mask, &debug_err_mask, cpumask_of(cpu)); in reset_ctrl_regs()
990 if (cpumask_intersects(&debug_err_mask, cpumask_of(cpu))) { in reset_ctrl_regs()
1010 if (cpumask_intersects(&debug_err_mask, cpumask_of(cpu))) { in reset_ctrl_regs()
1021 cpumask_or(&debug_err_mask, &debug_err_mask, cpumask_of(cpu)); in reset_ctrl_regs()
Dsmp_twd.c302 clk->cpumask = cpumask_of(cpu); in twd_timer_setup()
Dperf_event_cpu.c151 if (irq_set_affinity(irq, cpumask_of(cpu)) && irqs > 1) { in cpu_pmu_request_irq()
/linux-4.1.27/arch/sparc/kernel/
Dsmp_64.c802 cpumask_of(cpu)); in smp_start_sync_tick_client()
817 cpumask_of(cpu)); in arch_send_call_function_single_ipi()
916 (u64) pg_addr, cpumask_of(cpu)); in smp_flush_dcache_page_impl()
1063 cpumask_copy(mm_cpumask(mm), cpumask_of(cpu)); in smp_flush_tlb_mm()
1101 cpumask_copy(mm_cpumask(mm), cpumask_of(cpu)); in smp_flush_tlb_pending()
1117 cpumask_copy(mm_cpumask(mm), cpumask_of(cpu)); in smp_flush_tlb_page()
1412 0, 0, cpumask_of(cpu)); in smp_send_reschedule()
Dtime_32.c237 ce->cpumask = cpumask_of(cpu); in register_percpu_ce()
Dsysfs.c111 if (set_cpus_allowed_ptr(current, cpumask_of(cpu))) in run_on_cpu()
Dtime_64.c768 sevt->cpumask = cpumask_of(smp_processor_id()); in setup_sparc64_timer()
/linux-4.1.27/arch/mips/include/asm/
Dsmp.h92 mp_ops->send_ipi_mask(cpumask_of(cpu), SMP_CALL_FUNCTION); in arch_send_call_function_single_ipi()
/linux-4.1.27/arch/score/kernel/
Dtime.c97 score_clockevent.cpumask = cpumask_of(0); in time_init()
/linux-4.1.27/arch/arm/common/
Dmcpm_platsmp.c47 arch_send_wakeup_ipi_mask(cpumask_of(cpu)); in mcpm_boot_secondary()
/linux-4.1.27/arch/blackfin/kernel/
Dtime-ts.c232 evt->cpumask = cpumask_of(0); in bfin_gptmr0_clockevent_init()
345 evt->cpumask = cpumask_of(cpu); in bfin_coretmr_clockevent_init()
Dprocess.c105 set_cpus_allowed_ptr(current, cpumask_of(smp_processor_id())); in bfin_clone()
/linux-4.1.27/arch/blackfin/mach-common/
Dsmp.c209 send_ipi(cpumask_of(cpu), BFIN_IPI_CALL_FUNC); in arch_send_call_function_single_ipi()
219 send_ipi(cpumask_of(cpu), BFIN_IPI_RESCHEDULE); in smp_send_reschedule()
/linux-4.1.27/arch/arm/mach-imx/
Dplatsmp.c105 arch_send_wakeup_ipi_mask(cpumask_of(cpu)); in ls1021a_boot_secondary()
Depit.c188 clockevent_epit.cpumask = cpumask_of(0); in epit_clockevent_init()
Dtime.c290 clockevent_mxc.cpumask = cpumask_of(0); in mxc_clockevent_init()
/linux-4.1.27/arch/arm/mach-ux500/
Dplatsmp.c88 arch_send_wakeup_ipi_mask(cpumask_of(cpu)); in ux500_boot_secondary()
Dcpu-db8500.c112 irq_set_affinity(irq, cpumask_of(other)); in db8500_pmu_handler()
/linux-4.1.27/arch/arm/mach-omap1/
Dtimer32k.c162 clockevent_32k_timer.cpumask = cpumask_of(0); in omap_init_32k_timer()
Dtime.c172 clockevent_mpu_timer1.cpumask = cpumask_of(0); in omap_init_mpu_timer()
/linux-4.1.27/arch/arm/mach-netx/
Dtime.c147 netx_clockevent.cpumask = cpumask_of(0); in netx_timer_init()
/linux-4.1.27/arch/arm/mach-lpc32xx/
Dtimer.c143 lpc32xx_clkevt.cpumask = cpumask_of(0); in lpc32xx_timer_init()
/linux-4.1.27/arch/openrisc/kernel/
Dtime.c128 clockevent_openrisc_timer.cpumask = cpumask_of(0); in openrisc_clockevent_init()
/linux-4.1.27/arch/mips/sibyte/sb1250/
Dsmp.c131 init_cpu_possible(cpumask_of(0)); in sb1250_smp_setup()
/linux-4.1.27/arch/m32r/kernel/
Dsmp.c107 send_IPI_mask(cpumask_of(cpu_id), RESCHEDULE_IPI, 1); in smp_send_reschedule()
545 send_IPI_mask(cpumask_of(cpu), CALL_FUNC_SINGLE_IPI, 0); in arch_send_call_function_single_ipi()
Dsmpboot.c296 send_IPI_mask_phys(cpumask_of(phys_id), CPU_BOOT_IPI, 0); in do_boot_cpu()
/linux-4.1.27/arch/arm64/mm/
Dcontext.c118 cpumask_copy(mm_cpumask(mm), cpumask_of(smp_processor_id())); in set_mm_context()
/linux-4.1.27/arch/arm/mach-footbridge/
Ddc21285-timer.c124 ce->cpumask = cpumask_of(smp_processor_id()); in footbridge_timer_init()
/linux-4.1.27/arch/arm/mach-omap2/
Domap-smp.c163 arch_send_wakeup_ipi_mask(cpumask_of(cpu)); in omap4_boot_secondary()
/linux-4.1.27/arch/avr32/kernel/
Dtime.c145 comparator.cpumask = cpumask_of(0); in time_init()
/linux-4.1.27/arch/mips/jz4740/
Dtime.c126 jz4740_clockevent.cpumask = cpumask_of(0); in plat_time_init()
/linux-4.1.27/arch/m68k/coldfire/
Dpit.c154 cf_pit_clockevent.cpumask = cpumask_of(smp_processor_id()); in hw_timer_init()
/linux-4.1.27/arch/arm/mach-w90x900/
Dtime.c135 nuc900_clockevent_device.cpumask = cpumask_of(0); in nuc900_clockevents_init()
/linux-4.1.27/arch/arm/plat-iop/
Dtime.c159 iop_clockevent.cpumask = cpumask_of(0); in iop_init_time()
/linux-4.1.27/arch/mips/sibyte/bcm1480/
Dsmp.c143 init_cpu_possible(cpumask_of(0)); in bcm1480_smp_setup()
/linux-4.1.27/arch/unicore32/kernel/
Dtime.c105 ckevt_puv3_osmr0.cpumask = cpumask_of(0); in time_init()
/linux-4.1.27/arch/mips/loongson/common/cs5536/
Dcs5536_mfgpt.c127 cd->cpumask = cpumask_of(cpu); in setup_mfgpt0_timer()
/linux-4.1.27/arch/arc/kernel/
Dtime.c225 evt->cpumask = cpumask_of(cpu); in arc_local_timer_setup()
/linux-4.1.27/arch/mips/sni/
Dtime.c85 cd->cpumask = cpumask_of(cpu); in sni_a20r_timer_setup()
/linux-4.1.27/arch/mips/jazz/
Dirq.c149 cd->cpumask = cpumask_of(cpu); in plat_time_init()
/linux-4.1.27/arch/powerpc/include/asm/
Dsmp.h141 return cpumask_of(cpu); in cpu_sibling_mask()
/linux-4.1.27/arch/x86/include/asm/
Dapic.h485 return cpumask_of(0); in default_target_cpus()
588 cpumask_copy(retmask, cpumask_of(cpu)); in default_vector_allocation_domain()
/linux-4.1.27/arch/sh/kernel/cpu/sh4a/
Dsmp-shx3.c51 init_cpu_possible(cpumask_of(cpu)); in shx3_smp_setup()
/linux-4.1.27/arch/xtensa/kernel/
Dtime.c130 clockevent->cpumask = cpumask_of(cpu); in local_timer_setup()
Dsmp.c372 send_ipi_message(cpumask_of(cpu), IPI_CALL_FUNC); in arch_send_call_function_single_ipi()
377 send_ipi_message(cpumask_of(cpu), IPI_RESCHEDULE); in smp_send_reschedule()
/linux-4.1.27/arch/arm/mach-exynos/
Dpm.c257 arch_send_wakeup_ipi_mask(cpumask_of(1)); in exynos_cpu0_enter_aftr()
Dplatsmp.c332 arch_send_wakeup_ipi_mask(cpumask_of(cpu)); in exynos_boot_secondary()
/linux-4.1.27/arch/metag/kernel/
Dsmp.c493 send_ipi_message(cpumask_of(cpu), IPI_CALL_FUNC); in arch_send_call_function_single_ipi()
559 send_ipi_message(cpumask_of(cpu), IPI_RESCHEDULE); in smp_send_reschedule()
/linux-4.1.27/arch/arm/mach-mmp/
Dtime.c206 ckevt.cpumask = cpumask_of(0); in timer_init()
/linux-4.1.27/arch/arm/plat-orion/
Dtime.c224 orion_clkevt.cpumask = cpumask_of(0); in orion_time_init()
/linux-4.1.27/arch/mips/loongson1/common/
Dtime.c191 cd->cpumask = cpumask_of(smp_processor_id()); in ls1x_time_init()
/linux-4.1.27/arch/mips/sgi-ip27/
Dip27-timer.c125 cd->cpumask = cpumask_of(cpu); in hub_rt_clock_event_init()
/linux-4.1.27/arch/s390/kernel/
Dtopology.c52 cpumask_copy(&mask, cpumask_of(cpu)); in cpu_group_map()
67 cpumask_copy(&mask, cpumask_of(cpu)); in cpu_thread_map()
Dtime.c146 cd->cpumask = cpumask_of(cpu); in init_cpu_timer()
/linux-4.1.27/arch/arm/mach-spear/
Dtime.c189 clkevt.cpumask = cpumask_of(0); in spear_clockevent_init()
/linux-4.1.27/arch/c6x/platforms/
Dtimer64.c237 cd->cpumask = cpumask_of(smp_processor_id()); in timer64_init()
/linux-4.1.27/Documentation/arm/
Dfirmware.txt70 gic_raise_softirq(cpumask_of(cpu), 1);
/linux-4.1.27/arch/mips/loongson/loongson-3/
Dhpet.c212 cd->cpumask = cpumask_of(cpu); in setup_hpet_timer()
/linux-4.1.27/arch/powerpc/mm/
Dtlb_hash64.c147 tmp = cpumask_of(smp_processor_id()); in __flush_tlb_pending()
Dhash_utils_64.c1052 tmp = cpumask_of(smp_processor_id()); in hash_page_mm()
1261 if (cpumask_equal(mm_cpumask(mm), cpumask_of(smp_processor_id()))) in hash_preload()
Dpgtable_64.c768 tmp = cpumask_of(smp_processor_id()); in hpte_do_hugepage_flush()
Dhugetlbpage.c479 cpumask_of(smp_processor_id()))) { in hugepd_free()
Dnuma.c1457 cpumask_of(raw_smp_processor_id())); in arch_update_cpu_topology()
/linux-4.1.27/drivers/xen/
Dmanage.c138 err = stop_machine(xen_suspend, &si, cpumask_of(0)); in do_suspend()
/linux-4.1.27/kernel/
Dreboot.c203 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in migrate_to_reboot_cpu()
Dstop_machine.c256 .active_cpus = cpumask_of(cpu1), in stop_two_cpus()
Dkthread.c336 do_set_cpus_allowed(p, cpumask_of(cpu)); in __kthread_bind()
Dcpu.c398 err = __stop_machine(take_cpu_down, &tcd_param, cpumask_of(cpu)); in _cpu_down()
Dworkqueue.c5176 cpumask_copy(pool->attrs->cpumask, cpumask_of(cpu)); in init_workqueues()
/linux-4.1.27/arch/parisc/kernel/
Dsmp.c399 init_cpu_present(cpumask_of(0)); in smp_prepare_cpus()
Dirq.c342 cpumask_copy(d->affinity, cpumask_of(cpu)); in txn_affinity_addr()
/linux-4.1.27/arch/microblaze/kernel/
Dtimer.c190 clockevent_xilinx_timer.cpumask = cpumask_of(0); in xilinx_clockevent_init()
/linux-4.1.27/arch/tile/mm/
Dhighmem.c152 cpumask_of(amp->cpu), NULL, 0); in kmap_atomic_fix_one_kpte()
Dinit.c412 const struct cpumask *my_cpu_mask = cpumask_of(smp_processor_id()); in kernel_physical_mapping_init()
503 cpumask_of(smp_processor_id())); in kernel_physical_mapping_init()
/linux-4.1.27/arch/x86/xen/
Dsmp.c344 cpumask_copy(xen_cpu_initialized_map, cpumask_of(0)); in xen_smp_prepare_cpus()
590 __xen_send_IPI_mask(cpumask_of(cpu), in xen_smp_send_call_function_single_ipi()
Dtime.c448 evt->cpumask = cpumask_of(cpu); in xen_setup_timer()
/linux-4.1.27/arch/x86/platform/uv/
Duv_irq.c133 const struct cpumask *eligible_cpu = cpumask_of(cpu); in arch_enable_uv_irq()
Duv_time.c371 ced->cpumask = cpumask_of(smp_processor_id()); in uv_rtc_register_clockevents()
Dtlb_uv.c1127 cpumask_andnot(flush_mask, cpumask, cpumask_of(cpu)); in uv_flush_tlb_others()
/linux-4.1.27/arch/nios2/kernel/
Dtime.c236 nios2_ce.ced.cpumask = cpumask_of(0); in nios2_clockevent_init()
/linux-4.1.27/arch/arm/mach-qcom/
Dplatsmp.c294 arch_send_wakeup_ipi_mask(cpumask_of(cpu)); in qcom_boot_secondary()
/linux-4.1.27/drivers/xen/events/
Devents_base.c339 cpumask_copy(irq_get_irq_data(irq)->affinity, cpumask_of(cpu)); in bind_evtchn_to_cpu()
376 cpumask_copy(irq_get_irq_data(irq)->affinity, cpumask_of(0)); in xen_irq_init()
1299 irq_set_affinity(irq, cpumask_of(info->cpu)); in rebind_evtchn_irq()
/linux-4.1.27/arch/arm/mach-davinci/
Dtime.c399 clockevent_davinci.cpumask = cpumask_of(0); in davinci_timer_init()
/linux-4.1.27/drivers/acpi/
Dacpi_pad.c131 set_cpus_allowed_ptr(current, cpumask_of(preferred_cpu)); in round_robin_cpu()
Dprocessor_throttling.c918 if (set_cpus_allowed_ptr(current, cpumask_of(pr->id))) { in acpi_processor_get_throttling()
/linux-4.1.27/arch/arm/mach-ixp4xx/
Dcommon.c565 clockevent_ixp4xx.cpumask = cpumask_of(0); in ixp4xx_clockevent_init()
/linux-4.1.27/drivers/firmware/
Ddcdbas.c262 set_cpus_allowed_ptr(current, cpumask_of(0)); in dcdbas_smi_request()
/linux-4.1.27/drivers/hv/
Dhv.c313 dev->cpumask = cpumask_of(cpu); in hv_init_clockevent_device()
/linux-4.1.27/kernel/events/
Dhw_breakpoint.c136 return cpumask_of(bp->cpu); in cpumask_of_bp()
/linux-4.1.27/arch/powerpc/kernel/
Dsmp.c772 set_cpus_allowed_ptr(current, cpumask_of(boot_cpuid)); in smp_cpus_done()
Dtime.c886 dec->cpumask = cpumask_of(cpu); in register_decrementer_clockevent()
/linux-4.1.27/drivers/parisc/
Diosapic.c694 cpumask_copy(d->affinity, cpumask_of(dest_cpu)); in iosapic_set_affinity_irq()
/linux-4.1.27/drivers/char/
Di8k.c151 rc = set_cpus_allowed_ptr(current, cpumask_of(0)); in i8k_smm()
/linux-4.1.27/arch/x86/lguest/
Dboot.c1050 lguest_clockevent.cpumask = cpumask_of(0); in lguest_time_init()
/linux-4.1.27/drivers/misc/sgi-xp/
Dxpc_main.c263 set_cpus_allowed_ptr(current, cpumask_of(XPC_HB_CHECK_CPU)); in xpc_hb_checker()
/linux-4.1.27/arch/ia64/sn/kernel/sn2/
Dsn_hwperf.c636 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in sn_hwperf_op_cpu()
/linux-4.1.27/net/sunrpc/
Dsvc.c335 set_cpus_allowed_ptr(task, cpumask_of(node)); in svc_pool_map_set_cpumask()
/linux-4.1.27/arch/sparc/mm/
Dsrmmu.c1662 cpumask_of(smp_processor_id())); in smp_flush_tlb_mm()
Dinit_64.c1271 cpumask_copy(&numa_cpumask_lookup_table[index], cpumask_of(cpu)); in numa_parse_jbus()
/linux-4.1.27/kernel/rcu/
Dtree_plugin.h3070 set_cpus_allowed_ptr(current, cpumask_of(cpu)); in rcu_bind_gp_kthread()
/linux-4.1.27/drivers/net/
Dvirtio_net.c1282 netif_set_xps_queue(vi->dev, cpumask_of(cpu), i); in virtnet_set_affinity()
/linux-4.1.27/kernel/sched/
Dcore.c4614 do_set_cpus_allowed(idle, cpumask_of(cpu)); in init_idle()