Home
last modified time | relevance | path

Searched refs:lru (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/bpf/map/
H A Dmod.rs3 mod lru; module
232 let lru_hash_map = lru::LruMap::new(&map_meta)?; in bpf_map_create()
236 let lru_per_cpu_hash_map = lru::PerCpuLruMap::new(&map_meta)?; in bpf_map_create()
H A Dlru.rs8 use lru::LruCache;
/DragonOS/kernel/src/mm/
H A Dpage.rs15 use lru::LruCache;
165 lru: LruCache<PhysAddr, Arc<Page>>, field
171 lru: LruCache::unbounded(), in new()
176 self.lru.get(paddr).cloned() in get()
180 self.lru.put(paddr, page.clone()); in insert_page()
189 let (paddr, page) = self.lru.pop_lru().expect("pagecache is empty"); in shrink_list()
278 let iter = self.lru.iter(); in flush_dirty_pages()
/DragonOS/kernel/
H A DCargo.toml66 lru = "0.12.3"