Searched refs:nr_highmem (Results 1 – 1 of 1) sorted by relevance
1892 static unsigned int count_pages_for_highmem(unsigned int nr_highmem) in count_pages_for_highmem() argument1896 if (free_highmem >= nr_highmem) in count_pages_for_highmem()1897 nr_highmem = 0; in count_pages_for_highmem()1899 nr_highmem -= free_highmem; in count_pages_for_highmem()1901 return nr_highmem; in count_pages_for_highmem()1904 static unsigned int count_pages_for_highmem(unsigned int nr_highmem) { return 0; } in count_pages_for_highmem() argument1910 static int enough_free_mem(unsigned int nr_pages, unsigned int nr_highmem) in enough_free_mem() argument1919 nr_pages += count_pages_for_highmem(nr_highmem); in enough_free_mem()1946 unsigned int nr_highmem) in alloc_highmem_pages() argument1950 if (to_alloc > nr_highmem) in alloc_highmem_pages()[all …]