Searched refs:_mapcount (Results 1 – 12 of 12) sorted by relevance
| /OK3568_Linux_fs/kernel/Documentation/vm/ |
| H A 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.
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | rmap.c | 1151 first = atomic_inc_and_test(&page->_mapcount); in do_page_add_anon_rmap() 1209 atomic_set(&page->_mapcount, 0); in __page_add_new_anon_rmap() 1238 if (atomic_inc_and_test(&page[i]._mapcount)) in page_add_file_rmap() 1262 if (!atomic_inc_and_test(&page->_mapcount)) in page_add_file_rmap() 1295 if (atomic_add_negative(-1, &page[i]._mapcount)) in page_remove_file_rmap() 1312 if (!atomic_add_negative(-1, &page->_mapcount)) in page_remove_file_rmap() 1358 if (atomic_add_negative(-1, &page[i]._mapcount)) in page_remove_anon_compound_rmap() 1411 if (!atomic_add_negative(-1, &page->_mapcount)) in page_remove_rmap()
|
| H A D | util.c | 710 return atomic_read(&page->_mapcount) >= 0; in page_mapped() 717 if (atomic_read(&page[i]._mapcount) >= 0) in page_mapped() 775 ret = atomic_read(&page->_mapcount) + 1; in __page_mapcount()
|
| H A D | huge_memory.c | 2172 atomic_inc(&page[i]._mapcount); in __split_huge_pmd_locked() 2188 atomic_inc(&page[i]._mapcount); in __split_huge_pmd_locked() 2202 atomic_dec(&page[i]._mapcount); in __split_huge_pmd_locked() 2396 VM_BUG_ON_PAGE(atomic_read(&page_tail->_mapcount) != -1, page_tail); in __split_huge_page_tail() 2551 return atomic_read(&page->_mapcount) + 1; in total_mapcount() 2559 ret += atomic_read(&page[i]._mapcount) + 1; in total_mapcount() 2600 mapcount = atomic_read(&page->_mapcount) + 1; in page_trans_huge_mapcount() 2610 mapcount = atomic_read(&page[i]._mapcount) + 1; in page_trans_huge_mapcount()
|
| H A D | page_alloc.c | 1153 if (unlikely(atomic_read(&page->_mapcount) != -1)) in page_expected_state() 1171 if (unlikely(atomic_read(&page->_mapcount) != -1)) in page_bad_reason()
|
| H A D | swapfile.c | 1688 mapcount = atomic_read(&page[i]._mapcount) + 1; in page_trans_huge_map_swapcount()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | rmap.h | 211 atomic_inc(compound ? compound_mapcount_ptr(page) : &page->_mapcount); in page_dup_rmap()
|
| H A D | page-flags.h | 671 return atomic_read(&page->_mapcount) < 0; in PageTransCompoundMap() 675 return atomic_read(&page->_mapcount) == in PageTransCompoundMap()
|
| H A D | mm_types.h | 187 atomic_t _mapcount; member
|
| H A D | mm.h | 877 atomic_set(&(page)->_mapcount, -1); in page_mapcount_reset() 894 return atomic_read(&page->_mapcount) + 1; in page_mapcount()
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | crash_core.c | 479 VMCOREINFO_OFFSET(page, _mapcount); in crash_save_vmcoreinfo_init()
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/kdump/ |
| H A D | vmcoreinfo.rst | 138 (page, flags|_refcount|mapping|lru|_mapcount|private|compound_dtor|compound_order|compound_head)
|