Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/power/
Dsnapshot.c1896 static unsigned int count_pages_for_highmem(unsigned int nr_highmem) in count_pages_for_highmem() argument
1900 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() argument
1914 static int enough_free_mem(unsigned int nr_pages, unsigned int nr_highmem) in enough_free_mem() argument
1923 nr_pages += count_pages_for_highmem(nr_highmem); in enough_free_mem()
1950 unsigned int nr_highmem) in alloc_highmem_pages() argument
1954 if (to_alloc > nr_highmem) in alloc_highmem_pages()
[all …]