| /Linux-v5.4/drivers/base/ |
| D | arch_topology.c | 461 cpumask_set_cpu(cpu, &cpuid_topo->llc_sibling); in update_siblings_masks() 462 cpumask_set_cpu(cpuid, &cpu_topo->llc_sibling); in update_siblings_masks() 468 cpumask_set_cpu(cpuid, &cpu_topo->core_sibling); in update_siblings_masks() 469 cpumask_set_cpu(cpu, &cpuid_topo->core_sibling); in update_siblings_masks() 474 cpumask_set_cpu(cpuid, &cpu_topo->thread_sibling); in update_siblings_masks() 475 cpumask_set_cpu(cpu, &cpuid_topo->thread_sibling); in update_siblings_masks() 484 cpumask_set_cpu(cpu, &cpu_topo->llc_sibling); in clear_cpu_topology() 487 cpumask_set_cpu(cpu, &cpu_topo->core_sibling); in clear_cpu_topology() 489 cpumask_set_cpu(cpu, &cpu_topo->thread_sibling); in clear_cpu_topology()
|
| /Linux-v5.4/arch/parisc/kernel/ |
| 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-v5.4/arch/mips/kernel/ |
| 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() 364 cpumask_set_cpu(cpu, &cpu_coherent_mask); in start_secondary()
|
| 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()
|
| 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()
|
| 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-v5.4/arch/ia64/kernel/ |
| D | smpboot.c | 435 cpumask_set_cpu(cpuid, &cpu_callin_map); in smp_callin() 543 cpumask_set_cpu(0, &cpu_callin_map); in smp_prepare_cpus() 567 cpumask_set_cpu(smp_processor_id(), &cpu_callin_map); in smp_prepare_boot_cpu() 714 cpumask_set_cpu(i, &cpu_core_map[cpu]); in set_cpu_sibling_map() 715 cpumask_set_cpu(cpu, &cpu_core_map[i]); in set_cpu_sibling_map() 717 cpumask_set_cpu(i, in set_cpu_sibling_map() 719 cpumask_set_cpu(cpu, in set_cpu_sibling_map() 751 cpumask_set_cpu(cpu, &per_cpu(cpu_sibling_map, cpu)); in __cpu_up() 752 cpumask_set_cpu(cpu, &cpu_core_map[cpu]); in __cpu_up()
|
| /Linux-v5.4/arch/x86/kernel/ |
| D | smpboot.c | 203 cpumask_set_cpu(cpuid, cpu_callin_mask); in smp_callin() 423 cpumask_set_cpu((c1), mfunc(c2)); \ 424 cpumask_set_cpu((c2), mfunc(c1)); \ 573 cpumask_set_cpu(cpu, cpu_sibling_setup_mask); in set_cpu_sibling_map() 576 cpumask_set_cpu(cpu, topology_sibling_cpumask(cpu)); in set_cpu_sibling_map() 577 cpumask_set_cpu(cpu, cpu_llc_shared_mask(cpu)); in set_cpu_sibling_map() 578 cpumask_set_cpu(cpu, topology_core_cpumask(cpu)); in set_cpu_sibling_map() 579 cpumask_set_cpu(cpu, topology_die_cpumask(cpu)); in set_cpu_sibling_map() 1094 cpumask_set_cpu(cpu, cpu_callout_mask); in do_boot_cpu() 1228 cpumask_set_cpu(0, topology_sibling_cpumask(0)); in disable_smp() [all …]
|
| /Linux-v5.4/drivers/infiniband/hw/hfi1/ |
| D | affinity.c | 119 cpumask_set_cpu(cpu, &set->used); in cpu_mask_set_get_first() 399 cpumask_set_cpu(cpu, &set->used); in _dev_comp_vect_cpu_get() 577 cpumask_set_cpu(curr_cpu, dev_comp_vect_mask); in _dev_comp_vect_cpu_mask_init() 683 cpumask_set_cpu(curr_cpu, &entry->rcv_intr.mask); in hfi1_dev_affinity_init() 684 cpumask_set_cpu(curr_cpu, &entry->general_intr_mask); in hfi1_dev_affinity_init() 692 cpumask_set_cpu(curr_cpu, &entry->general_intr_mask); in hfi1_dev_affinity_init() 706 cpumask_set_cpu(curr_cpu, in hfi1_dev_affinity_init() 808 cpumask_set_cpu(cpu, &msix->mask); in hfi1_update_sdma_affinity() 819 cpumask_set_cpu(cpu, &set->mask); in hfi1_update_sdma_affinity() 820 cpumask_set_cpu(cpu, &set->used); in hfi1_update_sdma_affinity() [all …]
|
| /Linux-v5.4/arch/s390/include/asm/ |
| D | mmu_context.h | 94 cpumask_set_cpu(cpu, &next->context.cpu_attach_mask); in switch_mm() 118 cpumask_set_cpu(smp_processor_id(), mm_cpumask(mm)); in finish_arch_post_lock_switch() 132 cpumask_set_cpu(smp_processor_id(), mm_cpumask(next)); in activate_mm()
|
| /Linux-v5.4/arch/powerpc/kernel/ |
| D | smp.c | 491 cpumask_set_cpu(cpu, &nmi_ipi_pending_mask); in __smp_send_nmi_ipi() 648 cpumask_set_cpu(i, get_cpumask(j)); in set_cpus_related() 649 cpumask_set_cpu(j, get_cpumask(i)); in set_cpus_related() 813 cpumask_set_cpu(i, per_cpu(cpu_l1_cache_map, cpu)); in init_cpu_l1_cache_map() 874 cpumask_set_cpu(boot_cpuid, cpu_sibling_mask(boot_cpuid)); in smp_prepare_cpus() 875 cpumask_set_cpu(boot_cpuid, cpu_l2_cache_mask(boot_cpuid)); in smp_prepare_cpus() 876 cpumask_set_cpu(boot_cpuid, cpu_core_mask(boot_cpuid)); in smp_prepare_cpus() 880 cpumask_set_cpu(boot_cpuid, in smp_prepare_cpus() 1180 cpumask_set_cpu(cpu, cpu_smallcore_mask(cpu)); in add_cpu_to_smallcore_masks() 1198 cpumask_set_cpu(cpu, cpu_sibling_mask(cpu)); in add_cpu_to_masks()
|
| /Linux-v5.4/arch/mips/netlogic/common/ |
| D | smp.c | 177 cpumask_set_cpu(boot_cpu, &phys_cpu_present_mask); in nlm_smp_setup() 189 cpumask_set_cpu(i, &phys_cpu_present_mask); in nlm_smp_setup() 194 cpumask_set_cpu(num_cpus, &nlm_get_node(node)->cpumask); in nlm_smp_setup()
|
| /Linux-v5.4/arch/s390/kernel/ |
| D | topology.c | 108 cpumask_set_cpu(cpu + i, &mask); in cpu_thread_map() 138 cpumask_set_cpu(lcpu + i, &drawer->mask); in add_cpus_to_mask() 139 cpumask_set_cpu(lcpu + i, &book->mask); in add_cpus_to_mask() 140 cpumask_set_cpu(lcpu + i, &socket->mask); in add_cpus_to_mask() 141 cpumask_set_cpu(lcpu + i, &cpus_with_topology); in add_cpus_to_mask() 267 cpumask_set_cpu(cpu, &cpus_with_topology); in update_cpu_masks()
|
| /Linux-v5.4/arch/mips/sgi-ip27/ |
| D | ip27-klnuma.c | 34 cpumask_set_cpu(0, &ktext_repmask); in setup_replication_mask() 47 cpumask_set_cpu(cnode, &ktext_repmask); in setup_replication_mask()
|
| /Linux-v5.4/arch/arm/mach-tegra/ |
| 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-v5.4/drivers/acpi/ |
| D | processor_perflib.c | 619 cpumask_set_cpu(i, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance() 642 cpumask_set_cpu(i, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance() 643 cpumask_set_cpu(i, covered_cpus); in acpi_processor_preregister_performance() 680 cpumask_set_cpu(j, covered_cpus); in acpi_processor_preregister_performance() 681 cpumask_set_cpu(j, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance() 712 cpumask_set_cpu(i, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
|
| D | processor_throttling.c | 103 cpumask_set_cpu(i, pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord() 104 cpumask_set_cpu(i, covered_cpus); in acpi_processor_update_tsd_coord() 145 cpumask_set_cpu(j, covered_cpus); in acpi_processor_update_tsd_coord() 146 cpumask_set_cpu(j, pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord() 186 cpumask_set_cpu(i, pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord() 633 cpumask_set_cpu(pr->id, pthrottling->shared_cpu_map); in acpi_processor_get_tsd() 1222 cpumask_set_cpu(pr->id, pthrottling->shared_cpu_map); in acpi_processor_get_throttling_info()
|
| /Linux-v5.4/kernel/sched/ |
| D | cpudeadline.c | 133 cpumask_set_cpu(best_cpu, later_mask); in cpudl_find() 175 cpumask_set_cpu(cpu, cp->free_cpus); in cpudl_clear() 223 cpumask_set_cpu(cpu, cp->free_cpus); in cpudl_set_freecpu()
|
| /Linux-v5.4/arch/powerpc/platforms/pseries/ |
| D | smp.c | 105 cpumask_set_cpu(lcpu, of_spin_mask); in smp_startup_cpu() 274 cpumask_set_cpu(i, of_spin_mask); in smp_init_pseries()
|
| /Linux-v5.4/drivers/opp/ |
| 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-v5.4/kernel/time/ |
| D | tick-broadcast.c | 180 cpumask_set_cpu(cpu, tick_broadcast_mask); in tick_device_uses_broadcast() 386 cpumask_set_cpu(cpu, tick_broadcast_on); in tick_broadcast_control() 628 cpumask_set_cpu(cpu, tmpmask); in tick_handle_oneshot_broadcast() 634 cpumask_set_cpu(cpu, tick_broadcast_pending_mask); in tick_handle_oneshot_broadcast() 841 cpumask_set_cpu(cpu, tick_broadcast_force_mask); in __tick_broadcast_oneshot_control()
|
| /Linux-v5.4/arch/arm/mm/ |
| 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-v5.4/kernel/irq/ |
| 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-v5.4/include/linux/ |
| D | cpumask.h | 325 static inline void cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in cpumask_set_cpu() function 824 cpumask_set_cpu(cpu, &__cpu_possible_mask); in set_cpu_possible() 833 cpumask_set_cpu(cpu, &__cpu_present_mask); in set_cpu_present() 844 cpumask_set_cpu(cpu, &__cpu_active_mask); in set_cpu_active()
|
| /Linux-v5.4/arch/alpha/include/asm/ |
| D | topology.h | 40 cpumask_set_cpu(cpu, node_to_cpumask_map[node]); in cpumask_of_node()
|