| /xen/xen/arch/x86/mm/hap/ |
| A D | hap.c | 281 d->arch.paging.hap.total_pages--; in hap_alloc_p2m_page() 317 d->arch.paging.hap.total_pages++; in hap_free_p2m_page() 326 unsigned int pg = d->arch.paging.hap.total_pages in hap_get_allocation() 348 if ( d->arch.paging.hap.total_pages < pages ) in hap_set_allocation() 358 d->arch.paging.hap.total_pages++; in hap_set_allocation() 361 else if ( d->arch.paging.hap.total_pages > pages ) in hap_set_allocation() 372 d->arch.paging.hap.total_pages--; in hap_set_allocation() 456 old_pages = d->arch.paging.hap.total_pages; in hap_enable() 554 if ( d->arch.paging.hap.total_pages != 0 ) in hap_final_teardown() 590 if ( d->arch.paging.hap.total_pages != 0 ) in hap_teardown() [all …]
|
| /xen/tools/libxc/ |
| A D | xc_dom_core.c | 432 if ( offset > dom->total_pages || /* multiple checks to avoid overflows */ in xc_dom_pfn_to_ptr_retcount() 433 count > dom->total_pages || in xc_dom_pfn_to_ptr_retcount() 434 offset > dom->total_pages - count ) in xc_dom_pfn_to_ptr_retcount() 437 __FUNCTION__, pfn, offset, dom->total_pages); in xc_dom_pfn_to_ptr_retcount() 535 if ( pages > dom->total_pages || /* multiple test avoids overflow probs */ in xc_dom_chk_alloc_pages() 536 dom->pfn_alloc_end - dom->rambase_pfn > dom->total_pages || in xc_dom_chk_alloc_pages() 537 pages > dom->total_pages - dom->pfn_alloc_end + dom->rambase_pfn ) in xc_dom_chk_alloc_pages() 542 pages, dom->total_pages, in xc_dom_chk_alloc_pages() 965 dom->total_pages = nr_pages; in xc_dom_mem_init() 968 __FUNCTION__, dom->total_pages); in xc_dom_mem_init()
|
| A D | xc_dom_x86.c | 775 start_info->nr_pages = dom->total_pages; in start_info_x86_32() 821 start_info->nr_pages = dom->total_pages; in start_info_x86_64() 1202 dom->total_pages); in meminit_pv() 1246 if ( total != dom->total_pages ) in meminit_pv() 1250 __func__, total, dom->total_pages); in meminit_pv() 1350 unsigned long i, vmemid, nr_pages = dom->total_pages; in meminit_hvm() 1359 uint64_t total_pages; in meminit_hvm() local 1417 total_pages = 0; in meminit_hvm() 1423 total_pages += ((vmemranges[i].end - vmemranges[i].start) in meminit_hvm() 1429 if ( total_pages != nr_pages ) in meminit_hvm() [all …]
|
| A D | xc_dom_arm.c | 361 uint64_t ramsize = (uint64_t)dom->total_pages << XC_PAGE_SHIFT; in meminit()
|
| /xen/xen/arch/x86/mm/shadow/ |
| A D | common.c | 984 d->arch.paging.shadow.total_pages, in _shadow_prealloc() 1220 if ( d->arch.paging.shadow.total_pages in shadow_alloc_p2m_page() 1239 d->arch.paging.shadow.total_pages--; in shadow_alloc_p2m_page() 1271 d->arch.paging.shadow.total_pages++; in shadow_free_p2m_page() 1322 d->arch.paging.shadow.total_pages++; in shadow_set_allocation() 1341 d->arch.paging.shadow.total_pages--; in shadow_set_allocation() 2608 old_pages = d->arch.paging.shadow.total_pages; in shadow_enable() 2761 if ( d->arch.paging.shadow.total_pages != 0 ) in shadow_teardown() 2831 d->arch.paging.shadow.total_pages, in shadow_final_teardown() 2838 if ( d->arch.paging.shadow.total_pages != 0 ) in shadow_final_teardown() [all …]
|
| /xen/xen/arch/x86/pv/ |
| A D | shim.c | 103 total_pages - avail + (1UL << (20 - PAGE_SHIFT))); in pv_shim_mem() 108 if ( total_pages - avail > shim_nrpages ) in pv_shim_mem() 110 total_pages - avail, shim_nrpages); in pv_shim_mem() 112 shim_nrpages -= total_pages - avail; in pv_shim_mem() 115 total_pages - avail, shim_nrpages); in pv_shim_mem()
|
| /xen/tools/libxc/include/ |
| A D | xc_dom.h | 145 xen_pfn_t total_pages; member 433 if ( pfn >= dom->total_pages ) in xc_dom_p2m()
|
| /xen/xen/include/asm-x86/ |
| A D | domain.h | 99 unsigned int total_pages; /* number of pages allocated */ member 169 unsigned int total_pages; /* number of pages allocated */ member
|
| A D | mm.h | 327 extern unsigned long total_pages;
|
| /xen/xen/common/ |
| A D | sysctl.c | 267 pi->total_pages = total_pages; in do_sysctl()
|
| /xen/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/xen/arch/arm/ |
| A D | setup.c | 623 total_pages = ram_pages = ram_size >> PAGE_SHIFT; in setup_mm() 727 total_pages = 0; in setup_mm() 761 total_pages += ram_size >> PAGE_SHIFT; in setup_mm()
|
| A D | mm.c | 188 unsigned long total_pages; variable
|
| /xen/xen/include/asm-arm/ |
| A D | mm.h | 171 extern unsigned long total_pages;
|
| /xen/tools/helpers/ |
| A D | init-xenstore-domain.c | 306 val = a ? info.total_pages * a / (b * 1024 * 1024 / XC_PAGE_SIZE) : 0; in parse_maxmem()
|
| /xen/xen/arch/x86/x86_64/ |
| A D | mm.c | 1358 unsigned long old_max = max_page, old_total = total_pages; in memory_add() 1430 total_pages += epfn - spfn; in memory_add() 1473 total_pages = old_total; in memory_add()
|
| /xen/tools/libxl/ |
| A D | libxl.c | 372 physinfo->total_pages = xcphysinfo.total_pages; in libxl_get_physinfo()
|
| A D | libxl_types.idl | 1035 ("total_pages", uint64),
|
| /xen/tools/ocaml/libs/xc/ |
| A D | xenctrl.ml | 126 total_pages : nativeint; RecordField
|
| A D | xenctrl.mli | 110 total_pages : nativeint; RecordField
|
| A D | xenctrl_stubs.c | 728 Store_field(physinfo, 5, caml_copy_nativeint(c_physinfo.total_pages)); in stub_xc_physinfo()
|
| /xen/xen/include/public/ |
| A D | sysctl.h | 116 uint64_aligned_t total_pages; member
|
| /xen/tools/xenstat/libxenstat/src/ |
| A D | xenstat.c | 160 node->tot_mem = ((unsigned long long)physinfo.total_pages) in xenstat_get_node()
|
| /xen/tools/xl/ |
| A D | xl_info.c | 226 maybe_printf("total_memory : %"PRIu64"\n", info.total_pages / i); in output_physinfo()
|
| /xen/xen/arch/x86/ |
| A D | setup.c | 1596 total_pages = nr_pages; in __start_xen()
|