Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-bdi32 min_ratio (read-write)
38 The 'min_ratio' parameter allows assigning a minimum
/kernel/linux/linux-5.10/mm/
Dpage-writeback.c189 unsigned long long min = wb->bdi->min_ratio; in wb_min_max_ratio()
241 *minp = wb->bdi->min_ratio; in wb_min_max_ratio()
664 int bdi_set_min_ratio(struct backing_dev_info *bdi, unsigned int min_ratio) in bdi_set_min_ratio() argument
669 if (min_ratio > bdi->max_ratio) { in bdi_set_min_ratio()
672 min_ratio -= bdi->min_ratio; in bdi_set_min_ratio()
673 if (bdi_min_ratio + min_ratio < 100) { in bdi_set_min_ratio()
674 bdi_min_ratio += min_ratio; in bdi_set_min_ratio()
675 bdi->min_ratio += min_ratio; in bdi_set_min_ratio()
693 if (bdi->min_ratio > max_ratio) { in bdi_set_max_ratio()
Dbacking-dev.c180 BDI_SHOW(min_ratio, bdi->min_ratio)
722 bdi->min_ratio = 0; in bdi_init()
879 if (bdi->min_ratio) in bdi_unregister()
/kernel/linux/linux-5.10/include/linux/
Dbacking-dev-defs.h174 unsigned int min_ratio; member
Dbacking-dev.h107 int bdi_set_min_ratio(struct backing_dev_info *bdi, unsigned int min_ratio);