Home
last modified time | relevance | path

Searched refs:cpumask_first (Results 1 – 25 of 136) sorted by relevance

123456

/linux-5.19.10/drivers/infiniband/hw/hfi1/
Daffinity.c74 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-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Dirq_affinity.c40 best_cpu = cpumask_first(cpu_online_mask); in cpu_get_least_loaded()
67 cpu_get(pool, cpumask_first(req_mask)); in irq_pool_request_irq()
168 int cpu = cpumask_first(mlx5_irq_get_affinity_mask(irqs[i])); in mlx5_irq_affinity_irqs_release()
216 cpumask_clear_cpu(cpumask_first(mlx5_irq_get_affinity_mask(irq)), req_mask); in mlx5_irq_affinity_irqs_request_auto()
/linux-5.19.10/drivers/clocksource/
Ddw_apb_timer.c127 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-5.19.10/arch/sparc/kernel/
Dtime_32.c188 int cpu = cpumask_first(evt->cpumask); in percpu_ce_shutdown()
196 int cpu = cpumask_first(evt->cpumask); in percpu_ce_set_periodic()
205 int cpu = cpumask_first(evt->cpumask); in percpu_ce_set_next_event()
Dcpumap.c204 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-5.19.10/drivers/cpuidle/
Ddt_idle_states.c111 for (cpu = cpumask_next(cpumask_first(cpumask), cpumask); in idle_state_valid()
169 cpu_node = of_cpu_device_node_get(cpumask_first(cpumask)); in dt_init_idle_driver()
/linux-5.19.10/kernel/power/
Dpoweroff.c29 schedule_work_on(cpumask_first(cpu_online_mask), &poweroff_work); in handle_poweroff()
/linux-5.19.10/include/linux/
Dcpumask.h121 static inline unsigned int cpumask_first(const struct cpumask *srcp) in cpumask_first() function
186 return cpumask_first(srcp); in cpumask_any_distribute()
204 static inline unsigned int cpumask_first(const struct cpumask *srcp) in cpumask_first() function
621 #define cpumask_any(srcp) cpumask_first(srcp)
Denergy_model.h242 cpu = cpumask_first(to_cpumask(pd->cpus)); in em_cpu_energy()
/linux-5.19.10/kernel/irq/
Dipi.c64 offset = cpumask_first(dest); in irq_reserve_ipi()
142 irq = irq + cpumask_first(dest) - data->common->ipi_offset; in irq_destroy_ipi()
/linux-5.19.10/block/
Dblk-mq-cpumap.c28 ret = cpumask_first(topology_sibling_cpumask(cpu)); in get_first_sibling()
/linux-5.19.10/arch/s390/kernel/
Dprocessor.c334 unsigned long first = cpumask_first(cpu_online_mask); in show_cpuinfo()
350 *pos = cpumask_first(cpu_online_mask); in c_update()
/linux-5.19.10/arch/x86/platform/uv/
Duv_time.c294 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-5.19.10/arch/ia64/kernel/
Dirq.c141 time_keeper_id = cpumask_first(cpu_online_mask); in fixup_irqs()
/linux-5.19.10/arch/powerpc/kernel/
Drtasd.c436 cpu = cpumask_first(cpu_online_mask); in rtas_event_scan()
489 schedule_delayed_work_on(cpumask_first(cpu_online_mask), in start_event_scan()
Dcacheinfo.c466 return cpumask_first(per_cpu(thread_group_l1_cache_map, in get_group_id()
469 return cpumask_first(per_cpu(thread_group_l2_cache_map, in get_group_id()
472 return cpumask_first(per_cpu(thread_group_l3_cache_map, in get_group_id()
/linux-5.19.10/kernel/sched/
Dtopology.c314 cpumask_first(perf_domain_span(pd)), in perf_domain_debug()
376 int cpu = cpumask_first(cpu_map); in build_perf_domains()
682 id = cpumask_first(sched_domain_span(sd)); in update_top_cache_domain()
788 return cpumask_first(group_balance_mask(sg)); in group_balance_cpu()
967 cpu = cpumask_first(mask); in init_overlap_sched_group()
1185 cpu = cpumask_first(sched_domain_span(child)); in get_group()
1597 sd_id = cpumask_first(sd_span); in sd_init()
2606 cpu_rq(cpumask_first(doms_cur[j]))->rd->pd) { in partition_sched_domains_locked()
/linux-5.19.10/drivers/thermal/
Dcpuidle_cooling.c201 dev = get_cpu_device(cpumask_first(drv->cpumask)); in __cpuidle_cooling_register()
/linux-5.19.10/drivers/thermal/intel/int340x_thermal/
Dprocessor_thermal_rapl.c50 lead_cpu = cpumask_first(&rp->cpumask); in rapl_mmio_cpu_down_prep()
/linux-5.19.10/Documentation/translations/zh_CN/power/
Denergy-model.rst178 29 cpu_dev = get_cpu_device(cpumask_first(policy->cpus));
/linux-5.19.10/drivers/devfreq/
Dgovernor_passive.c30 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-5.19.10/arch/parisc/kernel/
Dirq.c110 cpu_dest = cpumask_first(cpu_online_mask); in cpu_check_affinity()
519 int cpu = cpumask_first(&dest); in do_cpu_irq_mask()
/linux-5.19.10/drivers/irqchip/
Dirq-ls-scfg-msi.c97 msg->data |= cpumask_first(mask); in ls_scfg_msi_compose_msg()
115 cpu = cpumask_first(mask); in ls_scfg_msi_set_affinity()
/linux-5.19.10/kernel/time/
Dclocksource.c294 cpu = cpumask_first(cpu_online_mask); in clocksource_verify_choose_cpus()
316 cpu = cpumask_first(cpu_online_mask); in clocksource_verify_choose_cpus()
508 next_cpu = cpumask_first(cpu_online_mask); in clocksource_watchdog()
528 add_timer_on(&watchdog_timer, cpumask_first(cpu_online_mask)); in clocksource_start_watchdog()
/linux-5.19.10/lib/
Dcpumask.c274 next = cpumask_first(srcp); in cpumask_any_distribute()

123456