Home
last modified time | relevance | path

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

/linux/mm/
H A Dpage-writeback.c650 unsigned long dirty_thresh; in bdi_ratio_from_pages() local
653 global_dirty_limits(&background_thresh, &dirty_thresh); in bdi_ratio_from_pages()
654 if (!dirty_thresh) in bdi_ratio_from_pages()
656 ratio = div64_u64(pages * 100ULL * BDI_RATIO_SCALE, dirty_thresh); in bdi_ratio_from_pages()
664 unsigned long dirty_thresh; in bdi_get_bytes() local
667 global_dirty_limits(&background_thresh, &dirty_thresh); in bdi_get_bytes()
668 bytes = (dirty_thresh * PAGE_SIZE * ratio) / BDI_RATIO_SCALE / 100; in bdi_get_bytes()
2198 unsigned long dirty_thresh; in writeback_set_ratelimit() local
2200 global_dirty_limits(&background_thresh, &dirty_thresh); in writeback_set_ratelimit()
2201 dom->dirty_limit = dirty_thresh; in writeback_set_ratelimit()
[all …]