Home
last modified time | relevance | path

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

/mm/
Dpage_counter.c80 if (new > READ_ONCE(c->watermark)) in page_counter_charge()
81 WRITE_ONCE(c->watermark, new); in page_counter_charge()
134 if (new > READ_ONCE(c->watermark)) in page_counter_try_charge()
135 WRITE_ONCE(c->watermark, new); in page_counter_try_charge()
Dpage_reporting.c227 unsigned long watermark; in page_reporting_process_zone() local
231 watermark = low_wmark_pages(zone) + in page_reporting_process_zone()
238 if (!zone_watermark_ok(zone, 0, watermark, 0, ALLOC_CMA)) in page_reporting_process_zone()
Dcompaction.c2123 unsigned long watermark; in __compaction_suitable() local
2128 watermark = wmark_pages(zone, alloc_flags & ALLOC_WMARK_MASK); in __compaction_suitable()
2133 if (zone_watermark_ok(zone, order, watermark, highest_zoneidx, in __compaction_suitable()
2151 watermark = (order > PAGE_ALLOC_COSTLY_ORDER) ? in __compaction_suitable()
2153 watermark += compact_gap(order); in __compaction_suitable()
2154 if (!__zone_watermark_ok(zone, 0, watermark, highest_zoneidx, in __compaction_suitable()
Dhugetlb_cgroup.c444 return (u64)counter->watermark * PAGE_SIZE; in hugetlb_cgroup_read_u64()
446 return (u64)rsvd_counter->watermark * PAGE_SIZE; in hugetlb_cgroup_read_u64()
Dvmscan.c2975 unsigned long watermark; in compaction_ready() local
2995 watermark = high_wmark_pages(zone) + compact_gap(sc->order); in compaction_ready()
2997 return zone_watermark_ok_safe(zone, 0, watermark, sc->reclaim_idx); in compaction_ready()
Dpage_alloc.c3439 unsigned long watermark; in __isolate_free_page() local
3455 watermark = zone->_watermark[WMARK_MIN] + (1UL << order); in __isolate_free_page()
3456 if (!zone_watermark_ok(zone, 0, watermark, 0, ALLOC_CMA)) in __isolate_free_page()
Dmemcontrol.c3666 return (u64)counter->watermark * PAGE_SIZE; in mem_cgroup_read_u64()
/mm/kasan/
Dcommon.c76 asmlinkage void kasan_unpoison_task_stack_below(const void *watermark) in kasan_unpoison_task_stack_below() argument
83 void *base = (void *)((unsigned long)watermark & ~(THREAD_SIZE - 1)); in kasan_unpoison_task_stack_below()
85 kasan_unpoison(base, watermark - base, false); in kasan_unpoison_task_stack_below()
Dkasan.h455 asmlinkage void kasan_unpoison_task_stack_below(const void *watermark);