Home
last modified time | relevance | path

Searched refs:memflags (Results 1 – 13 of 13) sorted by relevance

/xen/xen/common/
A Dpage_alloc.c944 ((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 Dmemory.c43 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 Dkimage.c71 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 Dsmpboot.c643 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 Ddomain.c343 unsigned int memflags = in alloc_vcpu_struct() local
347 v = alloc_xenheap_pages(0, memflags); in alloc_vcpu_struct()
A Dmm.c4283 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 Dkimage.h48 unsigned memflags);
A Dmm.h165 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 Dxc_dom_x86.c1263 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 Dmm.c480 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 Dconsole.c1026 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 Dsvm.c1465 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 Dmm.c1363 struct domain *d, struct page_info *page, unsigned int memflags) in steal_page() argument

Completed in 44 milliseconds