Home
last modified time | relevance | path

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

/arch/x86/platform/uv/
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/
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/
Dtsc_sync.c96 int next_cpu; in tsc_sync_check_timer_fn() local
101 next_cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); in tsc_sync_check_timer_fn()
102 if (next_cpu >= nr_cpu_ids) in tsc_sync_check_timer_fn()
103 next_cpu = cpumask_first(cpu_online_mask); in tsc_sync_check_timer_fn()
106 add_timer_on(&tsc_sync_check_timer, next_cpu); in tsc_sync_check_timer_fn()
/arch/powerpc/lib/
Dqspinlock.c705 int next_cpu = next->cpu; in queued_spin_lock_mcs_queue() local
709 if (vcpu_is_preempted(next_cpu)) in queued_spin_lock_mcs_queue()
710 prod_cpu(next_cpu); in queued_spin_lock_mcs_queue()
/arch/powerpc/mm/book3s64/
Dhash_utils.c1017 int next_cpu; in stress_hpt_timer_fn() local
1023 next_cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); in stress_hpt_timer_fn()
1024 if (next_cpu >= nr_cpu_ids) in stress_hpt_timer_fn()
1025 next_cpu = cpumask_first(cpu_online_mask); in stress_hpt_timer_fn()
1027 add_timer_on(&stress_hpt_timer, next_cpu); in stress_hpt_timer_fn()