Searched refs:ratelimit (Results 1 – 2 of 2) sorted by relevance
62 static DEFINE_RATELIMIT_STATE(ratelimit, 5 * HZ, 10); in check_poison_mem()78 if (!__ratelimit(&ratelimit)) in check_poison_mem()
1869 int ratelimit; in balance_dirty_pages_ratelimited() local1880 ratelimit = current->nr_dirtied_pause; in balance_dirty_pages_ratelimited()1882 ratelimit = min(ratelimit, 32 >> (PAGE_SHIFT - 10)); in balance_dirty_pages_ratelimited()1892 if (unlikely(current->nr_dirtied >= ratelimit)) in balance_dirty_pages_ratelimited()1896 ratelimit = 0; in balance_dirty_pages_ratelimited()1904 if (*p > 0 && current->nr_dirtied < ratelimit) { in balance_dirty_pages_ratelimited()1906 nr_pages_dirtied = min(*p, ratelimit - current->nr_dirtied); in balance_dirty_pages_ratelimited()1912 if (unlikely(current->nr_dirtied >= ratelimit)) in balance_dirty_pages_ratelimited()