Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dpage_alloc.c6919 unsigned long usemapsize; in usemap_size() local
6922 usemapsize = roundup(zonesize, pageblock_nr_pages); in usemap_size()
6923 usemapsize = usemapsize >> pageblock_order; in usemap_size()
6924 usemapsize *= NR_PAGEBLOCK_BITS; in usemap_size()
6925 usemapsize = roundup(usemapsize, 8 * sizeof(unsigned long)); in usemap_size()
6927 return usemapsize / 8; in usemap_size()
6935 unsigned long usemapsize = usemap_size(zone_start_pfn, zonesize); in setup_usemap() local
6937 if (usemapsize) { in setup_usemap()
6939 memblock_alloc_node(usemapsize, SMP_CACHE_BYTES, in setup_usemap()
6943 usemapsize, zone->name, pgdat->node_id); in setup_usemap()