Searched refs:nr_highmem (Results 1 – 1 of 1) sorted by relevance
1896 static unsigned int count_pages_for_highmem(unsigned int nr_highmem) in count_pages_for_highmem() argument1900 if (free_highmem >= nr_highmem) in count_pages_for_highmem()1901 nr_highmem = 0; in count_pages_for_highmem()1903 nr_highmem -= free_highmem; in count_pages_for_highmem()1905 return nr_highmem; in count_pages_for_highmem()1908 static unsigned int count_pages_for_highmem(unsigned int nr_highmem) { return 0; } in count_pages_for_highmem() argument1914 static int enough_free_mem(unsigned int nr_pages, unsigned int nr_highmem) in enough_free_mem() argument1923 nr_pages += count_pages_for_highmem(nr_highmem); in enough_free_mem()1950 unsigned int nr_highmem) in alloc_highmem_pages() argument1954 if (to_alloc > nr_highmem) in alloc_highmem_pages()[all …]