Searched refs:nr_pfns (Results 1 – 8 of 8) sorted by relevance
| /tools/libs/guest/ |
| A D | xg_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() 215 nr_pfns * sizeof(*rec_pfns)); in write_batch() 219 hdr.count = nr_pfns; in write_batch() 225 for ( i = 0; i < nr_pfns; ++i ) in write_batch() [all …]
|
| A D | xg_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 | xg_dom_arm.c | 238 xen_pfn_t base_pfn, xen_pfn_t *nr_pfns, in populate_one_size() argument 250 xen_pfn_t end_pfn = base_pfn + *nr_pfns; in populate_one_size() 282 *nr_pfns = nr << pfn_shift; in populate_one_size() 288 xen_pfn_t base_pfn, xen_pfn_t nr_pfns) in populate_guest_memory() argument 303 (uint64_t)(base_pfn + nr_pfns) << XC_PAGE_SHIFT, in populate_guest_memory() 304 (uint64_t)nr_pfns >> (20-XC_PAGE_SHIFT)); in populate_guest_memory() 306 for ( pfn = 0; pfn < nr_pfns; pfn += allocsz ) in populate_guest_memory() 308 allocsz = min_t(int, 1024*1024, nr_pfns - pfn); in populate_guest_memory()
|
| A D | xg_sr_restore.c | 143 unsigned int i, nr_pfns = 0; in populate_pfns() local 161 pfns[nr_pfns] = mfns[nr_pfns] = original_pfns[i]; in populate_pfns() 162 ++nr_pfns; in populate_pfns() 166 if ( nr_pfns ) in populate_pfns() 169 xch, ctx->domid, nr_pfns, 0, 0, mfns); in populate_pfns() 176 for ( i = 0; i < nr_pfns; ++i ) in populate_pfns() 856 xen_pfn_t nr_pfns; in xc_domain_restore() local 906 if ( xc_domain_nr_gpfns(xch, dom, &nr_pfns) < 0 ) in xc_domain_restore() 912 ctx.restore.p2m_size = nr_pfns; in xc_domain_restore()
|
| /tools/ocaml/libs/xc/ |
| A D | xenctrl_stubs.c | 1229 value start_pfn, value nr_pfns, in stub_xc_domain_iomem_permission() argument 1232 CAMLparam5(xch_val, domid, start_pfn, nr_pfns, allow); in stub_xc_domain_iomem_permission() 1239 c_nr_pfns = Nativeint_val(nr_pfns); in stub_xc_domain_iomem_permission()
|
| /tools/python/xen/lowlevel/xc/ |
| A D | xc.c | 1455 unsigned long first_pfn, nr_pfns, allow_access, ret; in pyxc_domain_iomem_permission() local 1460 &dom, &first_pfn, &nr_pfns, &allow_access) ) in pyxc_domain_iomem_permission() 1464 xc->xc_handle, dom, first_pfn, nr_pfns, allow_access); in pyxc_domain_iomem_permission()
|
| /tools/libs/ctrl/ |
| A D | xc_domain.c | 46 xen_pfn_t start_pfn, xen_pfn_t nr_pfns) in xc_domain_cacheflush() argument 61 domctl.u.cacheflush.nr_pfns = nr_pfns; in xc_domain_cacheflush()
|
| /tools/include/ |
| A D | xenctrl.h | 2652 xen_pfn_t start_pfn, xen_pfn_t nr_pfns);
|
Completed in 32 milliseconds