Home
last modified time | relevance | path

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

/xen/xen/common/
A Dpage_alloc.c449 static heap_by_zone_and_order_t *_heap[MAX_NUMNODES]; variable
450 #define heap(node, zone, order) ((*_heap[node])[zone][order])
574 unsigned long needed = (sizeof(**_heap) + in init_node_heap()
581 _heap[node] = &_heap_static; in init_node_heap()
591 _heap[node] = mfn_to_virt(mfn + nr - needed); in init_node_heap()
600 _heap[node] = mfn_to_virt(mfn); in init_node_heap()
605 else if ( get_order_from_bytes(sizeof(**_heap)) == in init_node_heap()
609 BUG_ON(!_heap[node]); in init_node_heap()
610 avail[node] = (void *)_heap[node] + (needed << PAGE_SHIFT) - in init_node_heap()
616 _heap[node] = xmalloc(heap_by_zone_and_order_t); in init_node_heap()
[all …]

Completed in 6 milliseconds