/kernel/linux/linux-5.10/samples/bpf/ |
D | xdp_redirect_cpu_kern.c | 18 #define MAX_CPUS NR_CPUS macro 25 __uint(max_entries, MAX_CPUS); 62 __uint(max_entries, MAX_CPUS); 80 __uint(max_entries, MAX_CPUS); 225 if (cpu_dest >= MAX_CPUS) { in xdp_prognum0_no_touch() 268 if (cpu_dest >= MAX_CPUS) { in xdp_prognum1_touch_data() 316 if (cpu_dest >= MAX_CPUS) { in xdp_prognum2_round_robin() 384 if (cpu_dest >= MAX_CPUS) { in xdp_prognum3_proto_separate() 460 if (cpu_dest >= MAX_CPUS) { in xdp_prognum4_ddos_filter_pktgen() 563 if (cpu_dest >= MAX_CPUS) { in xdp_prognum5_lb_hash_ip_pairs() [all …]
|
D | xdp_monitor_kern.c | 130 #define MAX_CPUS 64 macro 136 __uint(max_entries, MAX_CPUS); 165 if (to_cpu >= MAX_CPUS) in trace_xdp_cpumap_enqueue()
|
D | xdp_monitor_user.c | 157 #define MAX_CPUS 64 macro 179 struct record xdp_cpumap_enqueue[MAX_CPUS]; 395 for (to_cpu = 0; to_cpu < MAX_CPUS; to_cpu++) { in stats_print() 531 for (i = 0; i < MAX_CPUS; i++) in stats_collect() 581 for (i = 0; i < MAX_CPUS; i++) in alloc_stats_record() 600 for (i = 0; i < MAX_CPUS; i++) in free_stats_record()
|
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
D | cpuidle44xx.c | 24 #define MAX_CPUS 2 macro 65 static struct powerdomain *mpu_pd, *cpu_pd[MAX_CPUS]; 66 static struct clockdomain *cpu_clkdm[MAX_CPUS]; 69 static bool cpu_done[MAX_CPUS];
|
/kernel/linux/linux-5.10/tools/virtio/virtio-trace/ |
D | trace-agent.h | 7 #define MAX_CPUS 256 macro 23 struct rw_thread_info *rw_ti[MAX_CPUS];
|
D | trace-agent.c | 36 } else if (nr_cpus > MAX_CPUS) { in get_total_cpus() 37 pr_err("Exceed max cpus(%d)\n", (int)MAX_CPUS); in get_total_cpus() 221 pthread_t rw_thread_per_cpu[MAX_CPUS]; in agent_main_loop()
|
/kernel/linux/linux-5.10/tools/power/x86/intel_pstate_tracer/ |
D | intel_pstate_tracer.py | 44 MAX_CPUS = 256 variable 72 last_sec_cpu = [0] * MAX_CPUS 73 last_usec_cpu = [0] * MAX_CPUS 96 … number of CPUs is {0:d}. If there are more the script will abort with an error.'.format(MAX_CPUS)) 513 cpu_mask = zeros((MAX_CPUS,), dtype=int) 545 if int(p) < MAX_CPUS : 548 for i in range (0, MAX_CPUS):
|
/kernel/linux/linux-5.10/scripts/gdb/linux/ |
D | cpus.py | 19 MAX_CPUS = 4096 variable 27 if tid > (0x100000000 - MAX_CPUS - 2):
|
/kernel/linux/linux-5.10/tools/testing/selftests/mqueue/ |
D | mq_perf_tests.c | 77 #define MAX_CPUS 64 macro 79 int cpus_to_pin[MAX_CPUS]; 81 pthread_t cpu_threads[MAX_CPUS]; 563 cpus_online = min(MAX_CPUS, sysconf(_SC_NPROCESSORS_ONLN)); in main() 593 } while (next_option && num_cpus_to_pin < MAX_CPUS); in main()
|
/kernel/linux/linux-5.10/drivers/scsi/be2iscsi/ |
D | be_main.h | 57 #define MAX_CPUS 64U macro 281 char *msi_name[MAX_CPUS]; 371 struct be_aic_obj aic_obj[MAX_CPUS]; 995 struct be_eq_obj be_eq[MAX_CPUS]; 996 struct be_queue_info be_cq[MAX_CPUS - 1];
|
D | be_cmds.h | 709 } delay[MAX_CPUS];
|
D | be_main.c | 5196 struct be_set_eqd set_eqd[MAX_CPUS]; in beiscsi_eqd_update_work()
|
/kernel/linux/linux-5.10/tools/accounting/ |
D | getdelays.c | 65 #define MAX_CPUS 32 macro 73 char cpumask[100+6*MAX_CPUS];
|
/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-sched.c | 49 #define MAX_CPUS 4096 macro 169 DECLARE_BITMAP(comp_cpus_mask, MAX_CPUS); 195 u32 curr_pid[MAX_CPUS]; 196 struct thread *curr_thread[MAX_CPUS]; 226 u64 cpu_last_switched[MAX_CPUS]; 850 if (cpu >= MAX_CPUS || cpu < 0) in replay_switch_event() 1120 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_switch_event() 1191 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_runtime_event() 1544 BUG_ON(this_cpu >= MAX_CPUS || this_cpu < 0); in map_switch_event() 1550 cpus_nr = bitmap_weight(sched->map.comp_cpus_mask, MAX_CPUS); in map_switch_event()
|
D | builtin-timechart.c | 306 #define MAX_CPUS 4096 macro 308 static u64 cpus_cstate_start_times[MAX_CPUS]; 309 static int cpus_cstate_state[MAX_CPUS]; 310 static u64 cpus_pstate_start_times[MAX_CPUS]; 311 static u64 cpus_pstate_state[MAX_CPUS];
|
/kernel/linux/linux-5.10/drivers/staging/qlge/ |
D | qlge.h | 29 #define MAX_CPUS 8 macro 30 #define MAX_TX_RINGS MAX_CPUS 31 #define MAX_RX_RINGS ((MAX_CPUS * 2) + 1) 1777 u32 intr_states[MAX_CPUS];
|
D | qlge_main.c | 3940 int cpu_cnt = min(MAX_CPUS, (int)num_online_cpus()); in ql_configure_rings() 4561 min(MAX_CPUS, in qlge_probe()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | data-convert-bt.c | 50 #define MAX_CPUS 4096 macro 1340 ncpus = ph->env.nr_cpus_avail ?: MAX_CPUS; in setup_streams()
|