Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dpage-writeback.c178 static struct dirty_throttle_control *mdtc_gdtc(struct dirty_throttle_control *mdtc) in mdtc_gdtc() argument
180 return mdtc->gdtc; in mdtc_gdtc()
232 static struct dirty_throttle_control *mdtc_gdtc(struct dirty_throttle_control *mdtc) in mdtc_gdtc() argument
731 static void mdtc_calc_avail(struct dirty_throttle_control *mdtc, in mdtc_calc_avail() argument
734 struct dirty_throttle_control *gdtc = mdtc_gdtc(mdtc); in mdtc_calc_avail()
735 unsigned long clean = filepages - min(filepages, mdtc->dirty); in mdtc_calc_avail()
739 mdtc->avail = filepages + min(headroom, other_clean); in mdtc_calc_avail()
1345 struct dirty_throttle_control *mdtc, in __wb_update_bandwidth() argument
1381 if (IS_ENABLED(CONFIG_CGROUP_WRITEBACK) && mdtc) { in __wb_update_bandwidth()
1382 domain_update_bandwidth(mdtc, now); in __wb_update_bandwidth()
[all …]