/xen-4.10.0-shim-comet/xen/arch/x86/mm/hap/ |
A D | hap.c | 287 d->arch.paging.hap.total_pages--; in hap_alloc_p2m_page() 322 d->arch.paging.hap.total_pages++; in hap_free_p2m_page() 332 unsigned int pg = d->arch.paging.hap.total_pages in hap_get_allocation() 354 if ( d->arch.paging.hap.total_pages < pages ) in hap_set_allocation() 364 d->arch.paging.hap.total_pages++; in hap_set_allocation() 367 else if ( d->arch.paging.hap.total_pages > pages ) in hap_set_allocation() 378 d->arch.paging.hap.total_pages--; in hap_set_allocation() 455 old_pages = d->arch.paging.hap.total_pages; in hap_enable() 540 if ( d->arch.paging.hap.total_pages != 0 ) in hap_final_teardown() 576 if ( d->arch.paging.hap.total_pages != 0 ) in hap_teardown() [all …]
|
/xen-4.10.0-shim-comet/tools/libxc/ |
A D | xc_dom_core.c | 441 if ( offset > dom->total_pages || /* multiple checks to avoid overflows */ in xc_dom_pfn_to_ptr_retcount() 442 count > dom->total_pages || in xc_dom_pfn_to_ptr_retcount() 443 offset > dom->total_pages - count ) in xc_dom_pfn_to_ptr_retcount() 446 __FUNCTION__, pfn, offset, dom->total_pages); in xc_dom_pfn_to_ptr_retcount() 544 if ( pages > dom->total_pages || /* multiple test avoids overflow probs */ in xc_dom_chk_alloc_pages() 545 dom->pfn_alloc_end - dom->rambase_pfn > dom->total_pages || in xc_dom_chk_alloc_pages() 546 pages > dom->total_pages - dom->pfn_alloc_end + dom->rambase_pfn ) in xc_dom_chk_alloc_pages() 551 pages, dom->total_pages, in xc_dom_chk_alloc_pages() 974 dom->total_pages = nr_pages; in xc_dom_mem_init() 977 __FUNCTION__, dom->total_pages); in xc_dom_mem_init()
|
A D | xc_dom_x86.c | 733 start_info->nr_pages = dom->total_pages; in start_info_x86_32() 779 start_info->nr_pages = dom->total_pages; in start_info_x86_64() 1080 dom->total_pages); in meminit_pv() 1124 if ( total != dom->total_pages ) in meminit_pv() 1128 __func__, total, dom->total_pages); in meminit_pv() 1228 unsigned long i, vmemid, nr_pages = dom->total_pages; in meminit_hvm() 1237 uint64_t total_pages; in meminit_hvm() local 1295 total_pages = 0; in meminit_hvm() 1301 total_pages += ((vmemranges[i].end - vmemranges[i].start) in meminit_hvm() 1307 if ( total_pages != nr_pages ) in meminit_hvm() [all …]
|
A D | xc_dom_arm.c | 382 uint64_t ramsize = (uint64_t)dom->total_pages << XC_PAGE_SHIFT; in meminit()
|
/xen-4.10.0-shim-comet/xen/arch/x86/mm/shadow/ |
A D | common.c | 1247 d->arch.paging.shadow.total_pages, in _shadow_prealloc() 1489 if ( d->arch.paging.shadow.total_pages in shadow_alloc_p2m_page() 1505 d->arch.paging.shadow.total_pages--; in shadow_alloc_p2m_page() 1536 d->arch.paging.shadow.total_pages++; in shadow_free_p2m_page() 1579 d->arch.paging.shadow.total_pages++; in shadow_set_allocation() 1598 d->arch.paging.shadow.total_pages--; in shadow_set_allocation() 3089 old_pages = d->arch.paging.shadow.total_pages; in shadow_enable() 3240 if ( d->arch.paging.shadow.total_pages != 0 ) in shadow_teardown() 3309 d->arch.paging.shadow.total_pages, in shadow_final_teardown() 3316 if ( d->arch.paging.shadow.total_pages != 0 ) in shadow_final_teardown() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/pv/ |
A D | shim.c | 96 total_pages - avail + (1UL << (20 - PAGE_SHIFT))); in pv_shim_mem() 101 if ( total_pages - avail > shim_nrpages ) in pv_shim_mem() 103 total_pages - avail, shim_nrpages); in pv_shim_mem() 105 shim_nrpages -= total_pages - avail; in pv_shim_mem() 108 total_pages - avail, shim_nrpages); in pv_shim_mem()
|
/xen-4.10.0-shim-comet/tools/libxc/include/ |
A D | xc_dom.h | 151 xen_pfn_t total_pages; member 434 if (pfn < dom->rambase_pfn || pfn >= dom->rambase_pfn + dom->total_pages) in xc_dom_p2m()
|
/xen-4.10.0-shim-comet/xen/include/asm-x86/ |
A D | domain.h | 98 unsigned int total_pages; /* number of pages allocated */ member 160 unsigned int total_pages; /* number of pages allocated */ member
|
A D | mm.h | 307 extern unsigned long total_pages;
|
/xen-4.10.0-shim-comet/xen/common/ |
A D | sysctl.c | 264 pi->total_pages = total_pages; in do_sysctl()
|
/xen-4.10.0-shim-comet/stubdom/grub/ |
A D | kexec.c | 279 dom->total_pages = start_info.nr_pages; in kexec() 282 dom->p2m_size = dom->total_pages; in kexec()
|
/xen-4.10.0-shim-comet/xen/arch/arm/ |
A D | setup.c | 506 total_pages = ram_pages = ram_size >> PAGE_SHIFT; in setup_mm() 628 total_pages = 0; in setup_mm() 662 total_pages += ram_size >> PAGE_SHIFT; in setup_mm()
|
A D | mm.c | 158 unsigned long total_pages; variable
|
/xen-4.10.0-shim-comet/tools/helpers/ |
A D | init-xenstore-domain.c | 284 val = a ? info.total_pages * a / (b * 1024 * 1024 / XC_PAGE_SIZE) : 0; in parse_maxmem()
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/ |
A D | mm.h | 174 extern unsigned long total_pages;
|
/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxl.c | 372 physinfo->total_pages = xcphysinfo.total_pages; in libxl_get_physinfo()
|
A D | libxl_types.idl | 915 ("total_pages", uint64),
|
/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/ |
A D | mm.c | 1349 unsigned long old_max = max_page, old_total = total_pages; in memory_add() 1421 total_pages += epfn - spfn; in memory_add() 1454 total_pages = old_total; in memory_add()
|
/xen-4.10.0-shim-comet/tools/ocaml/libs/xc/ |
A D | xenctrl.mli | 79 total_pages : nativeint; RecordField
|
A D | xenctrl.ml | 97 total_pages : nativeint; RecordField
|
A D | xenctrl_stubs.c | 669 Store_field(physinfo, 5, caml_copy_nativeint(c_physinfo.total_pages)); in stub_xc_physinfo()
|
/xen-4.10.0-shim-comet/xen/include/public/ |
A D | sysctl.h | 100 uint64_aligned_t total_pages; member
|
/xen-4.10.0-shim-comet/tools/xenstat/libxenstat/src/ |
A D | xenstat.c | 188 node->tot_mem = ((unsigned long long)physinfo.total_pages) in xenstat_get_node()
|
/xen-4.10.0-shim-comet/tools/xl/ |
A D | xl_info.c | 221 maybe_printf("total_memory : %"PRIu64"\n", info.total_pages / i); in output_physinfo()
|
/xen-4.10.0-shim-comet/tools/golang/xenlight/ |
A D | xenlight.go | 190 physinfo.TotalPages = uint64(cphys.total_pages)
|