| /kernel/linux/linux-5.10/arch/x86/platform/uv/ |
| D | uv_time.c | 50 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
| D | test_lru_map.c | 163 int next_cpu = 0; in test_lru_sanity0() local 168 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity0() 254 int next_cpu = 0; in test_lru_sanity1() local 263 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity1() 331 int next_cpu = 0; in test_lru_sanity2() local 340 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity2() 438 int next_cpu = 0; in test_lru_sanity3() local 447 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity3() 501 int next_cpu = 0; in test_lru_sanity4() local 506 assert(sched_next_online(0, &next_cpu) != -1); in test_lru_sanity4() [all …]
|
| D | bench.c | 278 static int next_cpu(struct cpu_set *cpu_set) in next_cpu() function 284 for (i = cpu_set->next_cpu; i < cpu_set->cpus_len; i++) { in next_cpu() 286 cpu_set->next_cpu = i + 1; in next_cpu() 294 return cpu_set->next_cpu++; in next_cpu() 392 next_cpu(&env.cons_cpus)); in setup_benchmark() 399 env.prod_cpus.next_cpu = env.cons_cpus.next_cpu; in setup_benchmark() 411 next_cpu(&env.prod_cpus)); in setup_benchmark()
|
| D | bench.h | 17 int next_cpu; member
|
| /kernel/linux/linux-5.10/kernel/trace/ |
| D | trace_hwlat.c | 287 int next_cpu; in move_to_next_cpu() local 301 next_cpu = cpumask_next(smp_processor_id(), current_mask); in move_to_next_cpu() 304 if (next_cpu >= nr_cpu_ids) in move_to_next_cpu() 305 next_cpu = cpumask_first(current_mask); in move_to_next_cpu() 307 if (next_cpu >= nr_cpu_ids) /* Shouldn't happen! */ in move_to_next_cpu() 311 cpumask_set_cpu(next_cpu, current_mask); in move_to_next_cpu() 369 int next_cpu; in start_kthread() local 378 next_cpu = cpumask_first(current_mask); in start_kthread() 387 cpumask_set_cpu(next_cpu, current_mask); in start_kthread()
|
| D | trace_entries.h | 117 __field( unsigned int, next_cpu ) \ 134 __entry->next_cpu) 152 __entry->next_cpu)
|
| D | trace_output.c | 924 field->next_cpu, in trace_ctxwake_print() 958 field->next_cpu, in trace_ctxwake_raw() 994 SEQ_PUT_HEX_FIELD(s, field->next_cpu); in trace_ctxwake_hex() 1025 SEQ_PUT_FIELD(s, field->next_cpu); in trace_ctxwake_bin()
|
| D | trace_sched_wakeup.c | 396 entry->next_cpu = task_cpu(next); in tracing_sched_switch_trace() 424 entry->next_cpu = task_cpu(wakee); in tracing_sched_wakeup_trace()
|
| D | trace.c | 3525 int next_cpu = -1; in __find_next_entry() local 3555 next_cpu = cpu; in __find_next_entry() 3565 *ent_cpu = next_cpu; in __find_next_entry()
|
| /kernel/linux/linux-5.10/arch/parisc/kernel/ |
| D | irq.c | 347 static int next_cpu = -1; in txn_alloc_addr() local 349 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()
|
| /kernel/linux/linux-5.10/arch/x86/kernel/ |
| D | tsc_sync.c | 95 int next_cpu; in tsc_sync_check_timer_fn() local 100 next_cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); in tsc_sync_check_timer_fn() 101 if (next_cpu >= nr_cpu_ids) in tsc_sync_check_timer_fn() 102 next_cpu = cpumask_first(cpu_online_mask); in tsc_sync_check_timer_fn() 105 add_timer_on(&tsc_sync_check_timer, next_cpu); in tsc_sync_check_timer_fn()
|
| /kernel/linux/linux-5.10/kernel/ |
| D | smp.c | 616 int cpu, next_cpu, this_cpu = smp_processor_id(); in smp_call_function_many_cond() local 645 next_cpu = cpumask_next_and(cpu, mask, cpu_online_mask); in smp_call_function_many_cond() 646 if (next_cpu == this_cpu) in smp_call_function_many_cond() 647 next_cpu = cpumask_next_and(next_cpu, mask, cpu_online_mask); in smp_call_function_many_cond() 650 if (next_cpu >= nr_cpu_ids) { in smp_call_function_many_cond()
|
| /kernel/linux/linux-5.10/drivers/net/wireguard/ |
| D | queueing.h | 164 struct sk_buff *skb, struct workqueue_struct *wq, int *next_cpu) in wg_queue_enqueue_per_device_and_peer() argument 178 cpu = wg_cpumask_next_online(next_cpu); in wg_queue_enqueue_per_device_and_peer()
|
| /kernel/linux/linux-5.10/kernel/time/ |
| D | clocksource.c | 318 int next_cpu, reset_pending; in clocksource_watchdog() local 428 next_cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); in clocksource_watchdog() 429 if (next_cpu >= nr_cpu_ids) in clocksource_watchdog() 430 next_cpu = cpumask_first(cpu_online_mask); in clocksource_watchdog() 438 add_timer_on(&watchdog_timer, next_cpu); in clocksource_watchdog()
|
| D | tick-broadcast.c | 608 int cpu, next_cpu = 0; in tick_handle_oneshot_broadcast() local 637 next_cpu = cpu; in tick_handle_oneshot_broadcast() 674 tick_broadcast_set_event(dev, next_cpu, next_event); in tick_handle_oneshot_broadcast()
|
| /kernel/linux/linux-5.10/kernel/sched/rtg/ |
| D | rtg.c | 922 int next_cpu; in sched_set_group_normalized_util() local 952 next_cpu = cpumask_first(&grp->preferred_cluster->cpus); in sched_set_group_normalized_util() 954 next_cpu = 0; in sched_set_group_normalized_util() 959 group_should_update_freq(grp, next_cpu, flag, now); in sched_set_group_normalized_util() 970 cpufreq_update_util(cpu_rq(next_cpu), in sched_set_group_normalized_util()
|
| /kernel/linux/linux-5.10/block/ |
| D | blk-mq.c | 1521 cpu_online(hctx->next_cpu)) { in __blk_mq_run_hw_queue() 1559 int next_cpu = hctx->next_cpu; in blk_mq_hctx_next_cpu() local 1566 next_cpu = cpumask_next_and(next_cpu, hctx->cpumask, in blk_mq_hctx_next_cpu() 1568 if (next_cpu >= nr_cpu_ids) in blk_mq_hctx_next_cpu() 1569 next_cpu = blk_mq_first_mapped_cpu(hctx); in blk_mq_hctx_next_cpu() 1577 if (!cpu_online(next_cpu)) { in blk_mq_hctx_next_cpu() 1587 hctx->next_cpu = next_cpu; in blk_mq_hctx_next_cpu() 1592 hctx->next_cpu = next_cpu; in blk_mq_hctx_next_cpu() 1593 return next_cpu; in blk_mq_hctx_next_cpu() 2969 hctx->next_cpu = blk_mq_first_mapped_cpu(hctx); in blk_mq_map_swqueue()
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | blk-mq.h | 46 int next_cpu; member
|
| /kernel/linux/linux-5.10/drivers/irqchip/ |
| D | irq-gic-v3.c | 1155 int next_cpu, cpu = *base_cpu; in gic_compute_target_list() local 1162 next_cpu = cpumask_next(cpu, mask); in gic_compute_target_list() 1163 if (next_cpu >= nr_cpu_ids) in gic_compute_target_list() 1165 cpu = next_cpu; in gic_compute_target_list()
|
| /kernel/linux/linux-5.10/net/core/ |
| D | dev.c | 4294 struct rps_dev_flow *rflow, u16 next_cpu) in set_rps_cpu() argument 4296 if (next_cpu < nr_cpu_ids) { in set_rps_cpu() 4309 rxq_index = cpu_rmap_lookup_index(dev->rx_cpu_rmap, next_cpu); in set_rps_cpu() 4330 per_cpu(softnet_data, next_cpu).input_queue_head; in set_rps_cpu() 4333 rflow->cpu = next_cpu; in set_rps_cpu() 4381 u32 next_cpu; in get_rps_cpu() local 4389 next_cpu = ident & rps_cpu_mask; in get_rps_cpu() 4408 if (unlikely(tcpu != next_cpu) && in get_rps_cpu() 4412 tcpu = next_cpu; in get_rps_cpu() 4413 rflow = set_rps_cpu(dev, skb, rflow, next_cpu); in get_rps_cpu()
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/ |
| D | mtk_eth_soc.c | 1404 u32 next_cpu = desc->txd2; in mtk_poll_tx_qdma() local 1429 cpu = next_cpu; in mtk_poll_tx_qdma()
|