Home
last modified time | relevance | path

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

/Linux-v5.10/samples/bpf/
Dcpustat_kern.c52 #define MAP_OFF_NUM 4 macro
58 __uint(max_entries, MAX_CPU * MAP_OFF_NUM);
115 key = cpu * MAP_OFF_NUM + MAP_OFF_CSTATE_TIME; in bpf_prog1()
120 key = cpu * MAP_OFF_NUM + MAP_OFF_CSTATE_IDX; in bpf_prog1()
125 key = cpu * MAP_OFF_NUM + MAP_OFF_PSTATE_TIME; in bpf_prog1()
130 key = cpu * MAP_OFF_NUM + MAP_OFF_PSTATE_IDX; in bpf_prog1()
220 key = cpu * MAP_OFF_NUM + MAP_OFF_PSTATE_TIME; in bpf_prog2()
225 key = cpu * MAP_OFF_NUM + MAP_OFF_PSTATE_IDX; in bpf_prog2()
230 key = cpu * MAP_OFF_NUM + MAP_OFF_CSTATE_IDX; in bpf_prog2()