Home
last modified time | relevance | path

Searched refs:next_cpu (Results 1 – 5 of 5) sorted by relevance

/arch/x86/platform/uv/
A Duv_time.c50 int next_cpu; member
159 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() local
213 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 …]
/arch/parisc/kernel/
A Dirq.c324 static int next_cpu = -1; in txn_alloc_addr() local
326 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()
/arch/x86/kernel/
A Dtsc_sync.c97 int next_cpu; in tsc_sync_check_timer_fn() local
102 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()
/arch/powerpc/lib/
A Dqspinlock.c687 int next_cpu = next->cpu; in queued_spin_lock_mcs_queue() local
691 if (vcpu_is_preempted(next_cpu)) in queued_spin_lock_mcs_queue()
692 prod_cpu(next_cpu); in queued_spin_lock_mcs_queue()
/arch/powerpc/mm/book3s64/
A Dhash_utils.c1287 int next_cpu; in stress_hpt_timer_fn() local
1293 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 13 milliseconds