Home
last modified time | relevance | path

Searched refs:total_pages (Results 1 – 25 of 28) sorted by relevance

12

/xen-4.10.0-shim-comet/xen/arch/x86/mm/hap/
A Dhap.c287 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 Dxc_dom_core.c441 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 Dxc_dom_x86.c733 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 Dxc_dom_arm.c382 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 Dcommon.c1247 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 Dshim.c96 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 Dxc_dom.h151 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 Ddomain.h98 unsigned int total_pages; /* number of pages allocated */ member
160 unsigned int total_pages; /* number of pages allocated */ member
A Dmm.h307 extern unsigned long total_pages;
/xen-4.10.0-shim-comet/xen/common/
A Dsysctl.c264 pi->total_pages = total_pages; in do_sysctl()
/xen-4.10.0-shim-comet/stubdom/grub/
A Dkexec.c279 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 Dsetup.c506 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 Dmm.c158 unsigned long total_pages; variable
/xen-4.10.0-shim-comet/tools/helpers/
A Dinit-xenstore-domain.c284 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 Dmm.h174 extern unsigned long total_pages;
/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl.c372 physinfo->total_pages = xcphysinfo.total_pages; in libxl_get_physinfo()
A Dlibxl_types.idl915 ("total_pages", uint64),
/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/
A Dmm.c1349 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 Dxenctrl.mli79 total_pages : nativeint; RecordField
A Dxenctrl.ml97 total_pages : nativeint; RecordField
A Dxenctrl_stubs.c669 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 Dsysctl.h100 uint64_aligned_t total_pages; member
/xen-4.10.0-shim-comet/tools/xenstat/libxenstat/src/
A Dxenstat.c188 node->tot_mem = ((unsigned long long)physinfo.total_pages) in xenstat_get_node()
/xen-4.10.0-shim-comet/tools/xl/
A Dxl_info.c221 maybe_printf("total_memory : %"PRIu64"\n", info.total_pages / i); in output_physinfo()
/xen-4.10.0-shim-comet/tools/golang/xenlight/
A Dxenlight.go190 physinfo.TotalPages = uint64(cphys.total_pages)

Completed in 106 milliseconds

12