/xen/xen/common/ |
A D | page_alloc.c | 944 ((memflags & MEMF_no_refcount) || in alloc_heap_pages() 2196 memflags &= ~MEMF_bits(~0U); in alloc_xenheap_pages() 2197 if ( !(memflags >> _MEMF_bits) ) in alloc_xenheap_pages() 2256 unsigned int memflags) in assign_pages() argument 2291 memflags &= ~MEMF_no_refcount; in assign_pages() 2306 if ( !(memflags & MEMF_no_refcount) && in assign_pages() 2340 if ( memflags & MEMF_no_owner ) in alloc_domheap_pages() 2341 memflags |= MEMF_no_refcount; in alloc_domheap_pages() 2344 memflags &= ~MEMF_no_dma; in alloc_domheap_pages() 2349 ((memflags & MEMF_no_dma) || in alloc_domheap_pages() [all …]
|
A D | memory.c | 43 unsigned int memflags; /* Allocation flags. */ member 183 a->memflags |= MEMF_no_tlbflush; in populate_physmap() 191 a->memflags |= MEMF_no_icache_flush; in populate_physmap() 207 if ( a->memflags & MEMF_populate_on_demand ) in populate_physmap() 283 if ( a->memflags & MEMF_no_icache_flush ) in populate_physmap() 508 *memflags |= MEMF_exact_node; in propagate_node() 525 unsigned int memflags = 0; in memory_exchange() local 960 a->memflags = 0; in construct_memop_from_reservation() 968 a->memflags = MEMF_bits(address_bits); in construct_memop_from_reservation() 989 a->memflags |= MEMF_node(pnode); in construct_memop_from_reservation() [all …]
|
A D | kimage.c | 71 static struct page_info *kimage_alloc_zeroed_page(unsigned memflags) in kimage_alloc_zeroed_page() argument 75 page = alloc_domheap_page(NULL, memflags); in kimage_alloc_zeroed_page() 288 struct kexec_image *image, unsigned memflags) in kimage_alloc_normal_control_page() argument 315 page = kimage_alloc_zeroed_page(memflags); in kimage_alloc_normal_control_page() 416 unsigned memflags) in kimage_alloc_control_page() argument 423 pages = kimage_alloc_normal_control_page(image, memflags); in kimage_alloc_control_page()
|
/xen/xen/arch/x86/ |
A D | smpboot.c | 643 unsigned int memflags = node != NUMA_NO_NODE ? MEMF_node(node) : 0; in alloc_stub_page() local 645 pg = alloc_domheap_page(NULL, memflags); in alloc_stub_page() 990 unsigned int i, memflags = 0; in cpu_smpboot_alloc() local 997 memflags = MEMF_node(node); in cpu_smpboot_alloc() 1001 stack_base[cpu] = alloc_xenheap_pages(STACK_ORDER, memflags); in cpu_smpboot_alloc() 1012 gdt = per_cpu(gdt, cpu) ?: alloc_xenheap_pages(0, memflags); in cpu_smpboot_alloc() 1023 per_cpu(compat_gdt, cpu) = gdt = alloc_xenheap_pages(0, memflags); in cpu_smpboot_alloc() 1033 idt_tables[cpu] = alloc_xenheap_pages(0, memflags); in cpu_smpboot_alloc()
|
A D | domain.c | 343 unsigned int memflags = in alloc_vcpu_struct() local 347 v = alloc_xenheap_pages(0, memflags); in alloc_vcpu_struct()
|
A D | mm.c | 4283 struct domain *d, struct page_info *page, unsigned int memflags) in steal_page() argument 4347 if ( !(memflags & MEMF_no_refcount) && !domain_adjust_tot_pages(d, -1) ) in steal_page()
|
/xen/xen/include/xen/ |
A D | kimage.h | 48 unsigned memflags);
|
A D | mm.h | 165 void *alloc_xenheap_pages(unsigned int order, unsigned int memflags); 201 struct domain *d, unsigned int order, unsigned int memflags); 219 unsigned int memflags); 619 unsigned int memflags);
|
/xen/tools/libxc/ |
A D | xc_dom_x86.c | 1263 unsigned int memflags; in meminit_pv() local 1269 memflags = 0; in meminit_pv() 1271 memflags |= XENMEMF_exact_node(pnode); in meminit_pv() 1290 SUPERPAGE_2MB_SHIFT, memflags, in meminit_pv() 1310 allocsz, 0, memflags, &dom->pv_p2m[pfn_base + j]); in meminit_pv() 1357 unsigned int memflags = 0; in meminit_hvm() local 1369 memflags |= XENMEMF_populate_on_demand; in meminit_hvm() 1454 if ( memflags & XENMEMF_populate_on_demand ) in meminit_hvm() 1487 xch, domid, 0xa0, 0, memflags, extents); in meminit_hvm() 1498 unsigned int new_memflags = memflags; in meminit_hvm()
|
/xen/xen/arch/x86/x86_64/ |
A D | mm.c | 480 unsigned int n, memflags; in paging_init() local 528 memflags = MEMF_node(phys_to_nid(i << in paging_init() 552 memflags)) != NULL ) in paging_init() 579 memflags)) == NULL ) in paging_init() 630 memflags = MEMF_node(phys_to_nid(i << in paging_init() 638 memflags)) == NULL ) in paging_init()
|
/xen/xen/drivers/char/ |
A D | console.c | 1026 unsigned int i, order, memflags; in console_init_ring() local 1033 memflags = MEMF_bits(crashinfo_maxaddr_bits); in console_init_ring() 1034 while ( (ring = alloc_xenheap_pages(order, memflags)) == NULL ) in console_init_ring()
|
/xen/xen/arch/x86/hvm/svm/ |
A D | svm.c | 1465 unsigned int memflags = 0; in svm_cpu_up_prepare() local 1469 memflags = MEMF_node(node); in svm_cpu_up_prepare() 1473 pg = alloc_domheap_page(NULL, memflags); in svm_cpu_up_prepare() 1483 pg = alloc_domheap_page(NULL, memflags); in svm_cpu_up_prepare()
|
/xen/xen/arch/arm/ |
A D | mm.c | 1363 struct domain *d, struct page_info *page, unsigned int memflags) in steal_page() argument
|