Home
last modified time | relevance | path

Searched refs:MAX_CPUS (Results 1 – 21 of 21) sorted by relevance

/Linux-v4.19/samples/bpf/
Dxdp_sample_pkts_user.c19 #define MAX_CPUS 128 macro
20 static int pmu_fds[MAX_CPUS], if_idx;
21 static struct perf_event_mmap_page *headers[MAX_CPUS];
118 if (numcpus > MAX_CPUS) in main()
119 numcpus = MAX_CPUS; in main()
Dxdp_redirect_cpu_kern.c18 #define MAX_CPUS 64 /* WARNING - sync with _user.c */ macro
25 .max_entries = MAX_CPUS,
59 .max_entries = MAX_CPUS,
77 .max_entries = MAX_CPUS,
222 if (cpu_dest >= MAX_CPUS) { in xdp_prognum0_no_touch()
265 if (cpu_dest >= MAX_CPUS) { in xdp_prognum1_touch_data()
313 if (cpu_dest >= MAX_CPUS) { in xdp_prognum2_round_robin()
381 if (cpu_dest >= MAX_CPUS) { in xdp_prognum3_proto_separate()
457 if (cpu_dest >= MAX_CPUS) { in xdp_prognum4_ddos_filter_pktgen()
560 if (cpu_dest >= MAX_CPUS) { in xdp_prognum5_lb_hash_ip_pairs()
[all …]
Dxdp_redirect_cpu_user.c22 #define MAX_CPUS 64 /* WARNING - sync with _kern.c */ macro
129 struct record enq[MAX_CPUS];
196 for (i = 0; i < MAX_CPUS; i++) in alloc_stats_record()
206 for (i = 0; i < MAX_CPUS; i++) in free_stats_record()
309 for (to_cpu = 0; to_cpu < MAX_CPUS; to_cpu++) { in stats_print()
434 for (i = 0; i < MAX_CPUS; i++) in stats_collect()
509 __u32 invalid_cpu = MAX_CPUS; in mark_cpus_unavailable()
512 for (i = 0; i < MAX_CPUS; i++) { in mark_cpus_unavailable()
649 if (add_cpu >= MAX_CPUS) { in main()
Dxdp_sample_pkts_kern.c8 #define MAX_CPUS 128 macro
21 .max_entries = MAX_CPUS,
Dxdp_monitor_kern.c130 #define MAX_CPUS 64 macro
136 .max_entries = MAX_CPUS,
165 if (to_cpu >= MAX_CPUS) in trace_xdp_cpumap_enqueue()
Dxdp_monitor_user.c122 #define MAX_CPUS 64 macro
144 struct record xdp_cpumap_enqueue[MAX_CPUS];
360 for (to_cpu = 0; to_cpu < MAX_CPUS; to_cpu++) { in stats_print()
496 for (i = 0; i < MAX_CPUS; i++) in stats_collect()
550 for (i = 0; i < MAX_CPUS; i++) in alloc_stats_record()
569 for (i = 0; i < MAX_CPUS; i++) in free_stats_record()
/Linux-v4.19/arch/arm/mach-omap2/
Dcpuidle44xx.c27 #define MAX_CPUS 2 macro
68 static struct powerdomain *mpu_pd, *cpu_pd[MAX_CPUS];
69 static struct clockdomain *cpu_clkdm[MAX_CPUS];
72 static bool cpu_done[MAX_CPUS];
/Linux-v4.19/tools/virtio/virtio-trace/
Dtrace-agent.h7 #define MAX_CPUS 256 macro
23 struct rw_thread_info *rw_ti[MAX_CPUS];
Dtrace-agent.c38 } else if (nr_cpus > MAX_CPUS) { in get_total_cpus()
39 pr_err("Exceed max cpus(%d)\n", (int)MAX_CPUS); in get_total_cpus()
223 pthread_t rw_thread_per_cpu[MAX_CPUS]; in agent_main_loop()
/Linux-v4.19/tools/power/x86/intel_pstate_tracer/
Dintel_pstate_tracer.py43 MAX_CPUS = 256 variable
71 last_sec_cpu = [0] * MAX_CPUS
72 last_usec_cpu = [0] * MAX_CPUS
95 … number of CPUs is {0:d}. If there are more the script will abort with an error.'.format(MAX_CPUS))
515 cpu_mask = zeros((MAX_CPUS,), dtype=int)
547 if int(p) < MAX_CPUS :
550 for i in range (0, MAX_CPUS):
/Linux-v4.19/scripts/gdb/linux/
Dcpus.py19 MAX_CPUS = 4096 variable
27 if tid > (0x100000000 - MAX_CPUS - 2):
/Linux-v4.19/tools/testing/selftests/mqueue/
Dmq_perf_tests.c77 #define MAX_CPUS 64 macro
79 int cpus_to_pin[MAX_CPUS];
81 pthread_t cpu_threads[MAX_CPUS];
554 cpus_online = min(MAX_CPUS, sysconf(_SC_NPROCESSORS_ONLN)); in main()
584 } while (next_option && num_cpus_to_pin < MAX_CPUS); in main()
/Linux-v4.19/drivers/scsi/be2iscsi/
Dbe_main.h62 #define MAX_CPUS 64U macro
286 char *msi_name[MAX_CPUS];
376 struct be_aic_obj aic_obj[MAX_CPUS];
1000 struct be_eq_obj be_eq[MAX_CPUS];
1001 struct be_queue_info be_cq[MAX_CPUS - 1];
Dbe_cmds.h714 } delay[MAX_CPUS];
Dbe_main.c5214 struct be_set_eqd set_eqd[MAX_CPUS]; in beiscsi_eqd_update_work()
/Linux-v4.19/tools/accounting/
Dgetdelays.c65 #define MAX_CPUS 32 macro
73 char cpumask[100+6*MAX_CPUS];
/Linux-v4.19/tools/perf/
Dbuiltin-sched.c42 #define MAX_CPUS 4096 macro
158 DECLARE_BITMAP(comp_cpus_mask, MAX_CPUS);
184 u32 curr_pid[MAX_CPUS];
185 struct thread *curr_thread[MAX_CPUS];
215 u64 cpu_last_switched[MAX_CPUS];
839 if (cpu >= MAX_CPUS || cpu < 0) in replay_switch_event()
1105 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_switch_event()
1176 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_runtime_event()
1528 BUG_ON(this_cpu >= MAX_CPUS || this_cpu < 0); in map_switch_event()
1534 cpus_nr = bitmap_weight(sched->map.comp_cpus_mask, MAX_CPUS); in map_switch_event()
Dbuiltin-timechart.c308 #define MAX_CPUS 4096 macro
310 static u64 cpus_cstate_start_times[MAX_CPUS];
311 static int cpus_cstate_state[MAX_CPUS];
312 static u64 cpus_pstate_start_times[MAX_CPUS];
313 static u64 cpus_pstate_state[MAX_CPUS];
/Linux-v4.19/drivers/net/ethernet/qlogic/qlge/
Dqlge.h30 #define MAX_CPUS 8 macro
31 #define MAX_TX_RINGS MAX_CPUS
32 #define MAX_RX_RINGS ((MAX_CPUS * 2) + 1)
1760 u32 intr_states[MAX_CPUS];
Dqlge_main.c4103 int cpu_cnt = min(MAX_CPUS, (int)num_online_cpus()); in ql_configure_rings()
4744 min(MAX_CPUS, netif_get_num_default_rss_queues())); in qlge_probe()
/Linux-v4.19/tools/perf/util/
Ddata-convert-bt.c47 #define MAX_CPUS 4096 macro
1337 ncpus = ph->env.nr_cpus_avail ?: MAX_CPUS; in setup_streams()