/Linux-v4.19/arch/x86/platform/uv/ |
D | uv_time.c | 62 int next_cpu; member 182 head->next_cpu = -1; in uv_rtc_allocate_timers() 199 head->next_cpu = -1; in uv_rtc_find_next_timer() 208 head->next_cpu = bcpu; in uv_rtc_find_next_timer() 232 int next_cpu; in uv_rtc_set_timer() local 236 next_cpu = head->next_cpu; in uv_rtc_set_timer() 240 if (next_cpu < 0 || bcpu == next_cpu || in uv_rtc_set_timer() 241 expires < head->cpu[next_cpu].expires) { in uv_rtc_set_timer() 242 head->next_cpu = bcpu; in uv_rtc_set_timer() 272 if ((head->next_cpu == bcpu && uv_read_rtc(NULL) >= *t) || force) in uv_rtc_unset_timer() [all …]
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_lru_map.c | 102 int next_cpu = 0; in test_lru_sanity0() local 107 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity0() 192 int next_cpu = 0; in test_lru_sanity1() local 201 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity1() 269 int next_cpu = 0; in test_lru_sanity2() local 278 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity2() 375 int next_cpu = 0; in test_lru_sanity3() local 384 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity3() 438 int next_cpu = 0; in test_lru_sanity4() local 443 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity4() [all …]
|
/Linux-v4.19/drivers/soc/fsl/dpio/ |
D | dpio-driver.c | 92 static int next_cpu = -1; in dpaa2_dpio_probe() local 134 if (next_cpu == -1) in dpaa2_dpio_probe() 135 next_cpu = cpumask_first(cpu_online_mask); in dpaa2_dpio_probe() 137 next_cpu = cpumask_next(next_cpu, cpu_online_mask); in dpaa2_dpio_probe() 139 if (!cpu_possible(next_cpu)) { in dpaa2_dpio_probe() 144 desc.cpu = next_cpu; in dpaa2_dpio_probe()
|
/Linux-v4.19/kernel/trace/ |
D | trace_hwlat.c | 271 int next_cpu; in move_to_next_cpu() local 285 next_cpu = cpumask_next(smp_processor_id(), current_mask); in move_to_next_cpu() 288 if (next_cpu >= nr_cpu_ids) in move_to_next_cpu() 289 next_cpu = cpumask_first(current_mask); in move_to_next_cpu() 291 if (next_cpu >= nr_cpu_ids) /* Shouldn't happen! */ in move_to_next_cpu() 295 cpumask_set_cpu(next_cpu, current_mask); in move_to_next_cpu() 353 int next_cpu; in start_kthread() local 363 next_cpu = cpumask_first(current_mask); in start_kthread() 372 cpumask_set_cpu(next_cpu, current_mask); in start_kthread()
|
D | trace_entries.h | 122 __field( unsigned int, next_cpu ) \ 139 __entry->next_cpu), 159 __entry->next_cpu),
|
D | trace_output.c | 934 field->next_cpu, in trace_ctxwake_print() 968 field->next_cpu, in trace_ctxwake_raw() 1004 SEQ_PUT_HEX_FIELD(s, field->next_cpu); in trace_ctxwake_hex() 1035 SEQ_PUT_FIELD(s, field->next_cpu); in trace_ctxwake_bin()
|
D | trace_sched_wakeup.c | 405 entry->next_cpu = task_cpu(next); in tracing_sched_switch_trace() 433 entry->next_cpu = task_cpu(wakee); in tracing_sched_wakeup_trace()
|
D | trace.c | 3103 int next_cpu = -1; in __find_next_entry() local 3133 next_cpu = cpu; in __find_next_entry() 3143 *ent_cpu = next_cpu; in __find_next_entry()
|
/Linux-v4.19/arch/parisc/kernel/ |
D | irq.c | 351 static int next_cpu = -1; in txn_alloc_addr() local 353 next_cpu++; /* assign to "next" CPU we want this bugger on */ in txn_alloc_addr() 356 while ((next_cpu < nr_cpu_ids) && in txn_alloc_addr() 357 (!per_cpu(cpu_data, next_cpu).txn_addr || in txn_alloc_addr() 358 !cpu_online(next_cpu))) in txn_alloc_addr() 359 next_cpu++; in txn_alloc_addr() 361 if (next_cpu >= nr_cpu_ids) in txn_alloc_addr() 362 next_cpu = 0; /* nothing else, assign monarch */ in txn_alloc_addr() 364 return txn_affinity_addr(virt_irq, next_cpu); in txn_alloc_addr()
|
/Linux-v4.19/kernel/ |
D | smp.c | 407 int cpu, next_cpu, this_cpu = smp_processor_id(); in smp_call_function_many() local 428 next_cpu = cpumask_next_and(cpu, mask, cpu_online_mask); in smp_call_function_many() 429 if (next_cpu == this_cpu) in smp_call_function_many() 430 next_cpu = cpumask_next_and(next_cpu, mask, cpu_online_mask); in smp_call_function_many() 433 if (next_cpu >= nr_cpu_ids) { in smp_call_function_many()
|
/Linux-v4.19/kernel/time/ |
D | clocksource.c | 210 int next_cpu, reset_pending; in clocksource_watchdog() local 311 next_cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); in clocksource_watchdog() 312 if (next_cpu >= nr_cpu_ids) in clocksource_watchdog() 313 next_cpu = cpumask_first(cpu_online_mask); in clocksource_watchdog() 315 add_timer_on(&watchdog_timer, next_cpu); in clocksource_watchdog()
|
D | tick-broadcast.c | 605 int cpu, next_cpu = 0; in tick_handle_oneshot_broadcast() local 634 next_cpu = cpu; in tick_handle_oneshot_broadcast() 671 tick_broadcast_set_event(dev, next_cpu, next_event); in tick_handle_oneshot_broadcast()
|
/Linux-v4.19/block/ |
D | blk-mq.c | 1281 cpu_online(hctx->next_cpu)) { in __blk_mq_run_hw_queue() 1319 int next_cpu = hctx->next_cpu; in blk_mq_hctx_next_cpu() local 1326 next_cpu = cpumask_next_and(next_cpu, hctx->cpumask, in blk_mq_hctx_next_cpu() 1328 if (next_cpu >= nr_cpu_ids) in blk_mq_hctx_next_cpu() 1329 next_cpu = blk_mq_first_mapped_cpu(hctx); in blk_mq_hctx_next_cpu() 1337 if (!cpu_online(next_cpu)) { in blk_mq_hctx_next_cpu() 1347 hctx->next_cpu = next_cpu; in blk_mq_hctx_next_cpu() 1352 hctx->next_cpu = next_cpu; in blk_mq_hctx_next_cpu() 1353 return next_cpu; in blk_mq_hctx_next_cpu() 2373 hctx->next_cpu = blk_mq_first_mapped_cpu(hctx); in blk_mq_map_swqueue()
|
/Linux-v4.19/drivers/irqchip/ |
D | irq-gic-v3.c | 698 int next_cpu, cpu = *base_cpu; in gic_compute_target_list() local 705 next_cpu = cpumask_next(cpu, mask); in gic_compute_target_list() 706 if (next_cpu >= nr_cpu_ids) in gic_compute_target_list() 708 cpu = next_cpu; in gic_compute_target_list()
|
/Linux-v4.19/include/linux/ |
D | blk-mq.h | 24 int next_cpu; member
|
/Linux-v4.19/net/core/ |
D | dev.c | 3945 struct rps_dev_flow *rflow, u16 next_cpu) in set_rps_cpu() argument 3947 if (next_cpu < nr_cpu_ids) { in set_rps_cpu() 3960 rxq_index = cpu_rmap_lookup_index(dev->rx_cpu_rmap, next_cpu); in set_rps_cpu() 3981 per_cpu(softnet_data, next_cpu).input_queue_head; in set_rps_cpu() 3984 rflow->cpu = next_cpu; in set_rps_cpu() 4032 u32 next_cpu; in get_rps_cpu() local 4040 next_cpu = ident & rps_cpu_mask; in get_rps_cpu() 4059 if (unlikely(tcpu != next_cpu) && in get_rps_cpu() 4063 tcpu = next_cpu; in get_rps_cpu() 4064 rflow = set_rps_cpu(dev, skb, rflow, next_cpu); in get_rps_cpu()
|
/Linux-v4.19/drivers/staging/mt7621-eth/ |
D | mtk_eth_soc.c | 1208 u32 next_cpu = desc->txd2; in mtk_qdma_tx_poll() local 1231 ring->tx_last_free->txd2 = next_cpu; in mtk_qdma_tx_poll() 1235 cpu = next_cpu; in mtk_qdma_tx_poll()
|
/Linux-v4.19/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 1093 u32 next_cpu = desc->txd2; in mtk_poll_tx() local 1118 cpu = next_cpu; in mtk_poll_tx()
|