Searched refs:nr_freeable (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/mm/ |
D | zswap.c | 1208 unsigned long nr_backing, nr_stored, nr_freeable, nr_disk_swapins_cur, in zswap_shrinker_count() local 1242 nr_freeable = list_lru_shrink_count(&zswap_list_lru, sc); in zswap_shrinker_count() 1243 if (!nr_freeable) in zswap_shrinker_count() 1253 if (nr_freeable >= nr_disk_swapins_cur) in zswap_shrinker_count() 1256 nr_remain = nr_disk_swapins_cur - nr_freeable; in zswap_shrinker_count() 1260 nr_freeable -= nr_disk_swapins_cur - nr_remain; in zswap_shrinker_count() 1261 if (!nr_freeable) in zswap_shrinker_count() 1270 return mult_frac(nr_freeable, nr_backing, nr_stored); in zswap_shrinker_count()
|
/linux-6.12.1/fs/bcachefs/ |
D | btree_cache.c | 75 bc->nr_freeable++; in __bch2_btree_node_to_freelist() 126 --bc->nr_freeable; in btree_node_data_free() 631 BUG_ON(bc->nr_freeable); in bch2_fs_btree_cache_exit() 821 --bc->nr_freeable; in bch2_btree_node_mem_alloc() 1476 prt_btree_cache_line(out, c, "freeable:", bc->nr_freeable); in bch2_btree_cache_to_text()
|
D | btree_types.h | 188 size_t nr_freeable; member
|