/xen-4.10.0-shim-comet/xen/common/ |
A D | domctl.c | 980 unsigned long nr_mfns = op->u.iomem_permission.nr_mfns; in do_domctl() local 984 if ( (mfn + nr_mfns - 1) < mfn ) /* wrap? */ in do_domctl() 988 mfn, mfn + nr_mfns - 1) || in do_domctl() 994 ret = iomem_deny_access(d, mfn, mfn + nr_mfns - 1); in do_domctl() 1004 unsigned long nr_mfns = op->u.memory_mapping.nr_mfns; in do_domctl() local 1005 unsigned long mfn_end = mfn + nr_mfns - 1; in do_domctl() 1011 (gfn + nr_mfns - 1) < gfn ) /* wrap? */ in do_domctl() 1017 if ( nr_mfns > 64 ) in do_domctl() 1034 d->domain_id, gfn, mfn, nr_mfns); in do_domctl() 1040 d->domain_id, gfn, mfn, nr_mfns, ret); in do_domctl() [all …]
|
/xen-4.10.0-shim-comet/xen/arch/arm/ |
A D | mm.c | 358 unsigned long nr_mfns, in create_mappings() argument 368 ASSERT(!(nr_mfns % granularity)); in create_mappings() 370 count = nr_mfns / LPAE_ENTRIES; in create_mappings() 804 unsigned long nr_mfns) in setup_xenheap_mappings() argument 811 xenheap_mfn_end = _mfn(base_mfn + nr_mfns); in setup_xenheap_mappings() 815 unsigned long nr_mfns) in setup_xenheap_mappings() argument 836 end_mfn = base_mfn + nr_mfns; in setup_xenheap_mappings() 988 unsigned long nr_mfns, in create_xen_entries() argument 1059 flush_xen_data_tlb_range_va(virt, PAGE_SIZE * nr_mfns); in create_xen_entries() 1069 unsigned long nr_mfns, in map_pages_to_xen() argument [all …]
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | platform_hypercall.c | 229 op->u.add_memtype.nr_mfns, in do_platform_op() 261 unsigned long mfn, nr_mfns; in do_platform_op() local 267 mtrr_if->get(op->u.read_memtype.reg, &mfn, &nr_mfns, &type); in do_platform_op() 269 op->u.read_memtype.nr_mfns = nr_mfns; in do_platform_op()
|
A D | mm.c | 4598 unsigned long nr_mfns, in map_pages_to_xen() argument 4620 while ( nr_mfns != 0 ) in map_pages_to_xen() 4701 if ( i > nr_mfns ) in map_pages_to_xen() 4702 i = nr_mfns; in map_pages_to_xen() 4705 nr_mfns -= i; in map_pages_to_xen() 4798 if ( i > nr_mfns ) in map_pages_to_xen() 4799 i = nr_mfns; in map_pages_to_xen() 4802 nr_mfns -= i; in map_pages_to_xen() 4847 nr_mfns -= 1UL; in map_pages_to_xen() 4850 ((nr_mfns == 0) || in map_pages_to_xen() [all …]
|
/xen-4.10.0-shim-comet/tools/firmware/hvmloader/ |
A D | util.h | 198 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 D | util.c | 401 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-4.10.0-shim-comet/xen/include/public/ |
A D | platform.h | 74 uint64_t nr_mfns; member 106 uint64_t nr_mfns; member
|
A D | domctl.h | 421 uint64_aligned_t nr_mfns; /* number of pages in range (>0) */ member 573 uint64_aligned_t nr_mfns; /* number of pages in range (>0) */ member
|
/xen-4.10.0-shim-comet/tools/libxc/ |
A D | xc_domain.c | 1441 unsigned long nr_mfns, in xc_domain_iomem_permission() argument 1449 domctl.u.iomem_permission.nr_mfns = nr_mfns; in xc_domain_iomem_permission() 2076 unsigned long nr_mfns, in xc_domain_memory_mapping() argument 2093 if ( !nr_mfns ) in xc_domain_memory_mapping() 2099 max_batch_sz = nr_mfns; in xc_domain_memory_mapping() 2102 nr = min_t(unsigned long, nr_mfns - done, max_batch_sz); in xc_domain_memory_mapping() 2103 domctl.u.memory_mapping.nr_mfns = nr; in xc_domain_memory_mapping() 2127 } while ( done < nr_mfns ); in xc_domain_memory_mapping() 2134 xc_domain_memory_mapping(xch, domid, first_gfn, first_mfn, nr_mfns, in xc_domain_memory_mapping()
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | mm.h | 169 unsigned long nr_mfns, 179 unsigned long nr_mfns);
|
/xen-4.10.0-shim-comet/xen/include/asm-arm/ |
A D | mm.h | 191 extern void setup_xenheap_mappings(unsigned long base_mfn, unsigned long nr_mfns);
|
/xen-4.10.0-shim-comet/tools/libxc/include/ |
A D | xenctrl.h | 1473 unsigned long nr_mfns, 1747 unsigned long nr_mfns,
|