Home
last modified time | relevance | path

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

/linux-6.6.21/mm/
Drmap.c1218 nr = (nr < COMPOUND_MAPPED); in page_add_anon_rmap()
1225 nr = atomic_add_return_relaxed(COMPOUND_MAPPED, mapped); in page_add_anon_rmap()
1226 if (likely(nr < COMPOUND_MAPPED + COMPOUND_MAPPED)) { in page_add_anon_rmap()
1287 atomic_set(&folio->_nr_pages_mapped, COMPOUND_MAPPED); in folio_add_new_anon_rmap()
1324 first = (first < COMPOUND_MAPPED); in folio_add_file_rmap_range()
1335 nr = atomic_add_return_relaxed(COMPOUND_MAPPED, mapped); in folio_add_file_rmap_range()
1336 if (likely(nr < COMPOUND_MAPPED + COMPOUND_MAPPED)) { in folio_add_file_rmap_range()
1414 nr = (nr < COMPOUND_MAPPED); in page_remove_rmap()
1421 nr = atomic_sub_return_relaxed(COMPOUND_MAPPED, mapped); in page_remove_rmap()
1422 if (likely(nr < COMPOUND_MAPPED)) { in page_remove_rmap()
Dinternal.h61 #define COMPOUND_MAPPED 0x800000 macro
62 #define FOLIO_PAGES_MAPPED (COMPOUND_MAPPED - 1)
/linux-6.6.21/Documentation/mm/
Dtranshuge.rst120 folio->_nr_pages_mapped by COMPOUND_MAPPED when _entire_mapcount