Lines Matching refs:lru
86 struct util_cache_entry lru; member
115 make_empty_list(&cache->lru); in util_cache_create()
210 entry = cache->lru.prev; in util_cache_set()
213 util_cache_entry_destroy(cache, cache->lru.prev); in util_cache_set()
225 insert_at_head(&cache->lru, entry); in util_cache_set()
252 move_to_head(&cache->lru, entry); in util_cache_get()
277 assert(is_empty_list(&cache->lru)); in util_cache_clear()
365 assert (is_empty_list(&cache->lru)); in ensure_sanity()
368 struct util_cache_entry *header = cache->lru.next; in ensure_sanity()
371 assert (!is_empty_list(&cache->lru)); in ensure_sanity()
376 assert(header == &cache->lru); in ensure_sanity()