Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/samples/bpf/
H A 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()
/kernel/linux/linux-6.6/samples/bpf/
H A 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()

Completed in 2 milliseconds