Home
last modified time | relevance | path

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

/linux/samples/bpf/
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()
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()
A Dlathist_kern.c14 #define MAX_CPU 4 macro
25 __uint(max_entries, MAX_CPU);
68 __uint(max_entries, MAX_CPU * MAX_ENTRIES);
A Dcpustat_user.c24 #define MAX_CPU 8 macro
38 static struct cpu_stat_data stat_data[MAX_CPU];
65 for (j = 0; j < MAX_CPU; j++) { in cpu_stat_print()
84 for (c = 0; c < MAX_CPU; c++) { in cpu_stat_update()
/linux/tools/perf/dlfilters/
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/
A Dclk-cpu.c32 #define MAX_CPU 4 macro
229 clk_data.clk_num = MAX_CPU; in of_cpu_clk_setup()
/linux/arch/powerpc/kvm/
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()

Completed in 13 milliseconds