Searched refs:dirty_thresh (Results 1 – 1 of 1) sorted by relevance
650 unsigned long dirty_thresh; in bdi_ratio_from_pages() local653 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() local667 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() local2200 global_dirty_limits(&background_thresh, &dirty_thresh); in writeback_set_ratelimit()2201 dom->dirty_limit = dirty_thresh; in writeback_set_ratelimit()[all …]