Home
last modified time | relevance | path

Searched refs:LRUHandle (Results 1 – 3 of 3) sorted by relevance

/rocksdb-6.9/cache/
Dlru_cache.cc38 LRUHandle* LRUHandleTable::Insert(LRUHandle* h) { in Insert()
40 LRUHandle* old = *ptr; in Insert()
56 LRUHandle* result = *ptr; in Remove()
77 LRUHandle** new_list = new LRUHandle*[new_length]; in Resize()
81 LRUHandle* h = list_[i]; in Resize()
156 void LRUCacheShard::TEST_GetLRUList(LRUHandle** lru, LRUHandle** lru_low_pri) { in TEST_GetLRUList()
238 LRUHandle* old = lru_.next; in EvictFromLRU()
287 LRUHandle* e = reinterpret_cast<LRUHandle*>(h); in Ref()
306 LRUHandle* e = reinterpret_cast<LRUHandle*>(handle); in Release()
345 LRUHandle* e = reinterpret_cast<LRUHandle*>( in Insert()
[all …]
Dlru_cache.h50 struct LRUHandle { struct
55 LRUHandle* next_hash; argument
56 LRUHandle* next; argument
57 LRUHandle* prev; argument
162 LRUHandle* Insert(LRUHandle* h);
168 LRUHandle* h = list_[i]; in ApplyToAllCacheEntries()
188 LRUHandle** list_;
236 void TEST_GetLRUList(LRUHandle** lru, LRUHandle** lru_low_pri); in ALIGN_AS()
246 void LRU_Remove(LRUHandle* e); in ALIGN_AS()
278 LRUHandle lru_; in ALIGN_AS()
[all …]
Dlru_cache_test.cc63 LRUHandle* lru; in ValidateLRUList()
64 LRUHandle* lru_low_pri; in ValidateLRUList()
66 LRUHandle* iter = lru; in ValidateLRUList()