Home
last modified time | relevance | path

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

/kernel/dma/
Dcontiguous.c76 unsigned long total_pages = 0; in cma_early_percent_memory() local
83 total_pages += memblock_region_memory_end_pfn(reg) - in cma_early_percent_memory()
86 return (total_pages * CONFIG_CMA_SIZE_PERCENTAGE / 100) << PAGE_SHIFT; in cma_early_percent_memory()
/kernel/
Dkexec_core.c152 unsigned long total_pages = 0; in sanity_check_segment_list() local
222 total_pages += PAGE_COUNT(image->segment[i].memsz); in sanity_check_segment_list()
225 if (total_pages > nr_pages / 2) in sanity_check_segment_list()