Home
last modified time | relevance | path

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

/samples/bpf/
Dcpustat_kern.c107 u32 key, cpu, pstate_idx; in bpf_prog1() local
171 pstate_idx = find_cpu_pstate_idx(*pstate); in bpf_prog1()
172 if (pstate_idx >= MAX_PSTATE_ENTRIES) in bpf_prog1()
175 key = cpu * MAX_PSTATE_ENTRIES + pstate_idx; in bpf_prog1()
215 u32 key, cpu, pstate_idx; in bpf_prog2() local
268 pstate_idx = find_cpu_pstate_idx(*pstate); in bpf_prog2()
269 if (pstate_idx >= MAX_PSTATE_ENTRIES) in bpf_prog2()
272 key = cpu * MAX_PSTATE_ENTRIES + pstate_idx; in bpf_prog2()