Home
last modified time | relevance | path

Searched refs:MAX_CPU (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/samples/bpf/
Dlathist_user.c13 #define MAX_CPU 4 macro
21 static struct cpu_hist cpu_hist[MAX_CPU];
43 for (j = 0; j < MAX_CPU; j++) { in print_hist()
66 for (i = 0; i < MAX_CPU; i++) in get_data()
69 for (c = 0; c < MAX_CPU; c++) { in get_data()
Dcpustat_kern.c21 #define MAX_CPU 8 macro
58 __uint(max_entries, MAX_CPU * MAP_OFF_NUM);
66 __uint(max_entries, MAX_CPU * MAX_CSTATE_ENTRIES);
74 __uint(max_entries, MAX_CPU * MAX_PSTATE_ENTRIES);
110 if (ctx->cpu_id > MAX_CPU) in bpf_prog1()
Dlathist_kern.c14 #define MAX_CPU 4 macro
25 __uint(max_entries, MAX_CPU);
68 __uint(max_entries, MAX_CPU * MAX_ENTRIES);
Dcpustat_user.c23 #define MAX_CPU 8 macro
37 static struct cpu_stat_data stat_data[MAX_CPU];
64 for (j = 0; j < MAX_CPU; j++) { in cpu_stat_print()
83 for (c = 0; c < MAX_CPU; c++) { in cpu_stat_update()
/linux-6.1.9/tools/perf/dlfilters/
Ddlfilter-show-cycles.c10 #define MAX_CPU 4096 macro
19 static __u64 cycles[MAX_CPU][MAX_ENTRY];
20 static __u64 cycles_rpt[MAX_CPU][MAX_ENTRY];
91 if (cpu >= 0 && cpu < MAX_CPU) in filter_event_early()
114 if (cpu >= 0 && cpu < MAX_CPU) { in filter_event()
/linux-6.1.9/drivers/clk/mvebu/
Dclk-cpu.c32 #define MAX_CPU 4 macro
229 clk_data.clk_num = MAX_CPU; in of_cpu_clk_setup()
/linux-6.1.9/arch/powerpc/kvm/
Dmpic.c38 #define MAX_CPU 32 macro
63 #define OPENPIC_CPU_REG_SIZE (0x100 + ((MAX_CPU - 1) * 0x1000))
223 struct irq_dest dst[MAX_CPU];
545 for (i = 0; i < MAX_CPU; i++) { in openpic_reset()
1742 if (cpu < 0 || cpu >= MAX_CPU) in kvmppc_mpic_connect_vcpu()