Lines Matching refs:cmm_pages
44 static long cmm_pages; variable
150 nr = cmm_free_pages(nr, &cmm_pages, &cmm_page_list); in cmm_oom_notify()
151 cmm_pages_target = cmm_pages; in cmm_oom_notify()
167 cmm_pages != cmm_pages_target || in cmm_thread()
171 cmm_pages_target = cmm_pages; in cmm_thread()
175 if (cmm_pages_target > cmm_pages) { in cmm_thread()
176 if (cmm_alloc_pages(1, &cmm_pages, &cmm_page_list)) in cmm_thread()
177 cmm_pages_target = cmm_pages; in cmm_thread()
178 } else if (cmm_pages_target < cmm_pages) { in cmm_thread()
179 cmm_free_pages(1, &cmm_pages, &cmm_page_list); in cmm_thread()
231 return cmm_pages; in cmm_get_pages()
441 cmm_free_pages(cmm_pages, &cmm_pages, &cmm_page_list); in cmm_exit()