Searched refs:min_ratio (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/include/linux/
H A Dbacking-dev.h92 unsigned int min_ratio; member in struct:backing_dev_info
216 int bdi_set_min_ratio(struct backing_dev_info *bdi, unsigned int min_ratio);
/linux-4.1.27/mm/
H A Dbacking-dev.c190 BDI_SHOW(min_ratio, bdi->min_ratio)
387 bdi->min_ratio = 0; bdi_init()
H A Dpage-writeback.c466 int bdi_set_min_ratio(struct backing_dev_info *bdi, unsigned int min_ratio) bdi_set_min_ratio() argument
471 if (min_ratio > bdi->max_ratio) { bdi_set_min_ratio()
474 min_ratio -= bdi->min_ratio; bdi_set_min_ratio()
475 if (bdi_min_ratio + min_ratio < 100) { bdi_set_min_ratio()
476 bdi_min_ratio += min_ratio; bdi_set_min_ratio()
477 bdi->min_ratio += min_ratio; bdi_set_min_ratio()
495 if (bdi->min_ratio > max_ratio) { bdi_set_max_ratio()
538 * bounded by the bdi->min_ratio and/or bdi->max_ratio parameters, if set.
554 bdi_dirty += (dirty * bdi->min_ratio) / 100; bdi_dirty_limit()

Completed in 107 milliseconds