/xen-4.10.0-shim-comet/xen/common/ |
A D | page_alloc.c | 903 ((memflags & MEMF_no_refcount) || in alloc_heap_pages() 928 if ( !pg && !(memflags & MEMF_no_scrub) ) in alloc_heap_pages() 984 if ( !(memflags & MEMF_no_tlbflush) ) in alloc_heap_pages() 2120 memflags &= ~MEMF_bits(~0U); in alloc_xenheap_pages() 2121 if ( !(memflags >> _MEMF_bits) ) in alloc_xenheap_pages() 2122 memflags |= MEMF_bits(xenheap_bits); in alloc_xenheap_pages() 2180 unsigned int memflags) in assign_pages() argument 2195 if ( !(memflags & MEMF_no_refcount) ) in assign_pages() 2243 if ( memflags & MEMF_no_owner ) in alloc_domheap_pages() 2244 memflags |= MEMF_no_refcount; in alloc_domheap_pages() [all …]
|
A D | memory.c | 42 unsigned int memflags; /* Allocation flags. */ member 172 a->memflags |= MEMF_no_tlbflush; in populate_physmap() 180 a->memflags |= MEMF_no_icache_flush; in populate_physmap() 194 if ( a->memflags & MEMF_populate_on_demand ) in populate_physmap() 274 if ( a->memflags & MEMF_no_icache_flush ) in populate_physmap() 454 *memflags |= MEMF_exact_node; in propagate_node() 470 unsigned int memflags = 0; in memory_exchange() local 889 a->memflags = 0; in construct_memop_from_reservation() 897 a->memflags = MEMF_bits(address_bits); in construct_memop_from_reservation() 918 a->memflags |= MEMF_node(pnode); in construct_memop_from_reservation() [all …]
|
A D | kimage.c | 77 static struct page_info *kimage_alloc_zeroed_page(unsigned memflags) in kimage_alloc_zeroed_page() argument 81 page = alloc_domheap_page(NULL, memflags); in kimage_alloc_zeroed_page() 294 struct kexec_image *image, unsigned memflags) in kimage_alloc_normal_control_page() argument 321 page = kimage_alloc_zeroed_page(memflags); in kimage_alloc_normal_control_page() 422 unsigned memflags) in kimage_alloc_control_page() argument 429 pages = kimage_alloc_normal_control_page(image, memflags); in kimage_alloc_control_page()
|
A D | tmem.c | 2022 void *tmem_relinquish_pages(unsigned int order, unsigned int memflags) in tmem_relinquish_pages() argument 2050 if ( !(memflags & MEMF_tmem) ) in tmem_relinquish_pages()
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | smpboot.c | 613 unsigned int memflags = node != NUMA_NO_NODE ? MEMF_node(node) : 0; in alloc_stub_page() local 615 pg = alloc_domheap_page(NULL, memflags); in alloc_stub_page() 699 unsigned int i, order, memflags = 0; in cpu_smpboot_alloc() local 705 memflags = MEMF_node(node); in cpu_smpboot_alloc() 707 stack_base[cpu] = alloc_xenheap_pages(STACK_ORDER, memflags); in cpu_smpboot_alloc() 713 per_cpu(gdt_table, cpu) = gdt = alloc_xenheap_pages(order, memflags); in cpu_smpboot_alloc() 720 per_cpu(compat_gdt_table, cpu) = gdt = alloc_xenheap_pages(order, memflags); in cpu_smpboot_alloc() 727 idt_tables[cpu] = alloc_xenheap_pages(order, memflags); in cpu_smpboot_alloc()
|
A D | mm.c | 3795 struct domain *d, struct page_info *page, unsigned int memflags) in donate_page() argument 3810 if ( !(memflags & MEMF_no_refcount) ) in donate_page() 3835 struct domain *d, struct page_info *page, unsigned int memflags) in steal_page() argument 3881 if ( !(memflags & MEMF_no_refcount) && !domain_adjust_tot_pages(d, -1) ) in steal_page()
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | mm.h | 160 void *alloc_xenheap_pages(unsigned int order, unsigned int memflags); 188 struct domain *d, unsigned int order, unsigned int memflags); 207 unsigned int memflags); 585 unsigned int memflags); 587 unsigned int memflags);
|
A D | kimage.h | 48 unsigned memflags);
|
/xen-4.10.0-shim-comet/tools/libxc/ |
A D | xc_dom_x86.c | 1141 unsigned int memflags; in meminit_pv() local 1147 memflags = 0; in meminit_pv() 1149 memflags |= XENMEMF_exact_node(pnode); in meminit_pv() 1168 SUPERPAGE_2MB_SHIFT, memflags, in meminit_pv() 1188 allocsz, 0, memflags, &dom->p2m_host[pfn_base + j]); in meminit_pv() 1235 unsigned int memflags = 0; in meminit_hvm() local 1247 memflags |= XENMEMF_populate_on_demand; in meminit_hvm() 1351 if ( memflags & XENMEMF_populate_on_demand ) in meminit_hvm() 1382 xch, domid, 0xa0, 0, memflags, &dom->p2m_host[0x00]); in meminit_hvm() 1393 unsigned int new_memflags = memflags; in meminit_hvm()
|
/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/ |
A D | mm.c | 494 unsigned int n, memflags; in paging_init() local 542 memflags = MEMF_node(phys_to_nid(i << in paging_init() 566 memflags)) != NULL ) in paging_init() 592 memflags)) == NULL ) in paging_init() 650 memflags = MEMF_node(phys_to_nid(i << in paging_init() 658 memflags)) == NULL ) in paging_init()
|
/xen-4.10.0-shim-comet/xen/drivers/char/ |
A D | console.c | 871 unsigned int i, order, memflags; in console_init_ring() local 878 memflags = MEMF_bits(crashinfo_maxaddr_bits); in console_init_ring() 879 while ( (ring = alloc_xenheap_pages(order, memflags)) == NULL ) in console_init_ring()
|
/xen-4.10.0-shim-comet/xen/arch/x86/hvm/svm/ |
A D | svm.c | 1512 unsigned int memflags = 0; in svm_cpu_up_prepare() local 1516 memflags = MEMF_node(node); in svm_cpu_up_prepare() 1520 pg = alloc_domheap_page(NULL, memflags); in svm_cpu_up_prepare() 1530 pg = alloc_domheap_page(NULL, memflags); in svm_cpu_up_prepare()
|
/xen-4.10.0-shim-comet/xen/arch/arm/ |
A D | mm.c | 1167 int donate_page(struct domain *d, struct page_info *page, unsigned int memflags) in donate_page() argument 1174 struct domain *d, struct page_info *page, unsigned int memflags) in steal_page() argument
|