Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/md/
Ddm-kcopyd.c60 unsigned nr_free_pages; member
248 if (kc->nr_free_pages >= kc->nr_reserved_pages) in kcopyd_put_pages()
253 kc->nr_free_pages++; in kcopyd_put_pages()
275 kc->nr_free_pages--; in kcopyd_get_pages()
330 BUG_ON(kc->nr_free_pages != kc->nr_reserved_pages); in client_free_pages()
333 kc->nr_free_pages = kc->nr_reserved_pages = 0; in client_free_pages()
938 kc->nr_reserved_pages = kc->nr_free_pages = 0; in dm_kcopyd_client_create()
/Linux-v5.15/arch/x86/mm/
Dinit.c971 u64 nr_pages = 0, nr_free_pages = 0; in memblock_find_dma_reserve() local
994 nr_free_pages = 0; in memblock_find_dma_reserve()
1000 nr_free_pages += end_pfn - start_pfn; in memblock_find_dma_reserve()
1003 set_dma_reserve(nr_pages - nr_free_pages); in memblock_find_dma_reserve()
/Linux-v5.15/fs/
Dfile_table.c394 unsigned long memreserve = (nr_pages - nr_free_pages()) * 3/2; in files_maxfiles_init()
/Linux-v5.15/include/linux/
Dswap.h341 #define nr_free_pages() global_zone_page_state(NR_FREE_PAGES) macro
/Linux-v5.15/kernel/power/
Dswap.c68 return nr_free_pages() - nr_free_highpages(); in low_free_pages()
/Linux-v5.15/mm/
Dpage_alloc.c8181 nr_free_pages() << (PAGE_SHIFT - 10), in mem_init_print_info()