Home
last modified time | relevance | path

Searched refs:nr_highmem (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/kernel/power/
Dsnapshot.c1850 static unsigned int count_pages_for_highmem(unsigned int nr_highmem) in count_pages_for_highmem() argument
1854 if (free_highmem >= nr_highmem) in count_pages_for_highmem()
1855 nr_highmem = 0; in count_pages_for_highmem()
1857 nr_highmem -= free_highmem; in count_pages_for_highmem()
1859 return nr_highmem; in count_pages_for_highmem()
1862 static unsigned int count_pages_for_highmem(unsigned int nr_highmem) { return 0; } in count_pages_for_highmem() argument
1868 static int enough_free_mem(unsigned int nr_pages, unsigned int nr_highmem) in enough_free_mem() argument
1877 nr_pages += count_pages_for_highmem(nr_highmem); in enough_free_mem()
1904 unsigned int nr_highmem) in alloc_highmem_pages() argument
1908 if (to_alloc > nr_highmem) in alloc_highmem_pages()
[all …]