/linux-master/kernel/sched/ |
H A D | fair.c | 13052 goto next_cpu; 13080 next_cpu:
|
/linux-master/net/core/ |
H A D | dev.c | 4466 struct rps_dev_flow *rflow, u16 next_cpu) 4468 if (next_cpu < nr_cpu_ids) { 4481 rxq_index = cpu_rmap_lookup_index(dev->rx_cpu_rmap, next_cpu); 4502 per_cpu(softnet_data, next_cpu).input_queue_head; 4505 rflow->cpu = next_cpu; 4553 u32 next_cpu; local 4563 next_cpu = ident & net_hotdata.rps_cpu_mask; 4582 if (unlikely(tcpu != next_cpu) && 4586 tcpu = next_cpu; 4587 rflow = set_rps_cpu(dev, skb, rflow, next_cpu); 4465 set_rps_cpu(struct net_device *dev, struct sk_buff *skb, struct rps_dev_flow *rflow, u16 next_cpu) argument [all...] |
/linux-master/block/ |
H A D | blk-mq.c | 2175 int next_cpu = hctx->next_cpu; local 2182 next_cpu = cpumask_next_and(next_cpu, hctx->cpumask, 2184 if (next_cpu >= nr_cpu_ids) 2185 next_cpu = blk_mq_first_mapped_cpu(hctx); 2193 if (!cpu_online(next_cpu)) { 2203 hctx->next_cpu = next_cpu; 2208 hctx->next_cpu [all...] |
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 2276 u32 next_cpu = desc->txd2; local 2299 cpu = next_cpu;
|
/linux-master/kernel/trace/ |
H A D | trace.c | 3494 int next_cpu = -1; local 3524 next_cpu = cpu; 3534 *ent_cpu = next_cpu;
|
H A D | trace_output.c | 1091 field->next_cpu, 1125 field->next_cpu, 1161 SEQ_PUT_HEX_FIELD(s, field->next_cpu); 1192 SEQ_PUT_FIELD(s, field->next_cpu);
|
H A D | trace_hwlat.c | 318 int next_cpu; local 330 next_cpu = cpumask_next(raw_smp_processor_id(), current_mask); 333 if (next_cpu >= nr_cpu_ids) 334 next_cpu = cpumask_first(current_mask); 336 if (next_cpu >= nr_cpu_ids) /* Shouldn't happen! */ 340 cpumask_set_cpu(next_cpu, current_mask); 426 int next_cpu; local 443 next_cpu = cpumask_first(current_mask); 445 cpumask_set_cpu(next_cpu, current_mask);
|
H A D | trace_entries.h | 143 __field( unsigned int, next_cpu ) \ 160 __entry->next_cpu) 178 __entry->next_cpu)
|
H A D | trace_sched_wakeup.c | 395 entry->next_cpu = task_cpu(next); 423 entry->next_cpu = task_cpu(wakee);
|
/linux-master/arch/powerpc/mm/book3s64/ |
H A D | hash_utils.c | 1024 int next_cpu; local 1030 next_cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); 1031 if (next_cpu >= nr_cpu_ids) 1032 next_cpu = cpumask_first(cpu_online_mask); 1034 add_timer_on(&stress_hpt_timer, next_cpu);
|
/linux-master/arch/parisc/kernel/ |
H A D | irq.c | 324 static int next_cpu = -1; local 326 next_cpu++; /* assign to "next" CPU we want this bugger on */ 329 while ((next_cpu < nr_cpu_ids) && 330 (!per_cpu(cpu_data, next_cpu).txn_addr || 331 !cpu_online(next_cpu))) 332 next_cpu++; 334 if (next_cpu >= nr_cpu_ids) 335 next_cpu = 0; /* nothing else, assign monarch */ 337 return txn_affinity_addr(virt_irq, next_cpu);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | bench.c | 458 static int next_cpu(struct cpu_set *cpu_set) function 464 for (i = cpu_set->next_cpu; i < cpu_set->cpus_len; i++) { 466 cpu_set->next_cpu = i + 1; 474 return cpu_set->next_cpu++ % env.nr_cpus; 635 next_cpu(&env.cons_cpus)); 642 env.prod_cpus.next_cpu = env.cons_cpus.next_cpu; 658 next_cpu(&env.prod_cpus));
|
H A D | bench.h | 17 int next_cpu; member in struct:cpu_set
|
H A D | test_lru_map.c | 152 int next_cpu = 0; local 157 assert(sched_next_online(0, &next_cpu) != -1); 245 int next_cpu = 0; local 254 assert(sched_next_online(0, &next_cpu) != -1); 322 int next_cpu = 0; local 331 assert(sched_next_online(0, &next_cpu) != -1); 428 int next_cpu = 0; local 437 assert(sched_next_online(0, &next_cpu) != -1); 491 int next_cpu = 0; local 496 assert(sched_next_online(0, &next_cpu) ! 565 int next_cpu = 0; local 614 int next_cpu = 0; local 680 int next_cpu = 0; local 771 int next_cpu = 0; local [all...] |
/linux-master/kernel/time/ |
H A D | clocksource.c | 403 int next_cpu, reset_pending; local 565 next_cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); 566 if (next_cpu >= nr_cpu_ids) 567 next_cpu = cpumask_first(cpu_online_mask); 575 add_timer_on(&watchdog_timer, next_cpu);
|
H A D | tick-broadcast.c | 694 int cpu, next_cpu = 0; local 723 next_cpu = cpu; 760 tick_broadcast_set_event(dev, next_cpu, next_event);
|
/linux-master/include/linux/ |
H A D | blk-mq.h | 314 * @next_cpu: Used by blk_mq_hctx_next_cpu() for round-robin CPU 317 int next_cpu; member in struct:blk_mq_hw_ctx
|
/linux-master/drivers/irqchip/ |
H A D | irq-gic-v3.c | 1309 int next_cpu, cpu = *base_cpu; local 1318 next_cpu = cpumask_next(cpu, mask); 1319 if (next_cpu >= nr_cpu_ids) 1321 cpu = next_cpu;
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | rseq_test.c | 44 static int next_cpu(int cpu) function 75 for (i = 0, cpu = min_cpu; i < NR_TASK_MIGRATIONS; i++, cpu = next_cpu(cpu)) {
|
/linux-master/arch/x86/platform/uv/ |
H A D | uv_time.c | 50 int next_cpu; member in struct:uv_rtc_timer_head 159 head->next_cpu = -1; 176 head->next_cpu = -1; 185 head->next_cpu = bcpu; 209 int next_cpu; local 213 next_cpu = head->next_cpu; 217 if (next_cpu < 0 || bcpu == next_cpu || 218 expires < head->cpu[next_cpu] [all...] |
/linux-master/arch/powerpc/lib/ |
H A D | qspinlock.c | 687 int next_cpu = next->cpu; local 691 if (vcpu_is_preempted(next_cpu)) 692 prod_cpu(next_cpu);
|
/linux-master/arch/x86/kernel/ |
H A D | tsc_sync.c | 96 int next_cpu; local 101 next_cpu = cpumask_next(raw_smp_processor_id(), cpu_online_mask); 102 if (next_cpu >= nr_cpu_ids) 103 next_cpu = cpumask_first(cpu_online_mask); 106 add_timer_on(&tsc_sync_check_timer, next_cpu);
|
/linux-master/kernel/ |
H A D | watchdog_buddy.c | 13 unsigned int next_cpu; local 15 next_cpu = cpumask_next(cpu, &watchdog_cpus); 16 if (next_cpu >= nr_cpu_ids) 17 next_cpu = cpumask_first(&watchdog_cpus); 19 if (next_cpu == cpu) 22 return next_cpu; 32 unsigned int next_cpu; local 50 next_cpu = watchdog_next_cpu(cpu); 51 if (next_cpu < nr_cpu_ids) 52 watchdog_hardlockup_touch_cpu(next_cpu); 66 unsigned int next_cpu = watchdog_next_cpu(cpu); local 90 unsigned int next_cpu; local [all...] |