/xen/xen/include/xen/ |
A D | cpumask.h | 117 static inline bool cpumask_test_cpu(unsigned int cpu, const cpumask_t *src) in cpumask_test_cpu() function 246 if ( cpumask_test_cpu(n, srcp) ) in cpumask_test_or_cycle() 445 #define cpu_online(cpu) cpumask_test_cpu(cpu, &cpu_online_map) 446 #define cpu_possible(cpu) cpumask_test_cpu(cpu, &cpu_possible_map) 447 #define cpu_present(cpu) cpumask_test_cpu(cpu, &cpu_present_map)
|
/xen/xen/arch/x86/genapic/ |
A D | x2apic.c | 50 ASSERT(cpumask_test_cpu(this_cpu, per_cpu(cluster_cpus, this_cpu))); in init_apic_ldr_x2apic_cluster() 84 if ( cpumask_test_cpu(cpu, cpumask) ) in cpu_mask_to_apicid_x2apic_cluster() 149 if ( !cpumask_test_cpu(cpu, ipimask) ) in send_IPI_mask_x2apic_cluster()
|
/xen/xen/common/sched/ |
A D | credit.c | 381 cpumask_test_cpu(cpu, &idle_mask)) ) in __runq_tickle() 522 ASSERT(!cpumask_test_cpu(cpu, prv->cpus)); in csched_free_pdata() 543 ASSERT(spc && cpumask_test_cpu(cpu, prv->cpus)); in csched_deinit_pdata() 707 cpumask_test_cpu(dest_cpu, mask); in __csched_unit_is_migrateable() 747 cpu = cpumask_test_cpu(sched_unit_master(unit), cpus) in _csched_cpu_pick() 750 ASSERT(cpumask_test_cpu(cpu, cpus)); in _csched_cpu_pick() 838 if ( cpumask_test_cpu(cpu, &idlers) ) in _csched_cpu_pick() 1684 if ( unlikely(!cpumask_test_cpu(cpu, online)) ) in csched_load_balance() 1777 speer = cpumask_test_cpu(peer_cpu, online) ? in csched_load_balance() 1970 if ( !cpumask_test_cpu(sched_cpu, prv->idlers) ) in csched_schedule() [all …]
|
A D | credit2.c | 1625 cpumask_test_cpu(cpu, &rqd->idle) && in runq_tickle() 1626 !cpumask_test_cpu(cpu, &rqd->tickled)) ) in runq_tickle() 3558 BUG_ON(!cpumask_test_cpu(sched_cpu, &rqd->active)); in csched2_schedule() 3565 tickled = cpumask_test_cpu(sched_cpu, &rqd->tickled); in csched2_schedule() 3651 if ( cpumask_test_cpu(sched_cpu, &rqd->idle) ) in csched2_schedule() 3701 if ( cpumask_test_cpu(sched_cpu, &rqd->idle) ) in csched2_schedule() 3707 else if ( !cpumask_test_cpu(sched_cpu, &rqd->idle) ) in csched2_schedule() 3931 if ( cpumask_test_cpu(rcpu, &rqd->active) ) in init_cpu_runqueue() 3957 ASSERT(!cpumask_test_cpu(cpu, &prv->initialized)); in init_pdata() 4026 ASSERT(cpumask_test_cpu(cpu, &prv->initialized)); in csched2_deinit_pdata() [all …]
|
A D | cpupool.c | 476 if ( ((cpupool_moving_cpu != -1) || !cpumask_test_cpu(cpu, c->cpu_valid)) in cpupool_unassign_cpu_start() 676 if ( !cpumask_test_cpu(cpu, &cpupool_free_cpus) ) in cpupool_cpu_remove() 712 if ( cpumask_test_cpu(master_cpu, cpupool0->cpu_valid) ) in cpupool_cpu_remove_prologue() 719 else if ( !cpumask_test_cpu(master_cpu, &cpupool_free_cpus) ) in cpupool_cpu_remove_prologue() 740 if ( cpumask_test_cpu(master_cpu, (*c)->cpu_valid) ) in cpupool_cpu_remove_forced()
|
A D | null.c | 130 return cpumask_test_cpu(cpu, cpumask_scratch_cpu(cpu)); in unit_check_affinity() 297 && cpumask_test_cpu(cpu, cpumask_scratch_cpu(cpu))) ) in pick_res() 378 ASSERT(!cpumask_test_cpu(cpu, &prv->cpus_free)); in unit_deassign() 921 !cpumask_test_cpu(sched_cpu, &prv->cpus_free) ) in null_schedule()
|
A D | core.c | 1033 cpumask_test_cpu(new_cpu, unit->cpu_hard_affinity) && in sched_unit_migrate_finish() 1034 cpumask_test_cpu(new_cpu, unit->domain->cpupool->cpu_valid) ) in sched_unit_migrate_finish() 1041 cpumask_test_cpu(new_cpu, unit->domain->cpupool->cpu_valid) ) in sched_unit_migrate_finish() 1204 cpumask_test_cpu(cpu, unit->cpu_hard_affinity) ) in cpu_disable_scheduler() 1586 else if ( cpumask_test_cpu(cpu, VCPU2ONLINE(v)) ) in vcpu_temporary_affinity() 1599 migrate = !ret && !cpumask_test_cpu(v->processor, unit->cpu_hard_affinity); in vcpu_temporary_affinity() 2993 ASSERT(cpumask_test_cpu(cpu, &cpupool_free_cpus)); in schedule_cpu_add() 2994 ASSERT(!cpumask_test_cpu(cpu, c->cpu_valid)); in schedule_cpu_add() 3160 ASSERT(cpumask_test_cpu(cpu, &cpupool_free_cpus)); in schedule_cpu_rm() 3161 ASSERT(!cpumask_test_cpu(cpu, sr->cpupool->cpu_valid)); in schedule_cpu_rm()
|
A D | rt.c | 649 cpu = cpumask_test_cpu(sched_unit_master(unit), cpus) in rt_res_pick_locked() 652 ASSERT( !cpumask_empty(cpus) && cpumask_test_cpu(cpu, cpus) ); in rt_res_pick_locked() 1063 d.tickled = cpumask_test_cpu(sched_cpu, &prv->tickled); in rt_schedule()
|
A D | arinc653.c | 622 if ( cpumask_test_cpu(sched_unit_master(unit), online) in a653sched_pick_resource()
|
/xen/xen/arch/arm/ |
A D | smp.c | 27 if ( cpumask_test_cpu(smp_processor_id(), mask) ) in smp_send_call_function_mask()
|
/xen/xen/arch/x86/ |
A D | smp.c | 266 cpumask_test_cpu(cpu, mask) ) in flush_area_mask() 314 if ( cpumask_test_cpu(smp_processor_id(), mask) ) in smp_send_call_function_mask()
|
A D | smpboot.c | 133 !cpumask_test_cpu(slave, &tsc_sync_cpu_mask) ) in synchronize_tsc_master() 157 !cpumask_test_cpu(slave, &tsc_sync_cpu_mask) ) in synchronize_tsc_slave()
|
A D | irq.c | 588 if ( cpumask_test_cpu(0, vec_mask) && in _assign_irq_vector() 687 else if ( !cpumask_test_cpu(cpu, desc->arch.cpu_mask) ) in setup_vector_irq() 767 cpumask_test_cpu(me, desc->arch.cpu_mask) ) in irq_move_cleanup_interrupt() 832 cpumask_test_cpu(me, desc->arch.cpu_mask) ) in irq_complete_move()
|
A D | time.c | 185 if ( cpumask_test_cpu(cpu, &mask) ) in smp_send_timer_broadcast_ipi() 1628 while ( !cpumask_test_cpu(cpu, &tsc_check_cpumask) ) in tsc_check_slave()
|
A D | traps.c | 661 if ( !cpumask_test_cpu(cpu, &show_state_mask) ) in nmi_show_execution_state()
|
/xen/xen/common/ |
A D | smp.c | 85 if ( !cpumask_test_cpu(cpu, &call_data.selected) ) in smp_call_function_interrupt()
|
A D | rcupdate.c | 700 ASSERT(!cpumask_test_cpu(cpu, &rcu_ctrlblk.idle_cpumask)); in rcu_idle_enter() 718 ASSERT(cpumask_test_cpu(cpu, &rcu_ctrlblk.idle_cpumask)); in rcu_idle_exit()
|
A D | keyhandler.c | 194 while ( cpumask_test_cpu(cpu, &dump_execstate_mask) ) in dump_registers() 362 while ( !cpumask_test_cpu(cpu, &read_clocks_cpumask) ) in read_clocks_slave()
|
A D | cpu.c | 222 : !cpumask_test_cpu(cpu, &frozen_cpus) ) in enable_nonboot_cpus()
|
A D | trace.c | 330 if ( !cpumask_test_cpu(smp_processor_id(), &tb_cpu_mask) ) in trace_will_trace_event() 718 if ( !cpumask_test_cpu(smp_processor_id(), &tb_cpu_mask) ) in __trace_var()
|
/xen/xen/arch/x86/acpi/cpufreq/ |
A D | cpufreq.c | 181 if (likely(cpumask_test_cpu(smp_processor_id(), cmd->mask))) in drv_read() 205 if (!cpumask_test_cpu(cpu, mask)) in get_cur_val()
|
A D | powernow.c | 80 if (!cpumask_test_cpu(cpuid, &cpu_online_map)) in powernow_cpufreq_update()
|
/xen/xen/arch/x86/acpi/ |
A D | cpu_idle.c | 443 return !!cpumask_test_cpu(cpu, &cpuidle_mwait_flags); in arch_skip_send_event_check()
|
/xen/xen/arch/x86/cpu/mcheck/ |
A D | mce.c | 1629 if ( cpumask_test_cpu(smp_processor_id(), cpumap) ) in do_mca()
|
/xen/xen/arch/x86/hvm/vmx/ |
A D | vmx.c | 4440 if ( cpumask_test_cpu(cpu, ept->invalidate) ) in vmx_vmenter_helper() 4459 if ( cpumask_test_cpu(cpu, ept->invalidate) ) in vmx_vmenter_helper()
|