Lines Matching defs:index
67 u32 index;
78 /* the lines below are computing index = log10(delta)*10
80 * index = 29 ~ 1 usec
81 * index = 59 ~ 1 msec
82 * index = 89 ~ 1 sec
83 * index = 99 ~ 10sec or more
88 index = (l * 64 + (delta - base) * 64 / base) * 3 / 64;
90 if (index >= SLOTS)
91 index = SLOTS - 1;
93 value = bpf_map_lookup_elem(&lat_map, &index);