Home
last modified time | relevance | path

Searched refs:nr_mfns (Results 1 – 12 of 12) sorted by relevance

/xen/xen/common/
A Ddomctl.c788 unsigned long nr_mfns = op->u.iomem_permission.nr_mfns; in do_domctl() local
792 if ( (mfn + nr_mfns - 1) < mfn ) /* wrap? */ in do_domctl()
796 mfn, mfn + nr_mfns - 1) || in do_domctl()
802 ret = iomem_deny_access(d, mfn, mfn + nr_mfns - 1); in do_domctl()
812 unsigned long nr_mfns = op->u.memory_mapping.nr_mfns; in do_domctl() local
813 unsigned long mfn_end = mfn + nr_mfns - 1; in do_domctl()
819 (gfn + nr_mfns - 1) < gfn ) /* wrap? */ in do_domctl()
825 if ( nr_mfns > 64 ) in do_domctl()
842 d->domain_id, gfn, mfn, nr_mfns); in do_domctl()
848 d->domain_id, gfn, mfn, nr_mfns, ret); in do_domctl()
[all …]
/xen/xen/arch/arm/
A Dmm.c389 unsigned long nr_mfns, in create_mappings() argument
399 ASSERT(!(nr_mfns % granularity)); in create_mappings()
401 count = nr_mfns / LPAE_ENTRIES; in create_mappings()
802 unsigned long nr_mfns) in setup_xenheap_mappings() argument
809 xenheap_mfn_end = _mfn(base_mfn + nr_mfns); in setup_xenheap_mappings()
813 unsigned long nr_mfns) in setup_xenheap_mappings() argument
835 end_mfn = base_mfn + nr_mfns; in setup_xenheap_mappings()
1235 unsigned long nr_mfns, in xen_pt_update() argument
1286 flush_xen_tlb_range_va(virt, PAGE_SIZE * nr_mfns); in xen_pt_update()
1295 unsigned long nr_mfns, in map_pages_to_xen() argument
[all …]
/xen/xen/arch/x86/
A Dplatform_hypercall.c234 op->u.add_memtype.nr_mfns, in do_platform_op()
266 unsigned long mfn, nr_mfns; in do_platform_op() local
272 mtrr_if->get(op->u.read_memtype.reg, &mfn, &nr_mfns, &type); in do_platform_op()
274 op->u.read_memtype.nr_mfns = nr_mfns; in do_platform_op()
A Dmm.c5205 unsigned long nr_mfns, in map_pages_to_xen() argument
5231 while ( nr_mfns != 0 ) in map_pages_to_xen()
5321 if ( i > nr_mfns ) in map_pages_to_xen()
5322 i = nr_mfns; in map_pages_to_xen()
5326 nr_mfns -= i; in map_pages_to_xen()
5422 if ( i > nr_mfns ) in map_pages_to_xen()
5423 i = nr_mfns; in map_pages_to_xen()
5427 nr_mfns -= i; in map_pages_to_xen()
5473 nr_mfns -= 1UL; in map_pages_to_xen()
5476 ((nr_mfns == 0) || in map_pages_to_xen()
[all …]
/xen/tools/firmware/hvmloader/
A Dutil.h198 void mem_hole_populate_ram(xen_pfn_t mfn, uint32_t nr_mfns);
201 xen_pfn_t mem_hole_alloc(uint32_t nr_mfns);
A Dutil.c401 void mem_hole_populate_ram(xen_pfn_t mfn, uint32_t nr_mfns) in mem_hole_populate_ram() argument
407 for ( ; nr_mfns-- != 0; mfn++ ) in mem_hole_populate_ram()
447 xen_pfn_t mem_hole_alloc(uint32_t nr_mfns) in mem_hole_alloc() argument
449 alloc_down -= nr_mfns << PAGE_SHIFT; in mem_hole_alloc()
/xen/tools/libxc/
A Dxc_domain.c1415 unsigned long nr_mfns, in xc_domain_iomem_permission() argument
1423 domctl.u.iomem_permission.nr_mfns = nr_mfns; in xc_domain_iomem_permission()
2026 unsigned long nr_mfns, in xc_domain_memory_mapping() argument
2043 if ( !nr_mfns ) in xc_domain_memory_mapping()
2049 max_batch_sz = nr_mfns; in xc_domain_memory_mapping()
2052 nr = min_t(unsigned long, nr_mfns - done, max_batch_sz); in xc_domain_memory_mapping()
2053 domctl.u.memory_mapping.nr_mfns = nr; in xc_domain_memory_mapping()
2077 } while ( done < nr_mfns ); in xc_domain_memory_mapping()
2084 xc_domain_memory_mapping(xch, domid, first_gfn, first_mfn, nr_mfns, in xc_domain_memory_mapping()
/xen/xen/include/public/
A Dplatform.h74 uint64_t nr_mfns; member
106 uint64_t nr_mfns; member
A Ddomctl.h447 uint64_aligned_t nr_mfns; /* number of pages in range (>0) */ member
599 uint64_aligned_t nr_mfns; /* number of pages in range (>0) */ member
/xen/xen/include/xen/
A Dmm.h182 unsigned long nr_mfns,
191 int populate_pt_range(unsigned long virt, unsigned long nr_mfns);
/xen/xen/include/asm-arm/
A Dmm.h188 extern void setup_xenheap_mappings(unsigned long base_mfn, unsigned long nr_mfns);
/xen/tools/libxc/include/
A Dxenctrl.h1459 unsigned long nr_mfns,
1720 unsigned long nr_mfns,

Completed in 40 milliseconds