Searched refs:expected_pages (Results 1 – 2 of 2) sorted by relevance
/linux/lib/ |
H A D | fortify_kunit.c | 263 #define TEST_vmalloc(checker, expected_pages, alloc_pages) do { \ argument 265 checker((expected_pages) * PAGE_SIZE, \ 267 checker((expected_pages) * PAGE_SIZE, \ 269 checker((expected_pages) * PAGE_SIZE, \ 275 #define TEST_kvmalloc(checker, expected_pages, alloc_pages) do { \ argument 280 checker((expected_pages) * PAGE_SIZE, \ 283 checker((expected_pages) * PAGE_SIZE, \ 286 checker((expected_pages) * PAGE_SIZE, \ 289 checker((expected_pages) * PAGE_SIZE, \ 292 checker((expected_pages) * PAGE_SIZE, \ [all …]
|
/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_vma.c | 617 unsigned int expected_pages; in igt_vma_rotate_remap() local 631 expected_pages = remapped_size(view.type, &plane_info[0], &plane_info[1]); in igt_vma_rotate_remap() 634 vma->size != expected_pages * PAGE_SIZE) { in igt_vma_rotate_remap() 636 PAGE_SIZE * expected_pages, vma->size); in igt_vma_rotate_remap() 642 vma->size > expected_pages * PAGE_SIZE) { in igt_vma_rotate_remap() 644 PAGE_SIZE * expected_pages, vma->size); in igt_vma_rotate_remap() 649 if (vma->pages->nents > expected_pages) { in igt_vma_rotate_remap() 651 expected_pages, vma->pages->nents); in igt_vma_rotate_remap()
|