Searched refs:huge_zero_refcount (Results 1 – 1 of 1) sorted by relevance
62 static atomic_t huge_zero_refcount; variable84 if (likely(atomic_inc_not_zero(&huge_zero_refcount))) in get_huge_zero_page()102 atomic_set(&huge_zero_refcount, 2); in get_huge_zero_page()113 BUG_ON(atomic_dec_and_test(&huge_zero_refcount)); in put_huge_zero_page()140 return atomic_read(&huge_zero_refcount) == 1 ? HPAGE_PMD_NR : 0; in shrink_huge_zero_page_count()146 if (atomic_cmpxchg(&huge_zero_refcount, 1, 0) == 1) { in shrink_huge_zero_page_scan()