Home
last modified time | relevance | path

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

/linux/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++) { 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()
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) in bpf_prog1()
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_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/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) in filter_event_early()
114 if (cpu >= 0 && cpu < MAX_CPU) { in filter_event()
/linux/drivers/clk/mvebu/
H A Dclk-cpu.c32 #define MAX_CPU 4 macro
221 clk_data.clk_num = MAX_CPU; in of_cpu_clk_setup()
/linux/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++) { in openpic_reset()
1742 if (cpu < 0 || cpu >= MAX_CPU) in kvmppc_mpic_connect_vcpu()