Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dmmzone.h314 #define min_wmark_pages(z) (z->_watermark[WMARK_MIN] + z->watermark_boost)
315 #define low_wmark_pages(z) (z->_watermark[WMARK_LOW] + z->watermark_boost)
316 #define high_wmark_pages(z) (z->_watermark[WMARK_HIGH] + z->watermark_boost)
317 #define wmark_pages(z, i) (z->_watermark[i] + z->watermark_boost)
452 unsigned long _watermark[NR_WMARK]; member
/Linux-v5.10/mm/
Dpage_alloc.c2488 max_boost = mult_frac(zone->_watermark[WMARK_HIGH], in boost_watermark()
3292 watermark = zone->_watermark[WMARK_MIN] + (1UL << order); in __isolate_free_page()
3696 mark = z->_watermark[WMARK_MIN]; in zone_watermark_fast()
7860 zone->_watermark[WMARK_MIN] = min_pages; in __setup_per_zone_wmarks()
7866 zone->_watermark[WMARK_MIN] = tmp; in __setup_per_zone_wmarks()
7879 zone->_watermark[WMARK_LOW] = min_wmark_pages(zone) + tmp; in __setup_per_zone_wmarks()
7880 zone->_watermark[WMARK_HIGH] = min_wmark_pages(zone) + tmp * 2; in __setup_per_zone_wmarks()