Searched refs:expected_pages (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/gpu/drm/i915/selftests/ |
A D | i915_vma.c | 616 unsigned int expected_pages; in igt_vma_rotate_remap() local 630 expected_pages = remapped_size(view.type, &plane_info[0], &plane_info[1]); in igt_vma_rotate_remap() 633 vma->size != expected_pages * PAGE_SIZE) { in igt_vma_rotate_remap() 635 PAGE_SIZE * expected_pages, vma->size); in igt_vma_rotate_remap() 641 vma->size > expected_pages * PAGE_SIZE) { in igt_vma_rotate_remap() 643 PAGE_SIZE * expected_pages, vma->size); in igt_vma_rotate_remap() 648 if (vma->pages->nents > expected_pages) { in igt_vma_rotate_remap() 650 expected_pages, vma->pages->nents); in igt_vma_rotate_remap()
|
/linux/arch/powerpc/mm/book3s64/ |
A D | hash_utils.c | 532 unsigned int expected_pages; in htab_dt_scan_hugepage_blocks() local 547 expected_pages = (1 << be32_to_cpu(page_count_prop[0])); in htab_dt_scan_hugepage_blocks() 557 phys_addr, block_size, expected_pages); in htab_dt_scan_hugepage_blocks() 558 if (phys_addr + block_size * expected_pages <= memblock_end_of_DRAM()) { in htab_dt_scan_hugepage_blocks() 559 memblock_reserve(phys_addr, block_size * expected_pages); in htab_dt_scan_hugepage_blocks() 560 pseries_add_gpage(phys_addr, block_size, expected_pages); in htab_dt_scan_hugepage_blocks()
|
Completed in 7 milliseconds