Searched refs:ENTIRELY_MAPPED (Results 1 – 3 of 3) sorted by relevance
1174 atomic_add_return_relaxed(first, mapped) < ENTIRELY_MAPPED) in __folio_add_rmap()1182 nr = atomic_add_return_relaxed(ENTIRELY_MAPPED, mapped); in __folio_add_rmap()1183 if (likely(nr < ENTIRELY_MAPPED + ENTIRELY_MAPPED)) { in __folio_add_rmap()1460 atomic_set(&folio->_nr_pages_mapped, ENTIRELY_MAPPED); in folio_add_new_anon_rmap()1546 atomic_sub_return_relaxed(last, mapped) < ENTIRELY_MAPPED) in __folio_remove_rmap()1555 nr = atomic_sub_return_relaxed(ENTIRELY_MAPPED, mapped); in __folio_remove_rmap()1556 if (likely(nr < ENTIRELY_MAPPED)) { in __folio_remove_rmap()
69 #define ENTIRELY_MAPPED 0x800000 macro70 #define FOLIO_PAGES_MAPPED (ENTIRELY_MAPPED - 1)
120 and also increment/decrement folio->_nr_pages_mapped by ENTIRELY_MAPPED