/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | affinity.c | 74 cpu = cpumask_first(diff); in cpu_mask_set_get_first() 107 cpumask_first(&node_affinity.real_cpu_mask))); in init_real_cpu_mask() 113 curr_cpu = cpumask_first(&node_affinity.real_cpu_mask); in init_real_cpu_mask() 138 cpumask_first(&node_affinity.proc.mask) in node_affinity_init() 261 ret_cpu = cpumask_first(possible_cpumask); in per_cpu_affinity_get() 297 max_cpu = cpumask_first(possible_cpumask); in per_cpu_affinity_put_max() 350 cpu = cpumask_first(non_intr_cpus); in _dev_comp_vect_cpu_get() 352 cpu = cpumask_first(available_cpus); in _dev_comp_vect_cpu_get() 599 if (cpumask_first(local_mask) >= nr_cpu_ids) in hfi1_dev_affinity_init() 629 curr_cpu = cpumask_first(&entry->def_intr.mask); in hfi1_dev_affinity_init() [all …]
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | irq_affinity.c | 40 best_cpu = cpumask_first(cpu_online_mask); in cpu_get_least_loaded() 65 cpu_get(pool, cpumask_first(&af_desc->mask)); in irq_pool_request_irq() 164 cpu = cpumask_first(mlx5_irq_get_affinity_mask(irq)); in mlx5_irq_affinity_irq_release()
|
/linux-6.6.21/drivers/clocksource/ |
D | dw_apb_timer.c | 127 cpumask_first(evt->cpumask)); in apbt_shutdown() 141 cpumask_first(evt->cpumask)); in apbt_set_oneshot() 174 cpumask_first(evt->cpumask)); in apbt_set_periodic() 198 cpumask_first(evt->cpumask)); in apbt_resume()
|
/linux-6.6.21/arch/sparc/kernel/ |
D | time_32.c | 187 int cpu = cpumask_first(evt->cpumask); in percpu_ce_shutdown() 195 int cpu = cpumask_first(evt->cpumask); in percpu_ce_set_periodic() 204 int cpu = cpumask_first(evt->cpumask); in percpu_ce_set_next_event()
|
D | cpumap.c | 204 prev_cpu = cpu = cpumask_first(cpu_online_mask); in build_cpuinfo_tree() 391 return cpumask_first(cpu_online_mask); in simple_map_to_cpu()
|
/linux-6.6.21/drivers/cpuidle/ |
D | dt_idle_states.c | 110 for (cpu = cpumask_next(cpumask_first(cpumask), cpumask); in idle_state_valid() 168 cpu_node = of_cpu_device_node_get(cpumask_first(cpumask)); in dt_init_idle_driver()
|
/linux-6.6.21/lib/ |
D | cpumask_kunit.c | 75 KUNIT_EXPECT_LE_MSG(test, nr_cpu_ids, cpumask_first(&mask_empty), MASK_MSG(&mask_empty)); in test_cpumask_first() 76 KUNIT_EXPECT_EQ_MSG(test, 0, cpumask_first(cpu_possible_mask), MASK_MSG(cpu_possible_mask)); in test_cpumask_first()
|
/linux-6.6.21/kernel/power/ |
D | poweroff.c | 29 schedule_work_on(cpumask_first(cpu_online_mask), &poweroff_work); in handle_poweroff()
|
/linux-6.6.21/drivers/net/wireguard/ |
D | queueing.h | 112 cpu = cpumask_first(cpu_online_mask); in wg_cpumask_choose_online() 129 cpu = cpumask_first(cpu_online_mask); in wg_cpumask_next_online()
|
/linux-6.6.21/kernel/ |
D | watchdog_buddy.c | 17 next_cpu = cpumask_first(&watchdog_cpus); in watchdog_next_cpu()
|
/linux-6.6.21/kernel/irq/ |
D | ipi.c | 64 offset = cpumask_first(dest); in irq_reserve_ipi() 143 irq = irq + cpumask_first(dest) - data->common->ipi_offset; in irq_destroy_ipi()
|
/linux-6.6.21/drivers/platform/x86/intel/ifs/ |
D | runtest.c | 142 first = cpumask_first(cpu_smt_mask(cpu)); in doscan() 263 first = cpumask_first(cpu_smt_mask(cpu)); in do_array_test()
|
/linux-6.6.21/arch/x86/kernel/ |
D | tsc_sync.c | 103 next_cpu = cpumask_first(cpu_online_mask); in tsc_sync_check_timer_fn() 457 smp_call_function_single(cpumask_first(cpu_online_mask), check_tsc_sync_source, in check_tsc_sync_target()
|
/linux-6.6.21/include/linux/ |
D | cpumask.h | 160 static inline unsigned int cpumask_first(const struct cpumask *srcp) in cpumask_first() function 246 return cpumask_first(srcp); in cpumask_any_distribute() 299 return cpumask_first(mask); in cpumask_next_wrap() 749 #define cpumask_any(srcp) cpumask_first(srcp)
|
D | energy_model.h | 242 cpu = cpumask_first(to_cpumask(pd->cpus)); in em_cpu_energy()
|
/linux-6.6.21/arch/s390/kernel/ |
D | processor.c | 324 unsigned long first = cpumask_first(cpu_online_mask); in show_cpuinfo() 340 *pos = cpumask_first(cpu_online_mask); in c_update()
|
/linux-6.6.21/arch/x86/platform/uv/ |
D | uv_time.c | 294 int ced_cpu = cpumask_first(ced->cpumask); in uv_rtc_next_event() 304 int ced_cpu = cpumask_first(evt->cpumask); in uv_rtc_shutdown()
|
/linux-6.6.21/arch/ia64/kernel/ |
D | irq.c | 141 time_keeper_id = cpumask_first(cpu_online_mask); in fixup_irqs()
|
/linux-6.6.21/arch/powerpc/kernel/ |
D | rtasd.c | 437 cpu = cpumask_first(cpu_online_mask); in rtas_event_scan() 490 schedule_delayed_work_on(cpumask_first(cpu_online_mask), in start_event_scan()
|
/linux-6.6.21/arch/x86/kernel/cpu/microcode/ |
D | core.c | 408 if (cpumask_first(topology_sibling_cpumask(cpu)) == cpu) in __reload_late() 430 if (cpumask_first(topology_sibling_cpumask(cpu)) != cpu) in __reload_late()
|
/linux-6.6.21/drivers/thermal/ |
D | cpuidle_cooling.c | 202 dev = get_cpu_device(cpumask_first(drv->cpumask)); in __cpuidle_cooling_register()
|
/linux-6.6.21/drivers/thermal/intel/int340x_thermal/ |
D | processor_thermal_rapl.c | 50 lead_cpu = cpumask_first(&rp->cpumask); in rapl_mmio_cpu_down_prep()
|
/linux-6.6.21/arch/parisc/kernel/ |
D | irq.c | 107 cpu_dest = cpumask_first(cpu_online_mask); in cpu_check_affinity() 518 int cpu = cpumask_first(&dest); in do_cpu_irq_mask()
|
/linux-6.6.21/drivers/devfreq/ |
D | governor_passive.c | 30 if (parent_cpu_data->first_cpu == cpumask_first(policy->related_cpus)) in get_parent_cpu_data() 311 parent_cpu_data->first_cpu = cpumask_first(policy->related_cpus); in cpufreq_passive_register_notifier()
|
/linux-6.6.21/drivers/irqchip/ |
D | irq-ls-scfg-msi.c | 97 msg->data |= cpumask_first(mask); in ls_scfg_msi_compose_msg() 115 cpu = cpumask_first(mask); in ls_scfg_msi_set_affinity()
|