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

/linux-master/samples/bpf/
H A 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++) {
66 for (i = 0; i < MAX_CPU; i++)
69 for (c = 0; c < MAX_CPU; c++) {
H A Dlathist_kern.c14 #define MAX_CPU 4 macro
25 __uint(max_entries, MAX_CPU);
68 __uint(max_entries, MAX_CPU * MAX_ENTRIES);
H A 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)
H A 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++) {
83 for (c = 0; c < MAX_CPU; c++) {
/linux-master/tools/perf/dlfilters/
H A 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)
114 if (cpu >= 0 && cpu < MAX_CPU) {
/linux-master/drivers/clk/mvebu/
H A Dclk-cpu.c32 #define MAX_CPU 4 macro
221 clk_data.clk_num = MAX_CPU;
/linux-master/arch/powerpc/kvm/
H A 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++) {
1742 if (cpu < 0 || cpu >= MAX_CPU)

Completed in 177 milliseconds