Searched refs:next_cpu (Results 1 – 2 of 2) sorted by relevance
49 int next_cpu; member169 head->next_cpu = -1; in uv_rtc_allocate_timers()186 head->next_cpu = -1; in uv_rtc_find_next_timer()195 head->next_cpu = bcpu; in uv_rtc_find_next_timer()219 int next_cpu; in uv_rtc_set_timer() local223 next_cpu = head->next_cpu; in uv_rtc_set_timer()227 if (next_cpu < 0 || bcpu == next_cpu || in uv_rtc_set_timer()228 expires < head->cpu[next_cpu].expires) { in uv_rtc_set_timer()229 head->next_cpu = bcpu; in uv_rtc_set_timer()259 if ((head->next_cpu == bcpu && uv_read_rtc(NULL) >= *t) || force) in uv_rtc_unset_timer()[all …]
347 static int next_cpu = -1; in txn_alloc_addr() local349 next_cpu++; /* assign to "next" CPU we want this bugger on */ in txn_alloc_addr()352 while ((next_cpu < nr_cpu_ids) && in txn_alloc_addr()353 (!per_cpu(cpu_data, next_cpu).txn_addr || in txn_alloc_addr()354 !cpu_online(next_cpu))) in txn_alloc_addr()355 next_cpu++; in txn_alloc_addr()357 if (next_cpu >= nr_cpu_ids) in txn_alloc_addr()358 next_cpu = 0; /* nothing else, assign monarch */ in txn_alloc_addr()360 return txn_affinity_addr(virt_irq, next_cpu); in txn_alloc_addr()