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