Searched refs:_mapcount (Results 1 – 14 of 14) sorted by relevance
/linux/include/trace/events/ |
H A D | page_ref.h | 33 __entry->mapcount = atomic_read(&page->_mapcount); 82 __entry->mapcount = atomic_read(&page->_mapcount);
|
/linux/include/linux/ |
H A D | rmap.h | 334 atomic_inc(&folio->_mapcount); in __folio_dup_file_rmap() 339 atomic_inc(&page->_mapcount); in __folio_dup_file_rmap() 428 atomic_inc(&folio->_mapcount); in __folio_try_dup_anon_rmap() 435 atomic_inc(&page->_mapcount); in __folio_try_dup_anon_rmap()
|
H A D | mm_types.h | 177 atomic_t _mapcount; member 347 atomic_t _mapcount; member 410 FOLIO_MATCH(_mapcount, _mapcount);
|
H A D | mm.h | 1244 mapcount = atomic_read(&folio->_mapcount) + 1; in folio_mapcount() 2200 return atomic_read(&folio->_mapcount) > 0; in folio_likely_mapped_shared()
|
/linux/Documentation/mm/ |
H A D | transhuge.rst | 124 page->_mapcount, increment/decrement folio->_large_mapcount and also 125 increment/decrement folio->_nr_pages_mapped when page->_mapcount goes 138 page->_mapcount of anonymous pages. File pages just get unmapped.
|
/linux/mm/ |
H A D | rmap.c | 1165 nr = atomic_inc_and_test(&folio->_mapcount); in __folio_add_rmap() 1170 first += atomic_inc_and_test(&page->_mapcount); in __folio_add_rmap() 1336 VM_WARN_ON_FOLIO((atomic_read(&cur_page->_mapcount) > 0 || in __folio_add_anon_rmap() 1437 atomic_set(&folio->_mapcount, 0); in folio_add_new_anon_rmap() 1447 atomic_set(&page->_mapcount, 0); in folio_add_new_anon_rmap() 1536 nr = atomic_add_negative(-1, &folio->_mapcount); in __folio_remove_rmap() 1542 last += atomic_add_negative(-1, &page->_mapcount); in __folio_remove_rmap()
|
H A D | debug.c | 74 int mapcount = atomic_read(&page->_mapcount); in __dump_folio()
|
H A D | mm_init.c | 571 atomic_set(&page->_mapcount, -1); in __init_single_page()
|
H A D | page_alloc.c | 862 if (unlikely(atomic_read(&page->_mapcount) != -1)) in page_expected_state() 883 if (unlikely(atomic_read(&page->_mapcount) != -1)) in page_bad_reason()
|
H A D | filemap.c | 181 atomic_set(&folio->_mapcount, -1); in filemap_unaccount_folio()
|
H A D | huge_memory.c | 3089 VM_BUG_ON_PAGE(atomic_read(&page_tail->_mapcount) != -1, page_tail); in __split_huge_page_tail()
|
/linux/kernel/ |
H A D | vmcore_info.c | 176 VMCOREINFO_OFFSET(page, _mapcount); in crash_save_vmcoreinfo_init()
|
/linux/fs/proc/ |
H A D | internal.h | 167 int mapcount = atomic_read(&page->_mapcount) + 1; in folio_precise_page_mapcount()
|
/linux/Documentation/admin-guide/kdump/ |
H A D | vmcoreinfo.rst | 144 (page, flags|_refcount|mapping|lru|_mapcount|private|compound_order|compound_head)
|