SEGKP_MAX_CACHE
static struct segkp_cache segkp_cache[SEGKP_MAX_CACHE];
for (i = 0; i < SEGKP_MAX_CACHE; i++) {
if (index < 0 || index >= SEGKP_MAX_CACHE)