Searched refs:next_cpu (Results 1 – 5 of 5) sorted by relevance
50 int next_cpu; member159 head->next_cpu = -1; in uv_rtc_allocate_timers()176 head->next_cpu = -1; in uv_rtc_find_next_timer()185 head->next_cpu = bcpu; in uv_rtc_find_next_timer()209 int next_cpu; in uv_rtc_set_timer() local213 next_cpu = head->next_cpu; in uv_rtc_set_timer()217 if (next_cpu < 0 || bcpu == next_cpu || in uv_rtc_set_timer()218 expires < head->cpu[next_cpu].expires) { in uv_rtc_set_timer()219 head->next_cpu = bcpu; in uv_rtc_set_timer()249 if ((head->next_cpu == bcpu && uv_read_rtc(NULL) >= *t) || force) in uv_rtc_unset_timer()[all …]
324 static int next_cpu = -1; in txn_alloc_addr() local326 next_cpu++; /* assign to "next" CPU we want this bugger on */ in txn_alloc_addr()329 while ((next_cpu < nr_cpu_ids) && in txn_alloc_addr()330 (!per_cpu(cpu_data, next_cpu).txn_addr || in txn_alloc_addr()331 !cpu_online(next_cpu))) in txn_alloc_addr()332 next_cpu++; in txn_alloc_addr()334 if (next_cpu >= nr_cpu_ids) in txn_alloc_addr()335 next_cpu = 0; /* nothing else, assign monarch */ in txn_alloc_addr()337 return txn_affinity_addr(virt_irq, next_cpu); in txn_alloc_addr()
97 int next_cpu; in tsc_sync_check_timer_fn() local102 next_cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); in tsc_sync_check_timer_fn()103 if (next_cpu >= nr_cpu_ids) in tsc_sync_check_timer_fn()104 next_cpu = cpumask_first(cpu_online_mask); in tsc_sync_check_timer_fn()107 add_timer_on(&tsc_sync_check_timer, next_cpu); in tsc_sync_check_timer_fn()
687 int next_cpu = next->cpu; in queued_spin_lock_mcs_queue() local691 if (vcpu_is_preempted(next_cpu)) in queued_spin_lock_mcs_queue()692 prod_cpu(next_cpu); in queued_spin_lock_mcs_queue()
1287 int next_cpu; in stress_hpt_timer_fn() local1293 next_cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); in stress_hpt_timer_fn()1294 if (next_cpu >= nr_cpu_ids) in stress_hpt_timer_fn()1295 next_cpu = cpumask_first(cpu_online_mask); in stress_hpt_timer_fn()1297 add_timer_on(&stress_hpt_timer, next_cpu); in stress_hpt_timer_fn()
Completed in 15 milliseconds