Searched refs:_mapcount (Results 1 – 11 of 11) sorted by relevance
/linux/include/linux/ |
A D | mm_types.h | 200 atomic_t _mapcount; member 275 atomic_t _mapcount; member 294 FOLIO_MATCH(_mapcount, _mapcount);
|
A D | rmap.h | 185 atomic_inc(compound ? compound_mapcount_ptr(page) : &page->_mapcount); in page_dup_rmap()
|
A D | mm.h | 821 atomic_set(&(page)->_mapcount, -1); in page_mapcount_reset() 838 return atomic_read(&page->_mapcount) + 1; in page_mapcount()
|
/linux/Documentation/vm/ |
A D | transhuge.rst | 120 - map/unmap of the pages with PTE entry increment/decrement ->_mapcount 125 ->_mapcount of all sub-pages in order to have race-free detection of 130 For anonymous pages, PageDoubleMap() also indicates ->_mapcount in all 136 tracking. The alternative is to alter ->_mapcount in all subpages on each 156 page->_mapcount of anonymous pages. File pages just get unmapped.
|
/linux/mm/ |
A D | rmap.c | 1139 first = atomic_inc_and_test(&page->_mapcount); in do_page_add_anon_rmap() 1198 atomic_set(&page->_mapcount, 0); in page_add_new_anon_rmap() 1221 if (atomic_inc_and_test(&page[i]._mapcount)) in page_add_file_rmap() 1242 if (!atomic_inc_and_test(&page->_mapcount)) in page_add_file_rmap() 1268 if (atomic_add_negative(-1, &page[i]._mapcount)) in page_remove_file_rmap() 1280 if (!atomic_add_negative(-1, &page->_mapcount)) in page_remove_file_rmap() 1317 if (atomic_add_negative(-1, &page[i]._mapcount)) in page_remove_anon_compound_rmap() 1361 if (!atomic_add_negative(-1, &page->_mapcount)) in page_remove_rmap()
|
A D | util.c | 674 return atomic_read(&folio->_mapcount) >= 0; in folio_mapped() 682 if (atomic_read(&folio_page(folio, i)->_mapcount) >= 0) in folio_mapped() 735 ret = atomic_read(&page->_mapcount) + 1; in __page_mapcount()
|
A D | huge_memory.c | 2105 atomic_inc(&page[i]._mapcount); in __split_huge_pmd_locked() 2117 atomic_inc(&page[i]._mapcount); in __split_huge_pmd_locked() 2128 atomic_dec(&page[i]._mapcount); in __split_huge_pmd_locked() 2345 VM_BUG_ON_PAGE(atomic_read(&page_tail->_mapcount) != -1, page_tail); in __split_huge_page_tail() 2504 return atomic_read(&page->_mapcount) + 1; in total_mapcount() 2512 ret += atomic_read(&page[i]._mapcount) + 1; in total_mapcount() 2553 mapcount = atomic_read(&page->_mapcount) + 1; in page_trans_huge_mapcount() 2563 mapcount = atomic_read(&page[i]._mapcount) + 1; in page_trans_huge_mapcount()
|
A D | page_alloc.c | 1158 if (unlikely(atomic_read(&page->_mapcount) != -1)) in page_expected_state() 1176 if (unlikely(atomic_read(&page->_mapcount) != -1)) in page_bad_reason()
|
A D | swapfile.c | 1642 mapcount = atomic_read(&page[i]._mapcount) + 1; in page_trans_huge_map_swapcount()
|
/linux/kernel/ |
A D | crash_core.c | 445 VMCOREINFO_OFFSET(page, _mapcount); in crash_save_vmcoreinfo_init()
|
/linux/Documentation/admin-guide/kdump/ |
A D | vmcoreinfo.rst | 144 (page, flags|_refcount|mapping|lru|_mapcount|private|compound_dtor|compound_order|compound_head)
|
Completed in 47 milliseconds