Home | History | Annotate | Download | only in util

Lines Matching defs:lru

32  * Fixed size array with linear probing on collision and LRU eviction
81 struct util_cache_entry lru;
105 make_empty_list(&cache->lru);
194 entry = cache->lru.prev;
197 util_cache_entry_destroy(cache, cache->lru.prev);
209 insert_at_head(&cache->lru, entry);
232 move_to_head(&cache->lru, entry);
253 assert(is_empty_list(&cache->lru));
335 assert (is_empty_list(&cache->lru));
338 struct util_cache_entry *header = cache->lru.next;
341 assert (!is_empty_list(&cache->lru));
346 assert(header == &cache->lru);