Lines Matching refs:cmm_timed_pages
45 static long cmm_timed_pages; variable
148 nr = cmm_free_pages(nr, &cmm_timed_pages, &cmm_timed_page_list); in cmm_oom_notify()
152 cmm_timed_pages_target = cmm_timed_pages; in cmm_oom_notify()
168 cmm_timed_pages != cmm_timed_pages_target || in cmm_thread()
172 cmm_timed_pages_target = cmm_timed_pages; in cmm_thread()
181 if (cmm_timed_pages_target > cmm_timed_pages) { in cmm_thread()
182 if (cmm_alloc_pages(1, &cmm_timed_pages, in cmm_thread()
184 cmm_timed_pages_target = cmm_timed_pages; in cmm_thread()
185 } else if (cmm_timed_pages_target < cmm_timed_pages) { in cmm_thread()
186 cmm_free_pages(1, &cmm_timed_pages, in cmm_thread()
189 if (cmm_timed_pages > 0 && !timer_pending(&cmm_timer)) in cmm_thread()
242 return cmm_timed_pages; in cmm_get_timed_pages()
443 cmm_free_pages(cmm_timed_pages, &cmm_timed_pages, &cmm_timed_page_list); in cmm_exit()