Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dhuge_memory.c79 static atomic_t huge_zero_refcount; variable
201 if (likely(atomic_inc_not_zero(&huge_zero_refcount))) in get_huge_zero_page()
221 atomic_set(&huge_zero_refcount, 2); in get_huge_zero_page()
233 BUG_ON(atomic_dec_and_test(&huge_zero_refcount)); in put_huge_zero_page()
260 return atomic_read(&huge_zero_refcount) == 1 ? HPAGE_PMD_NR : 0; in shrink_huge_zero_page_count()
266 if (atomic_cmpxchg(&huge_zero_refcount, 1, 0) == 1) { in shrink_huge_zero_page_scan()