Searched refs:prev_entry (Results 1 – 2 of 2) sorted by relevance
205 struct calipso_map_cache_entry *prev_entry = NULL; in calipso_cache_check() local223 if (!prev_entry) { in calipso_cache_check()228 if (prev_entry->activity > 0) in calipso_cache_check()229 prev_entry->activity -= 1; in calipso_cache_check()230 if (entry->activity > prev_entry->activity && in calipso_cache_check()231 entry->activity - prev_entry->activity > in calipso_cache_check()235 prev_entry->list.prev, in calipso_cache_check()236 &prev_entry->list); in calipso_cache_check()242 prev_entry = entry; in calipso_cache_check()
240 struct cipso_v4_map_cache_entry *prev_entry = NULL; in cipso_v4_cache_check() local258 if (!prev_entry) { in cipso_v4_cache_check()263 if (prev_entry->activity > 0) in cipso_v4_cache_check()264 prev_entry->activity -= 1; in cipso_v4_cache_check()265 if (entry->activity > prev_entry->activity && in cipso_v4_cache_check()266 entry->activity - prev_entry->activity > in cipso_v4_cache_check()270 prev_entry->list.prev, in cipso_v4_cache_check()271 &prev_entry->list); in cipso_v4_cache_check()277 prev_entry = entry; in cipso_v4_cache_check()