Lines Matching refs:zone_hi

781                                         unsigned int zone_hi,  in get_free_buddy()  argument
816 zone = zone_hi; in get_free_buddy()
874 unsigned int zone_lo, unsigned int zone_hi, in alloc_heap_pages() argument
889 ASSERT(zone_lo <= zone_hi); in alloc_heap_pages()
890 ASSERT(zone_hi < NR_ZONES); in alloc_heap_pages()
926 pg = get_free_buddy(zone_lo, zone_hi, order, memflags, d); in alloc_heap_pages()
929 pg = get_free_buddy(zone_lo, zone_hi, order, in alloc_heap_pages()
1763 unsigned int zone_lo, unsigned int zone_hi, unsigned int node) in avail_heap_pages() argument
1768 if ( zone_hi >= NR_ZONES ) in avail_heap_pages()
1769 zone_hi = NR_ZONES - 1; in avail_heap_pages()
1775 for ( zone = zone_lo; zone <= zone_hi; zone++ ) in avail_heap_pages()
2233 unsigned int bits = memflags >> _MEMF_bits, zone_hi = NR_ZONES - 1; in alloc_domheap_pages() local
2240 if ( (zone_hi = min_t(unsigned int, bits_to_zone(bits), zone_hi)) == 0 ) in alloc_domheap_pages()
2246 if ( dma_bitsize && ((dma_zone = bits_to_zone(dma_bitsize)) < zone_hi) ) in alloc_domheap_pages()
2247 pg = alloc_heap_pages(dma_zone + 1, zone_hi, order, memflags, d); in alloc_domheap_pages()
2251 ((pg = alloc_heap_pages(MEMZONE_XEN + 1, zone_hi, order, in alloc_domheap_pages()
2336 int zone_lo, zone_hi; in avail_domheap_pages_region() local
2341 zone_hi = max_width ? bits_to_zone(max_width) : (NR_ZONES - 1); in avail_domheap_pages_region()
2342 zone_hi = max_t(int, MEMZONE_XEN + 1, min_t(int, NR_ZONES - 1, zone_hi)); in avail_domheap_pages_region()
2344 return avail_heap_pages(zone_lo, zone_hi, node); in avail_domheap_pages_region()