Searched refs:nr_highmem (Results 1 – 1 of 1) sorted by relevance
1996 static unsigned int count_pages_for_highmem(unsigned int nr_highmem) in count_pages_for_highmem() argument2000 if (free_highmem >= nr_highmem) in count_pages_for_highmem()2001 nr_highmem = 0; in count_pages_for_highmem()2003 nr_highmem -= free_highmem; in count_pages_for_highmem()2005 return nr_highmem; in count_pages_for_highmem()2008 static unsigned int count_pages_for_highmem(unsigned int nr_highmem) { return 0; } in count_pages_for_highmem() argument2014 static int enough_free_mem(unsigned int nr_pages, unsigned int nr_highmem) in enough_free_mem() argument2023 nr_pages += count_pages_for_highmem(nr_highmem); in enough_free_mem()2050 unsigned int nr_highmem) in alloc_highmem_pages() argument2054 if (to_alloc > nr_highmem) in alloc_highmem_pages()[all …]