Home
last modified time | relevance | path

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

/linux/arch/x86/xen/
H A Denlighten_pvh.c71 unsigned int i, ram_pages = 0, extra_pages; in pvh_reserve_extra_memory() local
82 extra_pages = EXTRA_MEM_RATIO * ram_pages; in pvh_reserve_extra_memory()
88 for (i = 0; i < bootp->e820_entries && extra_pages; i++) { in pvh_reserve_extra_memory()
95 pages = min(extra_pages, in pvh_reserve_extra_memory()
116 extra_pages -= pages; in pvh_reserve_extra_memory()
H A Dsetup.c800 unsigned long extra_pages = 0; in xen_memory_setup() local
885 extra_pages += max_pages - ini_nr_pages; in xen_memory_setup()
895 extra_pages = min3(maxmem_pages, extra_pages, max_pages - ini_nr_pages); in xen_memory_setup()
911 } else if (extra_pages) { in xen_memory_setup()
912 chunk_size = min(size, PFN_PHYS(extra_pages)); in xen_memory_setup()
915 extra_pages -= n_pfns; in xen_memory_setup()
/linux/drivers/gpu/drm/ttm/
H A Dttm_tt.c153 unsigned long extra_pages) in ttm_tt_init_fields() argument
155 ttm->num_pages = (PAGE_ALIGN(bo->base.size) >> PAGE_SHIFT) + extra_pages; in ttm_tt_init_fields()
165 unsigned long extra_pages) in ttm_tt_init() argument
167 ttm_tt_init_fields(ttm, bo, page_flags, caching, extra_pages); in ttm_tt_init()
/linux/include/xen/interface/io/
H A Dtpmif.h49 uint32_t extra_pages[]; /* grant IDs; length in nr_extra_pages */ member
/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_tt_test.c46 u32 extra_pages = params->extra_pages_num; in ttm_tt_init_basic() local
55 err = ttm_tt_init(tt, bo, page_flags, caching, extra_pages); in ttm_tt_init_basic()
58 KUNIT_ASSERT_EQ(test, tt->num_pages, num_pages + extra_pages); in ttm_tt_init_basic()
/linux/kernel/
H A Dkexec_core.c334 struct list_head extra_pages; in kimage_alloc_normal_control_pages() local
339 INIT_LIST_HEAD(&extra_pages); in kimage_alloc_normal_control_pages()
356 list_add(&pages->lru, &extra_pages); in kimage_alloc_normal_control_pages()
379 kimage_free_page_list(&extra_pages); in kimage_alloc_normal_control_pages()
/linux/include/drm/ttm/
H A Dttm_tt.h159 unsigned long extra_pages);
/linux/tools/testing/selftests/mm/
H A Dpagemap_ioctl.c1386 unsigned int i, count, extra_pages; in transact_test() local
1416 extra_pages = 0; in transact_test()
1462 extra_pages += count - nthreads * access_per_thread; in transact_test()
1471 extra_pages, in transact_test()
1472 100.0 * extra_pages / (iter_count * nthreads * access_per_thread), in transact_test()
/linux/drivers/char/tpm/
H A Dxen-tpmfront.c131 return struct_size(shr, extra_pages, shr->nr_extra_pages); in shr_data_offset()
/linux/drivers/gpu/drm/xe/
H A Dxe_bo.c345 unsigned long extra_pages; in xe_ttm_tt_create() local
355 extra_pages = 0; in xe_ttm_tt_create()
357 extra_pages = DIV_ROUND_UP(xe_device_ccs_bytes(xe, bo->size), in xe_ttm_tt_create()
399 err = ttm_tt_init(&tt->ttm, &bo->ttm, page_flags, caching, extra_pages); in xe_ttm_tt_create()