Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Draid5-cache.c329 int total_cached; in r5c_check_stripe_cache_usage() local
334 total_cached = atomic_read(&conf->r5c_cached_partial_stripes) + in r5c_check_stripe_cache_usage()
345 if (total_cached > conf->min_nr_stripes * 1 / 2 || in r5c_check_stripe_cache_usage()
1428 int total_cached; in r5c_do_reclaim() local
1437 total_cached = atomic_read(&conf->r5c_cached_partial_stripes) + in r5c_do_reclaim()
1441 if (total_cached > conf->min_nr_stripes * 3 / 4 || in r5c_do_reclaim()
1448 else if (total_cached > conf->min_nr_stripes * 1 / 2 || in r5c_do_reclaim()