Home
last modified time | relevance | path

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

/Linux-v5.10/mm/
Dpage-writeback.c179 static struct dirty_throttle_control *mdtc_gdtc(struct dirty_throttle_control *mdtc) in mdtc_gdtc() argument
181 return mdtc->gdtc; in mdtc_gdtc()
233 static struct dirty_throttle_control *mdtc_gdtc(struct dirty_throttle_control *mdtc) in mdtc_gdtc() argument
726 static void mdtc_calc_avail(struct dirty_throttle_control *mdtc, in mdtc_calc_avail() argument
729 struct dirty_throttle_control *gdtc = mdtc_gdtc(mdtc); in mdtc_calc_avail()
730 unsigned long clean = filepages - min(filepages, mdtc->dirty); in mdtc_calc_avail()
734 mdtc->avail = filepages + min(headroom, other_clean); in mdtc_calc_avail()
1340 struct dirty_throttle_control *mdtc, in __wb_update_bandwidth() argument
1376 if (IS_ENABLED(CONFIG_CGROUP_WRITEBACK) && mdtc) { in __wb_update_bandwidth()
1377 domain_update_bandwidth(mdtc, now); in __wb_update_bandwidth()
[all …]