Lines Matching refs:watermarks
389 if (zone_free_pages(z, order) > z->watermarks[class_idx].low) { in __alloc_pages()
408 min = z->watermarks[class_idx].min; in __alloc_pages()
451 if (zone_free_pages(z, order) > z->watermarks[class_idx].min) { in __alloc_pages()
468 if (zone_free_pages(z, order) > z->watermarks[class_idx].high) { in __alloc_pages()
555 int free = zone->free_pages - zone->watermarks[class_idx].high; in nr_free_buffer_pages()
851 zone->watermarks[j].min = mask; in free_area_init_core()
852 zone->watermarks[j].low = mask*2; in free_area_init_core()
853 zone->watermarks[j].high = mask*3; in free_area_init_core()
861 mask = lower_zone->watermarks[idx].min; in free_area_init_core()
862 lower_zone->watermarks[j].min = mask; in free_area_init_core()
863 lower_zone->watermarks[j].low = mask*2; in free_area_init_core()
864 lower_zone->watermarks[j].high = mask*3; in free_area_init_core()
868 lower_zone->watermarks[j].min += lower_zone_reserve; in free_area_init_core()
869 lower_zone->watermarks[j].low += lower_zone_reserve; in free_area_init_core()
870 lower_zone->watermarks[j].high += lower_zone_reserve; in free_area_init_core()