/linux/drivers/base/ |
A D | arch_topology.c | 75 cpumask_set_cpu(cpu, &scale_freq_counters_mask); in topology_set_scale_freq_source() 615 cpumask_set_cpu(cpu, &cpuid_topo->llc_sibling); in update_siblings_masks() 616 cpumask_set_cpu(cpuid, &cpu_topo->llc_sibling); in update_siblings_masks() 628 cpumask_set_cpu(cpuid, &cpu_topo->core_sibling); in update_siblings_masks() 629 cpumask_set_cpu(cpu, &cpuid_topo->core_sibling); in update_siblings_masks() 634 cpumask_set_cpu(cpuid, &cpu_topo->thread_sibling); in update_siblings_masks() 635 cpumask_set_cpu(cpu, &cpuid_topo->thread_sibling); in update_siblings_masks() 644 cpumask_set_cpu(cpu, &cpu_topo->llc_sibling); in clear_cpu_topology() 647 cpumask_set_cpu(cpu, &cpu_topo->cluster_sibling); in clear_cpu_topology() 650 cpumask_set_cpu(cpu, &cpu_topo->core_sibling); in clear_cpu_topology() [all …]
|
/linux/arch/parisc/kernel/ |
A D | topology.c | 42 cpumask_set_cpu(cpuid, &cpu_topo->core_sibling); in update_siblings_masks() 44 cpumask_set_cpu(cpu, &cpuid_topo->core_sibling); in update_siblings_masks() 49 cpumask_set_cpu(cpuid, &cpu_topo->thread_sibling); in update_siblings_masks() 51 cpumask_set_cpu(cpu, &cpuid_topo->thread_sibling); in update_siblings_masks()
|
/linux/arch/mips/kernel/ |
A D | smp.c | 85 cpumask_set_cpu(cpu, &cpu_sibling_setup_map); in set_cpu_sibling_map() 90 cpumask_set_cpu(i, &cpu_sibling_map[cpu]); in set_cpu_sibling_map() 91 cpumask_set_cpu(cpu, &cpu_sibling_map[i]); in set_cpu_sibling_map() 95 cpumask_set_cpu(cpu, &cpu_sibling_map[cpu]); in set_cpu_sibling_map() 102 cpumask_set_cpu(cpu, &cpu_core_setup_map); in set_cpu_core_map() 106 cpumask_set_cpu(i, &cpu_core_map[cpu]); in set_cpu_core_map() 107 cpumask_set_cpu(cpu, &cpu_core_map[i]); in set_cpu_core_map() 129 cpumask_set_cpu(i, &temp_foreign_map); in calculate_cpu_foreign_map() 354 cpumask_set_cpu(cpu, &cpu_coherent_mask); in start_secondary()
|
A D | crash.c | 45 cpumask_set_cpu(cpu, &cpus_in_crash); in crash_shutdown_secondary() 102 cpumask_set_cpu(crashing_cpu, &cpus_in_crash); in default_machine_crash_shutdown()
|
A D | smp-cmp.c | 57 cpumask_set_cpu(smp_processor_id(), &mt_fpu_cpumask); in cmp_smp_finish() 102 cpumask_set_cpu(0, &mt_fpu_cpumask); in cmp_smp_setup()
|
A D | cacheinfo.c | 64 cpumask_set_cpu(cpu1, cpu_map); in fill_cpumask_siblings() 74 cpumask_set_cpu(cpu1, cpu_map); in fill_cpumask_cluster()
|
A D | smp-mt.c | 128 cpumask_set_cpu(smp_processor_id(), &mt_fpu_cpumask); in vsmp_smp_finish() 191 cpumask_set_cpu(0, &mt_fpu_cpumask); in vsmp_smp_setup()
|
/linux/arch/ia64/kernel/ |
A D | smpboot.c | 426 cpumask_set_cpu(cpuid, &cpu_callin_map); in smp_callin() 533 cpumask_set_cpu(0, &cpu_callin_map); in smp_prepare_cpus() 557 cpumask_set_cpu(smp_processor_id(), &cpu_callin_map); in smp_prepare_boot_cpu() 704 cpumask_set_cpu(i, &cpu_core_map[cpu]); in set_cpu_sibling_map() 705 cpumask_set_cpu(cpu, &cpu_core_map[i]); in set_cpu_sibling_map() 707 cpumask_set_cpu(i, in set_cpu_sibling_map() 709 cpumask_set_cpu(cpu, in set_cpu_sibling_map() 741 cpumask_set_cpu(cpu, &per_cpu(cpu_sibling_map, cpu)); in __cpu_up() 742 cpumask_set_cpu(cpu, &cpu_core_map[cpu]); in __cpu_up()
|
A D | topology.c | 146 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup() 162 cpumask_set_cpu(j, &this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup() 175 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in cache_shared_cpu_map_setup()
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | affinity.c | 79 cpumask_set_cpu(cpu, &set->used); in cpu_mask_set_get_first() 359 cpumask_set_cpu(cpu, &set->used); in _dev_comp_vect_cpu_get() 539 cpumask_set_cpu(curr_cpu, dev_comp_vect_mask); in _dev_comp_vect_cpu_mask_init() 634 cpumask_set_cpu(curr_cpu, &entry->rcv_intr.mask); in hfi1_dev_affinity_init() 657 cpumask_set_cpu(curr_cpu, in hfi1_dev_affinity_init() 759 cpumask_set_cpu(cpu, &msix->mask); in hfi1_update_sdma_affinity() 770 cpumask_set_cpu(cpu, &set->mask); in hfi1_update_sdma_affinity() 771 cpumask_set_cpu(cpu, &set->used); in hfi1_update_sdma_affinity() 896 cpumask_set_cpu(cpu, &msix->mask); in get_irq_affinity() 1018 cpumask_set_cpu(cpu, &set->used); in hfi1_get_proc_affinity() [all …]
|
/linux/arch/powerpc/kernel/ |
A D | smp.c | 529 cpumask_set_cpu(cpu, &nmi_ipi_pending_mask); in __smp_send_nmi_ipi() 697 cpumask_set_cpu(i, get_cpumask(j)); in set_cpus_related() 698 cpumask_set_cpu(j, get_cpumask(i)); in set_cpus_related() 915 cpumask_set_cpu(i, *mask); in update_mask_from_threadgroup() 1098 cpumask_set_cpu(boot_cpuid, cpu_sibling_mask(boot_cpuid)); in smp_prepare_cpus() 1100 cpumask_set_cpu(boot_cpuid, cpu_core_mask(boot_cpuid)); in smp_prepare_cpus() 1107 cpumask_set_cpu(boot_cpuid, in smp_prepare_cpus() 1378 cpumask_set_cpu(cpu, cpu_l2_cache_mask(cpu)); in update_mask_by_l2() 1469 cpumask_set_cpu(cpu, cpu_smallcore_mask(cpu)); in add_cpu_to_smallcore_masks() 1527 cpumask_set_cpu(cpu, cpu_sibling_mask(cpu)); in add_cpu_to_masks() [all …]
|
/linux/arch/s390/include/asm/ |
A D | mmu_context.h | 82 cpumask_set_cpu(cpu, &next->context.cpu_attach_mask); in switch_mm_irqs_off() 110 cpumask_set_cpu(smp_processor_id(), mm_cpumask(mm)); in finish_arch_post_lock_switch() 122 cpumask_set_cpu(smp_processor_id(), mm_cpumask(next)); in activate_mm()
|
/linux/arch/x86/kernel/ |
A D | smpboot.c | 215 cpumask_set_cpu(cpuid, cpu_callin_mask); in smp_callin() 431 cpumask_set_cpu((c1), mfunc(c2)); \ 432 cpumask_set_cpu((c2), mfunc(c1)); \ 622 cpumask_set_cpu(cpu, cpu_sibling_setup_mask); in set_cpu_sibling_map() 626 cpumask_set_cpu(cpu, cpu_llc_shared_mask(cpu)); in set_cpu_sibling_map() 627 cpumask_set_cpu(cpu, cpu_l2c_shared_mask(cpu)); in set_cpu_sibling_map() 629 cpumask_set_cpu(cpu, topology_die_cpumask(cpu)); in set_cpu_sibling_map() 1153 cpumask_set_cpu(cpu, cpu_callout_mask); in do_boot_cpu() 1288 cpumask_set_cpu(0, topology_core_cpumask(0)); in disable_smp() 1289 cpumask_set_cpu(0, topology_die_cpumask(0)); in disable_smp() [all …]
|
/linux/arch/s390/kernel/ |
A D | topology.c | 72 cpumask_set_cpu(cpu, &mask); in cpu_group_map() 104 cpumask_set_cpu(cpu, &mask); in cpu_thread_map() 110 cpumask_set_cpu(cpu + i, &mask); in cpu_thread_map() 142 cpumask_set_cpu(lcpu + i, &drawer->mask); in add_cpus_to_mask() 143 cpumask_set_cpu(lcpu + i, &book->mask); in add_cpus_to_mask() 144 cpumask_set_cpu(lcpu + i, &socket->mask); in add_cpus_to_mask() 572 cpumask_set_cpu(0, &cpu_setup_mask); in topology_init_early()
|
/linux/kernel/sched/ |
A D | cpudeadline.c | 146 cpumask_set_cpu(max_cpu, later_mask); in cpudl_find() 157 cpumask_set_cpu(best_cpu, later_mask); in cpudl_find() 199 cpumask_set_cpu(cpu, cp->free_cpus); in cpudl_clear() 247 cpumask_set_cpu(cpu, cp->free_cpus); in cpudl_set_freecpu()
|
/linux/arch/arm/mach-tegra/ |
A D | platsmp.c | 38 cpumask_set_cpu(cpu, &tegra_cpu_init_mask); in tegra_secondary_init() 176 cpumask_set_cpu(0, &tegra_cpu_init_mask); in tegra_smp_prepare_cpus()
|
/linux/arch/powerpc/platforms/pseries/ |
A D | smp.c | 104 cpumask_set_cpu(lcpu, of_spin_mask); in smp_startup_cpu() 274 cpumask_set_cpu(i, of_spin_mask); in smp_init_pseries()
|
/linux/include/linux/ |
A D | cpumask.h | 309 static inline void cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in cpumask_set_cpu() function 806 cpumask_set_cpu(cpu, &__cpu_possible_mask); in set_cpu_possible() 815 cpumask_set_cpu(cpu, &__cpu_present_mask); in set_cpu_present() 826 cpumask_set_cpu(cpu, &__cpu_active_mask); in set_cpu_active() 835 cpumask_set_cpu(cpu, &__cpu_dying_mask); in set_cpu_dying()
|
/linux/drivers/opp/ |
A D | cpu.c | 225 cpumask_set_cpu(opp_dev->dev->id, cpumask); in dev_pm_opp_get_sharing_cpus() 228 cpumask_set_cpu(cpu_dev->id, cpumask); in dev_pm_opp_get_sharing_cpus()
|
/linux/drivers/acpi/ |
A D | processor_perflib.c | 636 cpumask_set_cpu(i, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance() 637 cpumask_set_cpu(i, covered_cpus); in acpi_processor_preregister_performance() 674 cpumask_set_cpu(j, covered_cpus); in acpi_processor_preregister_performance() 675 cpumask_set_cpu(j, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance() 706 cpumask_set_cpu(i, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
|
A D | processor_throttling.c | 99 cpumask_set_cpu(i, pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord() 100 cpumask_set_cpu(i, covered_cpus); in acpi_processor_update_tsd_coord() 141 cpumask_set_cpu(j, covered_cpus); in acpi_processor_update_tsd_coord() 142 cpumask_set_cpu(j, pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord() 182 cpumask_set_cpu(i, pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord() 623 cpumask_set_cpu(pr->id, pthrottling->shared_cpu_map); in acpi_processor_get_tsd() 1199 cpumask_set_cpu(pr->id, pthrottling->shared_cpu_map); in acpi_processor_get_throttling_info()
|
/linux/kernel/time/ |
A D | tick-broadcast.c | 263 cpumask_set_cpu(cpu, tick_broadcast_mask); in tick_device_uses_broadcast() 467 cpumask_set_cpu(cpu, tick_broadcast_on); in tick_broadcast_control() 709 cpumask_set_cpu(cpu, tmpmask); in tick_handle_oneshot_broadcast() 715 cpumask_set_cpu(cpu, tick_broadcast_pending_mask); in tick_handle_oneshot_broadcast() 914 cpumask_set_cpu(cpu, tick_broadcast_force_mask); in ___tick_broadcast_oneshot_control()
|
/linux/kernel/irq/ |
A D | affinity.c | 26 cpumask_set_cpu(cpu, irqmsk); in irq_spread_init_one() 37 cpumask_set_cpu(sibl, irqmsk); in irq_spread_init_one() 80 cpumask_set_cpu(cpu, masks[cpu_to_node(cpu)]); in build_node_to_cpumask()
|
/linux/arch/arm/mm/ |
A D | context.c | 71 cpumask_set_cpu(cpu, mask); in a15_erratum_get_cpumask() 272 cpumask_set_cpu(cpu, mm_cpumask(mm)); in check_and_switch_context()
|
/linux/drivers/watchdog/ |
A D | octeon-wdt-main.c | 387 cpumask_set_cpu(cpu, &mask); in octeon_wdt_cpu_online() 391 cpumask_set_cpu(cpu, &irq_enabled_cpus); in octeon_wdt_cpu_online() 423 cpumask_set_cpu(cpu, &irq_enabled_cpus); in octeon_wdt_ping()
|