Searched refs:nr_pfns (Results 1 – 12 of 12) sorted by relevance
/xen/tools/libxc/ |
A D | xc_sr_save.c | 105 assert(nr_pfns != 0); in write_batch() 108 mfns = malloc(nr_pfns * sizeof(*mfns)); in write_batch() 110 types = malloc(nr_pfns * sizeof(*types)); in write_batch() 112 errors = malloc(nr_pfns * sizeof(*errors)); in write_batch() 123 nr_pfns); in write_batch() 127 for ( i = 0; i < nr_pfns; ++i ) in write_batch() 148 for ( i = 0; i < nr_pfns; ++i ) in write_batch() 219 nr_pfns * sizeof(*rec_pfns)); in write_batch() 223 hdr.count = nr_pfns; in write_batch() 229 for ( i = 0; i < nr_pfns; ++i ) in write_batch() [all …]
|
A D | xc_sr_save_x86_hvm.c | 141 xen_pfn_t nr_pfns; in x86_hvm_setup() local 143 if ( xc_domain_nr_gpfns(xch, ctx->domid, &nr_pfns) < 0 ) in x86_hvm_setup() 150 if ( nr_pfns > 0x0fffffff ) in x86_hvm_setup() 158 ctx->save.p2m_size = nr_pfns; in x86_hvm_setup()
|
A D | xc_dom_arm.c | 239 xen_pfn_t base_pfn, xen_pfn_t *nr_pfns, in populate_one_size() argument 251 xen_pfn_t end_pfn = base_pfn + *nr_pfns; in populate_one_size() 283 *nr_pfns = nr << pfn_shift; in populate_one_size() 289 xen_pfn_t base_pfn, xen_pfn_t nr_pfns) in populate_guest_memory() argument 304 (uint64_t)(base_pfn + nr_pfns) << XC_PAGE_SHIFT, in populate_guest_memory() 305 (uint64_t)nr_pfns >> (20-XC_PAGE_SHIFT)); in populate_guest_memory() 307 for ( pfn = 0; pfn < nr_pfns; pfn += allocsz ) in populate_guest_memory() 309 allocsz = min_t(int, 1024*1024, nr_pfns - pfn); in populate_guest_memory()
|
A D | xc_sr_restore.c | 143 unsigned int i, nr_pfns = 0; in populate_pfns() local 163 pfns[nr_pfns] = mfns[nr_pfns] = original_pfns[i]; in populate_pfns() 164 ++nr_pfns; in populate_pfns() 168 if ( nr_pfns ) in populate_pfns() 171 xch, ctx->domid, nr_pfns, 0, 0, mfns); in populate_pfns() 178 for ( i = 0; i < nr_pfns; ++i ) in populate_pfns() 894 xen_pfn_t nr_pfns; in xc_domain_restore() local 949 if ( xc_domain_nr_gpfns(xch, dom, &nr_pfns) < 0 ) in xc_domain_restore() 955 ctx.restore.p2m_size = nr_pfns; in xc_domain_restore()
|
A D | xc_domain.c | 49 xen_pfn_t start_pfn, xen_pfn_t nr_pfns) in xc_domain_cacheflush() argument 64 domctl.u.cacheflush.nr_pfns = nr_pfns; in xc_domain_cacheflush()
|
/xen/xen/arch/arm/ |
A D | domctl.c | 56 gfn_t e = gfn_add(s, domctl->u.cacheflush.nr_pfns); in arch_do_domctl() 59 if ( domctl->u.cacheflush.nr_pfns > (1U<<MAX_ORDER) ) in arch_do_domctl()
|
/xen/xen/common/ |
A D | page_alloc.c | 393 mfn_t __init alloc_boot_pages(unsigned long nr_pfns, unsigned long pfn_align) in alloc_boot_pages() argument 404 pg = (r->e - nr_pfns) & ~(pfn_align - 1); in alloc_boot_pages() 419 if ( pg + nr_pfns > PFN_DOWN(highmem_start) ) in alloc_boot_pages() 421 r->s = pg + nr_pfns; in alloc_boot_pages() 428 bootmem_region_add(pg + nr_pfns, _e); in alloc_boot_pages()
|
/xen/tools/ocaml/libs/xc/ |
A D | xenctrl_stubs.c | 1046 value start_pfn, value nr_pfns, in stub_xc_domain_iomem_permission() argument 1049 CAMLparam5(xch, domid, start_pfn, nr_pfns, allow); in stub_xc_domain_iomem_permission() 1055 c_nr_pfns = Nativeint_val(nr_pfns); in stub_xc_domain_iomem_permission()
|
/xen/xen/include/public/ |
A D | domctl.h | 931 xen_pfn_t start_pfn, nr_pfns; member
|
/xen/xen/include/xen/ |
A D | mm.h | 159 mfn_t alloc_boot_pages(unsigned long nr_pfns, unsigned long pfn_align);
|
/xen/tools/python/xen/lowlevel/xc/ |
A D | xc.c | 1426 unsigned long first_pfn, nr_pfns, allow_access, ret; in pyxc_domain_iomem_permission() local 1431 &dom, &first_pfn, &nr_pfns, &allow_access) ) in pyxc_domain_iomem_permission() 1435 xc->xc_handle, dom, first_pfn, nr_pfns, allow_access); in pyxc_domain_iomem_permission()
|
/xen/tools/libxc/include/ |
A D | xenctrl.h | 2653 xen_pfn_t start_pfn, xen_pfn_t nr_pfns);
|
Completed in 36 milliseconds