Lines Matching refs:total_bytes
93 const uint64_t total_bytes, const bool do_evict);
189 uint64_t total_bytes; in do_item_alloc() local
194 it = slabs_alloc(ntotal, id, &total_bytes, 0); in do_item_alloc()
197 total_bytes -= noexp_lru_size(id); in do_item_alloc()
201 lru_pull_tail(id, HOT_LRU, total_bytes, false); in do_item_alloc()
202 lru_pull_tail(id, WARM_LRU, total_bytes, false); in do_item_alloc()
203 if (lru_pull_tail(id, COLD_LRU, total_bytes, true) <= 0) in do_item_alloc()
843 const uint64_t total_bytes, const bool do_evict) { in lru_pull_tail() argument
915 limit = total_bytes * settings.hot_lru_pct / 100; in lru_pull_tail()
918 limit = total_bytes * settings.warm_lru_pct / 100; in lru_pull_tail()
999 uint64_t total_bytes = 0; in lru_maintainer_juggle() local
1004 &total_bytes, &chunks_perslab); in lru_maintainer_juggle()
1006 total_bytes -= noexp_lru_size(slabs_clsid); in lru_maintainer_juggle()
1019 if (lru_pull_tail(slabs_clsid, HOT_LRU, total_bytes, false) || in lru_maintainer_juggle()
1020 lru_pull_tail(slabs_clsid, WARM_LRU, total_bytes, false)) { in lru_maintainer_juggle()
1023 do_more += lru_pull_tail(slabs_clsid, COLD_LRU, total_bytes, false); in lru_maintainer_juggle()