Home
last modified time | relevance | path

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

/xen/xen/arch/x86/cpu/microcode/
A Dcore.c377 unsigned int primary = cpumask_first(this_cpu(cpu_sibling_mask)); in microcode_nmi_callback()
389 if ( cpu == cpumask_first(&cpu_online_map) || in microcode_nmi_callback()
419 per_cpu(cpu_sig, cpumask_first(this_cpu(cpu_sibling_mask))).rev; in secondary_thread_fn()
542 if ( cpu == cpumask_first(&cpu_online_map) ) in do_microcode_update()
544 else if ( cpu == cpumask_first(this_cpu(cpu_sibling_mask)) ) in do_microcode_update()
576 if ( unlikely(cpumask_first(&cpu_online_map) != nmi_cpu) ) in microcode_update_helper()
581 nmi_cpu, cpumask_first(&cpu_online_map)); in microcode_update_helper()
628 if ( cpu == cpumask_first(per_cpu(cpu_sibling_mask, cpu)) ) in microcode_update_helper()
/xen/xen/include/xen/
A Dcpumask.h209 static inline int cpumask_first(const cpumask_t *srcp) in cpumask_first() function
228 for (cpu = cpumask_first(srcp); in cpumask_last()
240 nxt = cpumask_first(srcp); in cpumask_cycle()
254 unsigned int cpu = cpumask_first(srcp); in cpumask_any()
373 for ((cpu) = cpumask_first(mask); \
/xen/xen/common/
A Dcore_parking.c97 cpu = cpumask_first(&sibling_candidate_map); in core_parking_performance()
155 cpu = cpumask_first(&sibling_candidate_map); in core_parking_power()
A Dpage_alloc.c1947 cpu = cpumask_first(per_cpu(cpu_sibling_mask, i)); in find_non_smt()
/xen/xen/arch/x86/genapic/
A Dx2apic.c146 cluster_cpus = per_cpu(cluster_cpus, cpumask_first(ipimask)); in send_IPI_mask_x2apic_cluster()
/xen/xen/drivers/cpufreq/
A Dcpufreq.c209 firstcpu = cpumask_first(cpufreq_dom->map); in cpufreq_add_cpu()
253 firstcpu = cpumask_first(cpufreq_dom->map); in cpufreq_add_cpu()
/xen/xen/common/sched/
A Dcpupool.c389 ret = schedule_cpu_add(cpumask_first(cpus), c); in cpupool_assign_cpu_locked()
571 work_cpu = cpumask_first(cpupool0->cpu_valid); in cpupool_unassign_cpu()
A Darinc653.c620 cpu = cpumask_first(online); in a653sched_pick_resource()
A Dprivate.h149 unsigned int cpu = cpumask_first(res->cpus); in sched_set_res()
A Dcredit.c553 prv->master = cpumask_first(prv->cpus); in csched_deinit_pdata()
560 prv->balance_bias[node] = cpumask_first(cpumask_scratch); in csched_deinit_pdata()
A Dcredit2.c759 return cpumask_first(cpumask_scratch_cpu(cpu)); in get_fallback_cpu()
789 cpu = cpumask_first(cpumask_scratch_cpu(cpu)); in get_fallback_cpu()
4055 rqd->pick_bias = cpumask_first(&rqd->active); in csched2_deinit_pdata()
A Dnull.c306 new_cpu = cpumask_first(cpumask_scratch_cpu(cpu)); in pick_res()
A Dcore.c520 cpu_ret = cpumask_first(cpus); in sched_select_initial_cpu()
681 new_p = cpumask_first(c->cpu_valid); in sched_move_domain()
/xen/xen/arch/x86/
A Dnuma.c395 j = cpumask_first(&cpu_online_map); in dump_numa()
A Dsmpboot.c305 if ( cpumask_first(per_cpu(cpu_sibling_mask, i)) == i ) in set_cpu_sibling_map()
538 cpu = cpumask_first(&tmp_map); in alloc_cpu_id()
A Dhpet.c519 else if ( (next = cpumask_first(ch->cpumask)) >= nr_cpu_ids ) in hpet_detach_channel()
/xen/xen/arch/x86/oprofile/
A Dop_model_p4.c381 return (cpu != cpumask_first(per_cpu(cpu_sibling_mask, cpu))); in get_stagger()
/xen/xen/arch/x86/acpi/cpufreq/
A Dcpufreq.c206 cpu = cpumask_first(mask); in get_cur_val()
/xen/xen/arch/x86/cpu/mcheck/
A Dmce.c1647 if ( nr_cpu_ids > cpumask_next(cpumask_first(cpumap), cpumap) ) in do_mca()

Completed in 64 milliseconds