Searched refs:total_pages (Results 1 – 3 of 3) sorted by relevance
117 unsigned long total_pages = PHYS_PFN(memblock_phys_mem_size()); in cma_early_percent_memory() local119 return (total_pages * CONFIG_CMA_SIZE_PERCENTAGE / 100) << PAGE_SHIFT; in cma_early_percent_memory()
153 unsigned long total_pages = 0; in sanity_check_segment_list() local223 total_pages += PAGE_COUNT(image->segment[i].memsz); in sanity_check_segment_list()226 if (total_pages > nr_pages / 2) in sanity_check_segment_list()
6092 pack->total_pages = 0; in trace_buffer_pack()6113 pack->total_pages += nr_pages + 1; in trace_buffer_pack()