Home
last modified time | relevance | path

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

1234567891011

/linux-6.1.9/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.1.9/arch/mips/kernel/
Dsmp.c85 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()
357 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()
Dsmp-cmp.c57 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()
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.c128 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-6.1.9/arch/loongarch/kernel/
Dsmp.c346 cpumask_set_cpu(cpu, &cpu_sibling_setup_map); in set_cpu_sibling_map()
349 cpumask_set_cpu(cpu, &cpu_sibling_map[cpu]); in set_cpu_sibling_map()
353 cpumask_set_cpu(i, &cpu_sibling_map[cpu]); in set_cpu_sibling_map()
354 cpumask_set_cpu(cpu, &cpu_sibling_map[i]); in set_cpu_sibling_map()
364 cpumask_set_cpu(cpu, &cpu_core_setup_map); in set_cpu_core_map()
368 cpumask_set_cpu(i, &cpu_core_map[cpu]); in set_cpu_core_map()
369 cpumask_set_cpu(cpu, &cpu_core_map[i]); in set_cpu_core_map()
391 cpumask_set_cpu(i, &temp_foreign_map); in calculate_cpu_foreign_map()
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()
/linux-6.1.9/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.1.9/arch/x86/kernel/
Dsmpboot.c205 cpumask_set_cpu(cpuid, cpu_callin_mask); in smp_callin()
421 cpumask_set_cpu((c1), mfunc(c2)); \
422 cpumask_set_cpu((c2), mfunc(c1)); \
612 cpumask_set_cpu(cpu, cpu_sibling_setup_mask); in set_cpu_sibling_map()
615 cpumask_set_cpu(cpu, topology_sibling_cpumask(cpu)); in set_cpu_sibling_map()
616 cpumask_set_cpu(cpu, cpu_llc_shared_mask(cpu)); in set_cpu_sibling_map()
617 cpumask_set_cpu(cpu, cpu_l2c_shared_mask(cpu)); in set_cpu_sibling_map()
618 cpumask_set_cpu(cpu, topology_core_cpumask(cpu)); in set_cpu_sibling_map()
619 cpumask_set_cpu(cpu, topology_die_cpumask(cpu)); in set_cpu_sibling_map()
1151 cpumask_set_cpu(cpu, cpu_callout_mask); in do_boot_cpu()
[all …]
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Daffinity.c78 cpumask_set_cpu(cpu, &set->used); in cpu_mask_set_get_first()
360 cpumask_set_cpu(cpu, &set->used); in _dev_comp_vect_cpu_get()
540 cpumask_set_cpu(curr_cpu, dev_comp_vect_mask); in _dev_comp_vect_cpu_mask_init()
635 cpumask_set_cpu(curr_cpu, &entry->rcv_intr.mask); in hfi1_dev_affinity_init()
636 cpumask_set_cpu(curr_cpu, &entry->general_intr_mask); in hfi1_dev_affinity_init()
644 cpumask_set_cpu(curr_cpu, &entry->general_intr_mask); in hfi1_dev_affinity_init()
658 cpumask_set_cpu(curr_cpu, in hfi1_dev_affinity_init()
760 cpumask_set_cpu(cpu, &msix->mask); in hfi1_update_sdma_affinity()
771 cpumask_set_cpu(cpu, &set->mask); in hfi1_update_sdma_affinity()
772 cpumask_set_cpu(cpu, &set->used); in hfi1_update_sdma_affinity()
[all …]
/linux-6.1.9/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.1.9/arch/powerpc/kernel/
Dsmp.c528 cpumask_set_cpu(cpu, &nmi_ipi_pending_mask); in __smp_send_nmi_ipi()
724 cpumask_set_cpu(i, get_cpumask(j)); in set_cpus_related()
725 cpumask_set_cpu(j, get_cpumask(i)); in set_cpus_related()
943 cpumask_set_cpu(i, *mask); in update_mask_from_threadgroup()
1126 cpumask_set_cpu(boot_cpuid, cpu_sibling_mask(boot_cpuid)); in smp_prepare_cpus()
1127 cpumask_set_cpu(boot_cpuid, cpu_l2_cache_mask(boot_cpuid)); in smp_prepare_cpus()
1128 cpumask_set_cpu(boot_cpuid, cpu_core_mask(boot_cpuid)); in smp_prepare_cpus()
1131 cpumask_set_cpu(boot_cpuid, cpu_coregroup_mask(boot_cpuid)); in smp_prepare_cpus()
1135 cpumask_set_cpu(boot_cpuid, in smp_prepare_cpus()
1412 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.1.9/arch/s390/kernel/
Dtopology.c71 cpumask_set_cpu(cpu, &mask); in cpu_group_map()
103 cpumask_set_cpu(cpu, &mask); in cpu_thread_map()
109 cpumask_set_cpu(cpu + i, &mask); in cpu_thread_map()
141 cpumask_set_cpu(lcpu + i, &drawer->mask); in add_cpus_to_mask()
142 cpumask_set_cpu(lcpu + i, &book->mask); in add_cpus_to_mask()
143 cpumask_set_cpu(lcpu + i, &socket->mask); in add_cpus_to_mask()
571 cpumask_set_cpu(0, &cpu_setup_mask); in topology_init_early()
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/drivers/acpi/
Dprocessor_perflib.c636 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()
/linux-6.1.9/include/linux/
Dcpumask.h409 static __always_inline void cpumask_set_cpu(unsigned int cpu, struct cpumask *dstp) in cpumask_set_cpu() function
941 cpumask_set_cpu(cpu, &__cpu_possible_mask); in set_cpu_possible()
950 cpumask_set_cpu(cpu, &__cpu_present_mask); in set_cpu_present()
961 cpumask_set_cpu(cpu, &__cpu_active_mask); in set_cpu_active()
970 cpumask_set_cpu(cpu, &__cpu_dying_mask); in set_cpu_dying()
/linux-6.1.9/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.1.9/drivers/platform/x86/intel/uncore-frequency/
Duncore-frequency.c131 cpumask_set_cpu(cpu, &uncore_cpu_mask); in uncore_event_cpu_online()
160 cpumask_set_cpu(target, &uncore_cpu_mask); in uncore_event_cpu_offline()
/linux-6.1.9/kernel/irq/
Daffinity.c26 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-6.1.9/kernel/time/
Dtick-broadcast.c263 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()

1234567891011