Lines Matching refs:min
194 unsigned long long min = wb->bdi->min_ratio; in wb_min_max_ratio() local
202 if (min) { in wb_min_max_ratio()
203 min *= this_bw; in wb_min_max_ratio()
204 min = div64_ul(min, tot_bw); in wb_min_max_ratio()
212 *minp = min; in wb_min_max_ratio()
296 nr_pages -= min(nr_pages, pgdat->totalreserve_pages); in node_dirtyable_memory()
325 nr_pages -= min(nr_pages, high_wmark_pages(z)); in highmem_dirtyable_memory()
350 return min(x, total); in highmem_dirtyable_memory()
372 x -= min(x, totalreserve_pages); in global_dirtyable_memory()
418 ratio = min(DIV_ROUND_UP(bytes, global_avail), in domain_dirty_limits()
421 bg_ratio = min(DIV_ROUND_UP(bg_bytes, global_avail), in domain_dirty_limits()
736 unsigned long clean = filepages - min(filepages, mdtc->dirty); in mdtc_calc_avail()
737 unsigned long global_clean = gdtc->avail - min(gdtc->avail, gdtc->dirty); in mdtc_calc_avail()
738 unsigned long other_clean = global_clean - min(global_clean, clean); in mdtc_calc_avail()
740 mdtc->avail = filepages + min(headroom, other_clean); in mdtc_calc_avail()
998 dtc->pos_ratio = min(pos_ratio, wb_pos_ratio); in wb_position_ratio()
1102 bw = written - min(written, wb->written_stamp); in wb_update_write_bandwidth()
1480 t = min(t, 1 + max_pause / 2); in wb_min_pause()
1663 current->nr_dirtied_pause = min(intv, m_intv); in balance_dirty_pages()
1749 min(pause, 0L), in balance_dirty_pages()
1763 now += min(pause - max_pause, max_pause); in balance_dirty_pages()
1882 ratelimit = min(ratelimit, 32 >> (PAGE_SHIFT - 10)); in balance_dirty_pages_ratelimited()
1906 nr_pages_dirtied = min(*p, ratelimit - current->nr_dirtied); in balance_dirty_pages_ratelimited()