Searched refs:new_cpu (Results 1 – 12 of 12) sorted by relevance
/xen/xen/common/ |
A D | timer.c | 358 void migrate_timer(struct timer *timer, unsigned int new_cpu) in migrate_timer() argument 375 if ( old_cpu < new_cpu ) in migrate_timer() 378 spin_lock(&per_cpu(timers, new_cpu).lock); in migrate_timer() 400 write_atomic(&timer->cpu, new_cpu); in migrate_timer() 575 unsigned int new_cpu = cpumask_any(&cpu_online_map); in migrate_timers_from_cpu() local 580 ASSERT(!cpu_online(old_cpu) && cpu_online(new_cpu)); in migrate_timers_from_cpu() 583 new_ts = &per_cpu(timers, new_cpu); in migrate_timers_from_cpu() 585 if ( old_cpu < new_cpu ) in migrate_timers_from_cpu() 600 write_atomic(&t->cpu, new_cpu); in migrate_timers_from_cpu() 608 write_atomic(&t->cpu, new_cpu); in migrate_timers_from_cpu() [all …]
|
/xen/xen/common/sched/ |
A D | null.c | 299 new_cpu = cpu; in pick_res() 308 if ( likely(new_cpu != nr_cpu_ids) ) in pick_res() 331 uint32_t new_cpu; in pick_res() member 335 d.new_cpu = new_cpu; in pick_res() 339 return get_sched_res(new_cpu); in pick_res() 686 if ( sched_unit_master(unit) == new_cpu ) in null_unit_migrate() 693 uint16_t cpu, new_cpu; in null_unit_migrate() member 698 d.new_cpu = new_cpu; in null_unit_migrate() 741 npc = get_sched_res(new_cpu)->sched_priv; in null_unit_migrate() 750 unit_assign(prv, unit, new_cpu); in null_unit_migrate() [all …]
|
A D | credit2.c | 2372 new_cpu = get_fallback_cpu(svc); in csched2_res_pick() 2408 svc->migrate_rqd->pick_bias = new_cpu; in csched2_res_pick() 2525 new_cpu = get_fallback_cpu(svc); in csched2_res_pick() 2526 min_rqd = c2rqd(new_cpu); in csched2_res_pick() 2532 min_rqd->pick_bias = new_cpu; in csched2_res_pick() 2533 BUG_ON(new_cpu >= nr_cpu_ids); in csched2_res_pick() 2543 unsigned rq_id:16, new_cpu:16; in csched2_res_pick() member 2549 d.new_cpu = new_cpu; in csched2_res_pick() 2555 return get_sched_res(new_cpu); in csched2_res_pick() 2881 trqd = c2rqd(new_cpu); in csched2_unit_migrate() [all …]
|
A D | core.c | 924 unsigned int new_cpu) in sched_unit_move_locked() argument 938 if ( unlikely(v->is_urgent) && (old_cpu != new_cpu) ) in sched_unit_move_locked() 940 atomic_inc(&per_cpu(sched_urgent_count, new_cpu)); in sched_unit_move_locked() 949 sched_migrate(unit_scheduler(unit), unit, new_cpu); in sched_unit_move_locked() 995 unsigned int old_cpu, new_cpu; in sched_unit_migrate_finish() local 1011 old_cpu = new_cpu = unit->res->master_cpu; in sched_unit_migrate_finish() 1020 new_lock = get_sched_res(new_cpu)->schedule_lock; in sched_unit_migrate_finish() 1033 cpumask_test_cpu(new_cpu, unit->cpu_hard_affinity) && in sched_unit_migrate_finish() 1038 new_cpu = sched_pick_resource(unit_scheduler(unit), in sched_unit_migrate_finish() 1076 sched_unit_move_locked(unit, new_cpu); in sched_unit_migrate_finish() [all …]
|
A D | rt.c | 764 unsigned int new_cpu = cpumask_cycle(cpu, online); in rt_deinit_pdata() local 771 if ( new_cpu >= nr_cpu_ids ) in rt_deinit_pdata() 778 migrate_timer(&prv->repl_timer, new_cpu); in rt_deinit_pdata()
|
A D | credit.c | 959 unsigned int new_cpu; in csched_unit_acct() local 968 new_cpu = _csched_cpu_pick(ops, currunit, false); in csched_unit_acct() 972 if ( new_cpu != cpu ) in csched_unit_acct()
|
/xen/xen/include/xen/ |
A D | timer.h | 92 void migrate_timer(struct timer *timer, unsigned int new_cpu);
|
/xen/xen/arch/arm/vgic/ |
A D | vgic.c | 505 struct vgic_cpu *new_cpu = &target_vcpu->arch.vgic; in vgic_prune_ap_list() local 509 list_add_tail(&irq->ap_list, &new_cpu->ap_list_head); in vgic_prune_ap_list()
|
/xen/xen/arch/x86/ |
A D | irq.c | 560 int new_cpu; in _assign_irq_vector() local 592 for_each_cpu(new_cpu, vec_mask) in _assign_irq_vector() 593 if (per_cpu(vector_irq, new_cpu)[vector] >= 0) in _assign_irq_vector() 613 for_each_cpu(new_cpu, vec_mask) in _assign_irq_vector() 614 per_cpu(vector_irq, new_cpu)[vector] = irq; in _assign_irq_vector()
|
/xen/tools/xentrace/ |
A D | formats | 69 …ick_cpu [ b_avgload = 0x%(2)08x%(1)08x, dom:vcpu = 0x%(3)08x, rq_id[16]:new_cpu[16] = %(4)d ] 82 0x00022A01 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) null:pick_cpu [ dom:vcpu = 0x%(1)08x, new_cpu … 85 0x00022A04 CPU%(cpu)d %(tsc)d (+%(reltsc)8d) null:migrate [ dom:vcpu = 0x%(1)08x, new_cpu:…
|
A D | xenalyze.c | 7976 uint32_t new_cpu; in sched_process() member 7980 ri->dump_header, r->domid, r->vcpuid, r->new_cpu); in sched_process() 8009 uint16_t cpu, new_cpu; in sched_process() member 8014 r->cpu, r->new_cpu); in sched_process()
|
/xen/xen/arch/x86/hvm/vmx/ |
A D | vmx.c | 207 unsigned int new_cpu, dest; in vmx_pi_desc_fixup() local 251 new_cpu = cpumask_any(&cpu_online_map); in vmx_pi_desc_fixup() 252 new_lock = &per_cpu(vmx_pi_blocking, new_cpu).lock; in vmx_pi_desc_fixup() 258 dest = cpu_physical_id(new_cpu); in vmx_pi_desc_fixup() 263 &per_cpu(vmx_pi_blocking, new_cpu).list); in vmx_pi_desc_fixup()
|
Completed in 64 milliseconds