Home
last modified time | relevance | path

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

/Linux-v5.4/samples/bpf/
Dlathist_user.c14 #define MAX_CPU 4 macro
22 static struct cpu_hist cpu_hist[MAX_CPU];
44 for (j = 0; j < MAX_CPU; j++) { in print_hist()
67 for (i = 0; i < MAX_CPU; i++) in get_data()
70 for (c = 0; c < MAX_CPU; c++) { in get_data()
Dcpustat_kern.c21 #define MAX_CPU 8 macro
58 .max_entries = MAX_CPU * MAP_OFF_NUM,
66 .max_entries = MAX_CPU * MAX_CSTATE_ENTRIES,
74 .max_entries = MAX_CPU * MAX_PSTATE_ENTRIES,
110 if (ctx->cpu_id > MAX_CPU) in bpf_prog1()
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()
Dlathist_kern.c14 #define MAX_CPU 4 macro
25 .max_entries = MAX_CPU,
68 .max_entries = MAX_CPU * MAX_ENTRIES,
/Linux-v5.4/drivers/clk/mvebu/
Dclk-cpu.c32 #define MAX_CPU 4 macro
229 clk_data.clk_num = MAX_CPU; in of_cpu_clk_setup()
/Linux-v5.4/arch/powerpc/kvm/
Dmpic.c39 #define MAX_CPU 32 macro
64 #define OPENPIC_CPU_REG_SIZE (0x100 + ((MAX_CPU - 1) * 0x1000))
224 struct irq_dest dst[MAX_CPU];
546 for (i = 0; i < MAX_CPU; i++) { in openpic_reset()
1743 if (cpu < 0 || cpu >= MAX_CPU) in kvmppc_mpic_connect_vcpu()