Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Dhash_utils.c530 unsigned int expected_pages; in htab_dt_scan_hugepage_blocks() local
545 expected_pages = (1 << be32_to_cpu(page_count_prop[0])); in htab_dt_scan_hugepage_blocks()
555 phys_addr, block_size, expected_pages); in htab_dt_scan_hugepage_blocks()
556 if (phys_addr + block_size * expected_pages <= memblock_end_of_DRAM()) { in htab_dt_scan_hugepage_blocks()
557 memblock_reserve(phys_addr, block_size * expected_pages); in htab_dt_scan_hugepage_blocks()
558 pseries_add_gpage(phys_addr, block_size, expected_pages); in htab_dt_scan_hugepage_blocks()