Home
last modified time | relevance | path

Searched refs:MAX_CPUS (Results 1 - 25 of 38) sorted by relevance

12

/kernel/linux/linux-5.10/samples/bpf/
H A Dxdp_redirect_cpu_kern.c18 #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...]
H A Dxdp_monitor_kern.c130 #define MAX_CPUS 64 macro
136 __uint(max_entries, MAX_CPUS);
165 if (to_cpu >= MAX_CPUS) in trace_xdp_cpumap_enqueue()
H A Dxdp_monitor_user.c157 #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/loongarch/loongson64/
H A Dsmp.c29 #define MAX_CPUS 64 macro
40 static volatile void *ipi_set_regs[MAX_CPUS];
41 static volatile void *ipi_clear_regs[MAX_CPUS];
42 static volatile void *ipi_status_regs[MAX_CPUS];
43 static volatile void *ipi_en_regs[MAX_CPUS];
44 static volatile void *ipi_mailbox_buf[MAX_CPUS];
148 for (i = 0; i< MAX_CPUS; i++) { in ipi_regaddrs_init()
/kernel/linux/linux-6.6/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py39 MAX_CPUS = 256 variable
62 last_sec_cpu = [0] * MAX_CPUS
63 last_usec_cpu = [0] * MAX_CPUS
264 cpu_mask = zeros((MAX_CPUS,), dtype=int)
297 if int(p) < MAX_CPUS :
300 for i in range (0, MAX_CPUS):
/kernel/linux/linux-5.10/tools/virtio/virtio-trace/
H A Dtrace-agent.h7 #define MAX_CPUS 256 macro
23 struct rw_thread_info *rw_ti[MAX_CPUS];
H A Dtrace-agent.c36 } 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-6.6/tools/virtio/virtio-trace/
H A Dtrace-agent.h7 #define MAX_CPUS 256 macro
23 struct rw_thread_info *rw_ti[MAX_CPUS];
H A Dtrace-agent.c37 } else if (nr_cpus > MAX_CPUS) { in get_total_cpus()
38 pr_err("Exceed max cpus(%d)\n", (int)MAX_CPUS); in get_total_cpus()
225 pthread_t rw_thread_per_cpu[MAX_CPUS]; in agent_main_loop()
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
H A Dcpuidle44xx.c24 #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-6.6/arch/arm/mach-omap2/
H A Dcpuidle44xx.c24 #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/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py44 MAX_CPUS = 256 variable
72 last_sec_cpu = [0] * MAX_CPUS
73 last_usec_cpu = [0] * MAX_CPUS
96 print(' Maximum 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-6.6/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py44 MAX_CPUS = 256 variable
72 last_sec_cpu = [0] * MAX_CPUS
73 last_usec_cpu = [0] * MAX_CPUS
96 print(' Maximum number of CPUs is {0:d}. If there are more the script will abort with an error.'.format(MAX_CPUS))
511 cpu_mask = zeros((MAX_CPUS,), dtype=int)
543 if int(p) < MAX_CPUS :
546 for i in range (0, MAX_CPUS):
/kernel/linux/linux-5.10/scripts/gdb/linux/
H A Dcpus.py19 MAX_CPUS = 4096 variable
27 if tid > (0x100000000 - MAX_CPUS - 2):
/kernel/linux/linux-6.6/scripts/gdb/linux/
H A Dcpus.py22 MAX_CPUS = 4096 variable
30 if tid > (0x100000000 - MAX_CPUS - 2):
/kernel/linux/linux-5.10/tools/testing/selftests/mqueue/
H A Dmq_perf_tests.c77 #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-6.6/tools/testing/selftests/mqueue/
H A Dmq_perf_tests.c77 #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/
H A Dbe_main.h57 #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];
/kernel/linux/linux-6.6/drivers/scsi/be2iscsi/
H A Dbe_main.h56 #define MAX_CPUS 64U macro
280 char *msi_name[MAX_CPUS];
370 struct be_aic_obj aic_obj[MAX_CPUS];
994 struct be_eq_obj be_eq[MAX_CPUS];
995 struct be_queue_info be_cq[MAX_CPUS - 1];
/kernel/linux/linux-6.6/tools/perf/util/bpf_skel/
H A Daugmented_raw_syscalls.bpf.c23 #define MAX_CPUS 4096 macro
43 __uint(max_entries, MAX_CPUS);
H A Dlock_contention.bpf.c12 #define MAX_CPUS 1024 macro
440 for (int i = 0; i < MAX_CPUS; i++) { in BPF_PROG()
/kernel/linux/linux-6.6/tools/accounting/
H A Dprocacct.c76 #define MAX_CPUS 32 macro
84 char cpumask[100+6*MAX_CPUS];
H A Dgetdelays.c64 #define MAX_CPUS 32 macro
72 char cpumask[100+6*MAX_CPUS];
/kernel/linux/linux-5.10/tools/accounting/
H A Dgetdelays.c65 #define MAX_CPUS 32 macro
73 char cpumask[100+6*MAX_CPUS];
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-sched.c50 #define MAX_CPUS 4096 macro
170 DECLARE_BITMAP(comp_cpus_mask, MAX_CPUS);
872 if (cpu >= MAX_CPUS || cpu < 0) in replay_switch_event()
1142 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_switch_event()
1213 BUG_ON(cpu >= MAX_CPUS || cpu < 0); in latency_runtime_event()
1584 BUG_ON(this_cpu.cpu >= MAX_CPUS || this_cpu.cpu < 0); in map_switch_event()
1590 cpus_nr = bitmap_weight(sched->map.comp_cpus_mask, MAX_CPUS); in map_switch_event()
3598 sched.curr_thread = calloc(MAX_CPUS, sizeof(*sched.curr_thread)); in cmd_sched()
3603 sched.cpu_last_switched = calloc(MAX_CPUS, sizeof(*sched.cpu_last_switched)); in cmd_sched()
3608 sched.curr_pid = malloc(MAX_CPUS * sizeo in cmd_sched()
[all...]

Completed in 25 milliseconds

12