Lines Matching refs:memflags

42     unsigned int memflags;     /* Allocation flags. */  member
121 page = alloc_domheap_pages(d, a->extent_order, a->memflags); in increase_reservation()
126 a->extent_order, d->domain_id, a->memflags, in increase_reservation()
158 if ( a->extent_order > (a->memflags & MEMF_populate_on_demand ? MAX_ORDER : in populate_physmap()
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()
234 page = alloc_domheap_pages(d, a->extent_order, a->memflags); in populate_physmap()
241 a->extent_order, d->domain_id, a->memflags, in populate_physmap()
246 if ( unlikely(a->memflags & MEMF_no_tlbflush) ) in populate_physmap()
274 if ( a->memflags & MEMF_no_icache_flush ) in populate_physmap()
437 static bool propagate_node(unsigned int xmf, unsigned int *memflags) in propagate_node() argument
452 *memflags |= MEMF_node(XENMEMF_get_node(xmf)); in propagate_node()
454 *memflags |= MEMF_exact_node; in propagate_node()
470 unsigned int memflags = 0; in memory_exchange() local
534 if ( unlikely(!propagate_node(exch.out.mem_flags, &memflags)) ) in memory_exchange()
554 memflags |= MEMF_bits(domain_clamp_alloc_bitsize( in memory_exchange()
625 MEMF_no_owner | memflags); in memory_exchange()
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()
920 a->memflags |= MEMF_exact_node; in construct_memop_from_reservation()
925 else if ( unlikely(!propagate_node(r->mem_flags, &a->memflags)) ) in construct_memop_from_reservation()
1018 args.memflags |= MEMF_populate_on_demand; in do_memory_op()