Home
last modified time | relevance | path

Searched refs:cpumask_set_cpu (Results 1 – 25 of 260) sorted by relevance

1234567891011

/linux-6.6.21/drivers/base/
Darch_topology.c80 cpumask_set_cpu(cpu, &scale_freq_counters_mask); in topology_set_scale_freq_source()
746 cpumask_set_cpu(cpu, &cpuid_topo->llc_sibling); in update_siblings_masks()
747 cpumask_set_cpu(cpuid, &cpu_topo->llc_sibling); in update_siblings_masks()
753 cpumask_set_cpu(cpuid, &cpu_topo->core_sibling); in update_siblings_masks()
754 cpumask_set_cpu(cpu, &cpuid_topo->core_sibling); in update_siblings_masks()
760 cpumask_set_cpu(cpu, &cpuid_topo->cluster_sibling); in update_siblings_masks()
761 cpumask_set_cpu(cpuid, &cpu_topo->cluster_sibling); in update_siblings_masks()
767 cpumask_set_cpu(cpuid, &cpu_topo->thread_sibling); in update_siblings_masks()
768 cpumask_set_cpu(cpu, &cpuid_topo->thread_sibling); in update_siblings_masks()
777 cpumask_set_cpu(cpu, &cpu_topo->llc_sibling); in clear_cpu_topology()
[all …]
/linux-6.6.21/arch/mips/kernel/
Dsmp.c103 cpumask_set_cpu(cpu, &cpu_sibling_setup_map); in set_cpu_sibling_map()
108 cpumask_set_cpu(i, &cpu_sibling_map[cpu]); in set_cpu_sibling_map()
109 cpumask_set_cpu(cpu, &cpu_sibling_map[i]); in set_cpu_sibling_map()
113 cpumask_set_cpu(cpu, &cpu_sibling_map[cpu]); in set_cpu_sibling_map()
120 cpumask_set_cpu(cpu, &cpu_core_setup_map); in set_cpu_core_map()
124 cpumask_set_cpu(i, &cpu_core_map[cpu]); in set_cpu_core_map()
125 cpumask_set_cpu(cpu, &cpu_core_map[i]); in set_cpu_core_map()
147 cpumask_set_cpu(i, &temp_foreign_map); in calculate_cpu_foreign_map()
375 cpumask_set_cpu(cpu, &cpu_coherent_mask); in start_secondary()
Dcrash.c45 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()
Dcacheinfo.c64 cpumask_set_cpu(cpu1, cpu_map); in fill_cpumask_siblings()
74 cpumask_set_cpu(cpu1, cpu_map); in fill_cpumask_cluster()
Dsmp-mt.c129 cpumask_set_cpu(smp_processor_id(), &mt_fpu_cpumask); in vsmp_smp_finish()
192 cpumask_set_cpu(0, &mt_fpu_cpumask); in vsmp_smp_setup()
/linux-6.6.21/arch/ia64/kernel/
Dsmpboot.c426 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()
700 cpumask_set_cpu(i, &cpu_core_map[cpu]); in set_cpu_sibling_map()
701 cpumask_set_cpu(cpu, &cpu_core_map[i]); in set_cpu_sibling_map()
703 cpumask_set_cpu(i, in set_cpu_sibling_map()
705 cpumask_set_cpu(cpu, in set_cpu_sibling_map()
737 cpumask_set_cpu(cpu, &per_cpu(cpu_sibling_map, cpu)); in __cpu_up()
738 cpumask_set_cpu(cpu, &cpu_core_map[cpu]); in __cpu_up()
/linux-6.6.21/arch/loongarch/kernel/
Dcacheinfo.c45 cpumask_set_cpu(cpu, &this_leaf->shared_cpu_map); in cache_cpumap_setup()
55 cpumask_set_cpu(cpu, &sib_leaf->shared_cpu_map); in cache_cpumap_setup()
56 cpumask_set_cpu(i, &this_leaf->shared_cpu_map); in cache_cpumap_setup()
Dsmp.c95 cpumask_set_cpu(cpu, &cpu_core_setup_map); in set_cpu_core_map()
99 cpumask_set_cpu(i, &cpu_core_map[cpu]); in set_cpu_core_map()
100 cpumask_set_cpu(cpu, &cpu_core_map[i]); in set_cpu_core_map()
109 cpumask_set_cpu(cpu, &cpu_sibling_setup_map); in set_cpu_sibling_map()
113 cpumask_set_cpu(i, &cpu_sibling_map[cpu]); in set_cpu_sibling_map()
114 cpumask_set_cpu(cpu, &cpu_sibling_map[i]); in set_cpu_sibling_map()
150 cpumask_set_cpu(i, &temp_foreign_map); in calculate_cpu_foreign_map()
Dnuma.c135 cpumask_set_cpu(cpu, &cpus_on_node[node]); in early_numa_add_cpu()
136 cpumask_set_cpu(cpuid, &phys_cpus_on_node[node]); in early_numa_add_cpu()
142 cpumask_set_cpu(cpu, &cpus_on_node[nid]); in numa_add_cpu()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Daffinity.c78 cpumask_set_cpu(cpu, &set->used); in cpu_mask_set_get_first()
358 cpumask_set_cpu(cpu, &set->used); in _dev_comp_vect_cpu_get()
538 cpumask_set_cpu(curr_cpu, dev_comp_vect_mask); in _dev_comp_vect_cpu_mask_init()
633 cpumask_set_cpu(curr_cpu, &entry->rcv_intr.mask); in hfi1_dev_affinity_init()
634 cpumask_set_cpu(curr_cpu, &entry->general_intr_mask); in hfi1_dev_affinity_init()
642 cpumask_set_cpu(curr_cpu, &entry->general_intr_mask); in hfi1_dev_affinity_init()
656 cpumask_set_cpu(curr_cpu, in hfi1_dev_affinity_init()
758 cpumask_set_cpu(cpu, &msix->mask); in hfi1_update_sdma_affinity()
769 cpumask_set_cpu(cpu, &set->mask); in hfi1_update_sdma_affinity()
770 cpumask_set_cpu(cpu, &set->used); in hfi1_update_sdma_affinity()
[all …]
/linux-6.6.21/arch/s390/include/asm/
Dmmu_context.h82 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-6.6.21/arch/powerpc/kernel/
Dsmp.c531 cpumask_set_cpu(cpu, &nmi_ipi_pending_mask); in __smp_send_nmi_ipi()
727 cpumask_set_cpu(i, get_cpumask(j)); in set_cpus_related()
728 cpumask_set_cpu(j, get_cpumask(i)); in set_cpus_related()
946 cpumask_set_cpu(i, *mask); in update_mask_from_threadgroup()
1129 cpumask_set_cpu(boot_cpuid, cpu_sibling_mask(boot_cpuid)); in smp_prepare_cpus()
1130 cpumask_set_cpu(boot_cpuid, cpu_l2_cache_mask(boot_cpuid)); in smp_prepare_cpus()
1131 cpumask_set_cpu(boot_cpuid, cpu_core_mask(boot_cpuid)); in smp_prepare_cpus()
1134 cpumask_set_cpu(boot_cpuid, cpu_coregroup_mask(boot_cpuid)); in smp_prepare_cpus()
1138 cpumask_set_cpu(boot_cpuid, in smp_prepare_cpus()
1421 cpumask_set_cpu(cpu, cpu_l2_cache_mask(cpu)); in update_mask_by_l2()
[all …]
Dwatchdog.c184 cpumask_set_cpu(cpu, &wd_smp_cpus_stuck); in set_cpu_stuck()
489 cpumask_set_cpu(cpu, &wd_cpus_enabled); in start_watchdog()
491 cpumask_set_cpu(cpu, &wd_smp_cpus_pending); in start_watchdog()
/linux-6.6.21/arch/x86/kernel/
Dsmpboot.c470 cpumask_set_cpu((c1), mfunc(c2)); \
471 cpumask_set_cpu((c2), mfunc(c1)); \
669 cpumask_set_cpu(cpu, cpu_sibling_setup_mask); in set_cpu_sibling_map()
672 cpumask_set_cpu(cpu, topology_sibling_cpumask(cpu)); in set_cpu_sibling_map()
673 cpumask_set_cpu(cpu, cpu_llc_shared_mask(cpu)); in set_cpu_sibling_map()
674 cpumask_set_cpu(cpu, cpu_l2c_shared_mask(cpu)); in set_cpu_sibling_map()
675 cpumask_set_cpu(cpu, topology_core_cpumask(cpu)); in set_cpu_sibling_map()
676 cpumask_set_cpu(cpu, topology_die_cpumask(cpu)); in set_cpu_sibling_map()
1139 cpumask_set_cpu(0, topology_sibling_cpumask(0)); in disable_smp()
1140 cpumask_set_cpu(0, topology_core_cpumask(0)); in disable_smp()
[all …]
/linux-6.6.21/arch/s390/kernel/
Dtopology.c71 cpumask_set_cpu(cpu, &mask); in cpu_group_map()
103 cpumask_set_cpu(cpu, &mask); in cpu_thread_map()
110 cpumask_set_cpu(cpu, &mask); in cpu_thread_map()
143 cpumask_set_cpu(cpu, &drawer->mask); in add_cpus_to_mask()
144 cpumask_set_cpu(cpu, &book->mask); in add_cpus_to_mask()
145 cpumask_set_cpu(cpu, &socket->mask); in add_cpus_to_mask()
573 cpumask_set_cpu(0, &cpu_setup_mask); in topology_init_early()
/linux-6.6.21/kernel/sched/
Dcpudeadline.c145 cpumask_set_cpu(max_cpu, later_mask); in cpudl_find()
156 cpumask_set_cpu(best_cpu, later_mask); in cpudl_find()
198 cpumask_set_cpu(cpu, cp->free_cpus); in cpudl_clear()
246 cpumask_set_cpu(cpu, cp->free_cpus); in cpudl_set_freecpu()
/linux-6.6.21/arch/arm/mach-tegra/
Dplatsmp.c38 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-6.6.21/arch/powerpc/platforms/pseries/
Dsmp.c103 cpumask_set_cpu(lcpu, of_spin_mask); in smp_startup_cpu()
273 cpumask_set_cpu(i, of_spin_mask); in smp_init_pseries()
/linux-6.6.21/drivers/opp/
Dcpu.c225 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-6.6.21/lib/
Dgroup_cpus.c28 cpumask_set_cpu(cpu, irqmsk); in grp_spread_init_one()
39 cpumask_set_cpu(sibl, irqmsk); in grp_spread_init_one()
82 cpumask_set_cpu(cpu, masks[cpu_to_node(cpu)]); in build_node_to_cpumask()
/linux-6.6.21/drivers/acpi/
Dprocessor_perflib.c653 cpumask_set_cpu(i, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
654 cpumask_set_cpu(i, covered_cpus); in acpi_processor_preregister_performance()
691 cpumask_set_cpu(j, covered_cpus); in acpi_processor_preregister_performance()
692 cpumask_set_cpu(j, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
723 cpumask_set_cpu(i, pr->performance->shared_cpu_map); in acpi_processor_preregister_performance()
Dprocessor_throttling.c99 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()
140 cpumask_set_cpu(j, covered_cpus); in acpi_processor_update_tsd_coord()
141 cpumask_set_cpu(j, pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord()
180 cpumask_set_cpu(i, pthrottling->shared_cpu_map); in acpi_processor_update_tsd_coord()
621 cpumask_set_cpu(pr->id, pthrottling->shared_cpu_map); in acpi_processor_get_tsd()
1197 cpumask_set_cpu(pr->id, pthrottling->shared_cpu_map); in acpi_processor_get_throttling_info()
/linux-6.6.21/arch/arm/mm/
Dcontext.c71 cpumask_set_cpu(cpu, mask); in a15_erratum_get_cpumask()
271 cpumask_set_cpu(cpu, mm_cpumask(mm)); in check_and_switch_context()
/linux-6.6.21/kernel/time/
Dtick-broadcast.c264 cpumask_set_cpu(cpu, tick_broadcast_mask); in tick_device_uses_broadcast()
468 cpumask_set_cpu(cpu, tick_broadcast_on); in tick_broadcast_control()
714 cpumask_set_cpu(cpu, tmpmask); in tick_handle_oneshot_broadcast()
720 cpumask_set_cpu(cpu, tick_broadcast_pending_mask); in tick_handle_oneshot_broadcast()
919 cpumask_set_cpu(cpu, tick_broadcast_force_mask); in ___tick_broadcast_oneshot_control()
/linux-6.6.21/include/linux/
Dcpumask.h469 static __always_inline void cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in cpumask_set_cpu() function
993 cpumask_set_cpu(cpu, &__cpu_possible_mask); in set_cpu_possible()
1002 cpumask_set_cpu(cpu, &__cpu_present_mask); in set_cpu_present()
1013 cpumask_set_cpu(cpu, &__cpu_active_mask); in set_cpu_active()
1022 cpumask_set_cpu(cpu, &__cpu_dying_mask); in set_cpu_dying()

1234567891011