Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dmmzone.h345 #define min_wmark_pages(z) (z->_watermark[WMARK_MIN] + z->watermark_boost)
346 #define low_wmark_pages(z) (z->_watermark[WMARK_LOW] + z->watermark_boost)
347 #define high_wmark_pages(z) (z->_watermark[WMARK_HIGH] + z->watermark_boost)
348 #define wmark_pages(z, i) (z->_watermark[i] + z->watermark_boost)
463 unsigned long _watermark[NR_WMARK]; member
/kernel/linux/linux-5.10/mm/
Dpage_alloc.c2495 max_boost = mult_frac(zone->_watermark[WMARK_HIGH], in boost_watermark()
3328 watermark = zone->_watermark[WMARK_MIN] + (1UL << order); in __isolate_free_page()
3733 mark = z->_watermark[WMARK_MIN]; in zone_watermark_fast()
7971 zone->_watermark[WMARK_MIN] = min_pages; in __setup_per_zone_wmarks()
7977 zone->_watermark[WMARK_MIN] = tmp; in __setup_per_zone_wmarks()
7990 zone->_watermark[WMARK_LOW] = min_wmark_pages(zone) + tmp; in __setup_per_zone_wmarks()
7991 zone->_watermark[WMARK_HIGH] = min_wmark_pages(zone) + tmp * 2; in __setup_per_zone_wmarks()