Searched refs:_mapcount (Results 1 – 12 of 12) sorted by relevance
| /Linux-v5.4/mm/ |
| D | rmap.c | 1112 first = atomic_inc_and_test(&page->_mapcount); in do_page_add_anon_rmap() 1167 atomic_set(&page->_mapcount, 0); in page_add_new_anon_rmap() 1188 if (atomic_inc_and_test(&page[i]._mapcount)) in page_add_file_rmap() 1205 if (!atomic_inc_and_test(&page->_mapcount)) in page_add_file_rmap() 1230 if (atomic_add_negative(-1, &page[i]._mapcount)) in page_remove_file_rmap() 1240 if (!atomic_add_negative(-1, &page->_mapcount)) in page_remove_file_rmap() 1279 if (atomic_add_negative(-1, &page[i]._mapcount)) in page_remove_anon_compound_rmap() 1311 if (!atomic_add_negative(-1, &page->_mapcount)) in page_remove_rmap()
|
| D | util.c | 623 return atomic_read(&page->_mapcount) >= 0; in page_mapped() 630 if (atomic_read(&page[i]._mapcount) >= 0) in page_mapped() 688 ret = atomic_read(&page->_mapcount) + 1; in __page_mapcount()
|
| D | huge_memory.c | 2264 atomic_inc(&page[i]._mapcount); in __split_huge_pmd_locked() 2274 atomic_inc(&page[i]._mapcount); in __split_huge_pmd_locked() 2283 atomic_dec(&page[i]._mapcount); in __split_huge_pmd_locked() 2440 VM_BUG_ON_PAGE(atomic_read(&page_tail->_mapcount) != -1, page_tail); in __split_huge_page_tail() 2585 return atomic_read(&page->_mapcount) + 1; in total_mapcount() 2592 ret += atomic_read(&page[i]._mapcount) + 1; in total_mapcount() 2633 mapcount = atomic_read(&page->_mapcount) + 1; in page_trans_huge_mapcount() 2643 mapcount = atomic_read(&page[i]._mapcount) + 1; in page_trans_huge_mapcount()
|
| D | page_alloc.c | 1021 if (unlikely(atomic_read(&page->_mapcount) != -1)) in page_expected_state() 1043 if (unlikely(atomic_read(&page->_mapcount) != -1)) in free_pages_check_bad() 2058 if (unlikely(atomic_read(&page->_mapcount) != -1)) in check_new_page_bad()
|
| D | swapfile.c | 1619 mapcount = atomic_read(&page[i]._mapcount) + 1; in page_trans_huge_map_swapcount()
|
| /Linux-v5.4/Documentation/vm/ |
| D | transhuge.rst | 125 - 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.4/include/linux/ |
| D | rmap.h | 189 atomic_inc(compound ? compound_mapcount_ptr(page) : &page->_mapcount); in page_dup_rmap()
|
| D | page-flags.h | 641 return atomic_read(&page->_mapcount) < 0; in PageTransCompoundMap() 645 return atomic_read(&page->_mapcount) == in PageTransCompoundMap()
|
| D | mm_types.h | 183 atomic_t _mapcount; member
|
| D | mm.h | 712 atomic_set(&(page)->_mapcount, -1); in page_mapcount_reset() 723 return atomic_read(&page->_mapcount) + 1; in page_mapcount()
|
| /Linux-v5.4/kernel/ |
| D | crash_core.c | 427 VMCOREINFO_OFFSET(page, _mapcount); in crash_save_vmcoreinfo_init()
|
| /Linux-v5.4/Documentation/admin-guide/kdump/ |
| D | vmcoreinfo.rst | 133 (page, flags|_refcount|mapping|lru|_mapcount|private|compound_dtor|compound_order|compound_head)
|