Home
last modified time | relevance | path

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

/Linux-v5.10/mm/
Drmap.c1129 first = atomic_inc_and_test(&page->_mapcount); in do_page_add_anon_rmap()
1188 atomic_set(&page->_mapcount, 0); in page_add_new_anon_rmap()
1209 if (atomic_inc_and_test(&page[i]._mapcount)) in page_add_file_rmap()
1226 if (!atomic_inc_and_test(&page->_mapcount)) in page_add_file_rmap()
1250 if (atomic_add_negative(-1, &page[i]._mapcount)) in page_remove_file_rmap()
1260 if (!atomic_add_negative(-1, &page->_mapcount)) in page_remove_file_rmap()
1297 if (atomic_add_negative(-1, &page[i]._mapcount)) in page_remove_anon_compound_rmap()
1341 if (!atomic_add_negative(-1, &page->_mapcount)) in page_remove_rmap()
Dutil.c652 return atomic_read(&page->_mapcount) >= 0; in page_mapped()
659 if (atomic_read(&page[i]._mapcount) >= 0) in page_mapped()
717 ret = atomic_read(&page->_mapcount) + 1; in __page_mapcount()
Dhuge_memory.c2147 atomic_inc(&page[i]._mapcount); in __split_huge_pmd_locked()
2159 atomic_inc(&page[i]._mapcount); in __split_huge_pmd_locked()
2169 atomic_dec(&page[i]._mapcount); in __split_huge_pmd_locked()
2353 VM_BUG_ON_PAGE(atomic_read(&page_tail->_mapcount) != -1, page_tail); in __split_huge_page_tail()
2508 return atomic_read(&page->_mapcount) + 1; in total_mapcount()
2516 ret += atomic_read(&page[i]._mapcount) + 1; in total_mapcount()
2557 mapcount = atomic_read(&page->_mapcount) + 1; in page_trans_huge_mapcount()
2567 mapcount = atomic_read(&page[i]._mapcount) + 1; in page_trans_huge_mapcount()
Dpage_alloc.c1089 if (unlikely(atomic_read(&page->_mapcount) != -1)) in page_expected_state()
1107 if (unlikely(atomic_read(&page->_mapcount) != -1)) in page_bad_reason()
Dswapfile.c1663 mapcount = atomic_read(&page[i]._mapcount) + 1; in page_trans_huge_map_swapcount()
/Linux-v5.10/Documentation/vm/
Dtranshuge.rst125 - map/unmap of the pages with PTE entry increment/decrement ->_mapcount
130 ->_mapcount of all sub-pages in order to have race-free detection of
135 For anonymous pages, PageDoubleMap() also indicates ->_mapcount in all
141 tracking. The alternative is to alter ->_mapcount in all subpages on each
161 page->_mapcount of anonymous pages. File pages just get unmapped.
/Linux-v5.10/include/linux/
Drmap.h189 atomic_inc(compound ? compound_mapcount_ptr(page) : &page->_mapcount); in page_dup_rmap()
Dpage-flags.h662 return atomic_read(&page->_mapcount) < 0; in PageTransCompoundMap()
666 return atomic_read(&page->_mapcount) == in PageTransCompoundMap()
Dmm_types.h184 atomic_t _mapcount; member
Dmm.h818 atomic_set(&(page)->_mapcount, -1); in page_mapcount_reset()
835 return atomic_read(&page->_mapcount) + 1; in page_mapcount()
/Linux-v5.10/kernel/
Dcrash_core.c478 VMCOREINFO_OFFSET(page, _mapcount); in crash_save_vmcoreinfo_init()
/Linux-v5.10/Documentation/admin-guide/kdump/
Dvmcoreinfo.rst138 (page, flags|_refcount|mapping|lru|_mapcount|private|compound_dtor|compound_order|compound_head)