Home
last modified time | relevance | path

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

/linux/include/trace/events/
H A Dpage_ref.h33 __entry->mapcount = atomic_read(&page->_mapcount);
82 __entry->mapcount = atomic_read(&page->_mapcount);
/linux/include/linux/
H A Drmap.h334 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 Dmm_types.h177 atomic_t _mapcount; member
347 atomic_t _mapcount; member
410 FOLIO_MATCH(_mapcount, _mapcount);
H A Dmm.h1244 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 Dtranshuge.rst124 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 Drmap.c1165 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 Ddebug.c74 int mapcount = atomic_read(&page->_mapcount); in __dump_folio()
H A Dmm_init.c571 atomic_set(&page->_mapcount, -1); in __init_single_page()
H A Dpage_alloc.c862 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 Dfilemap.c181 atomic_set(&folio->_mapcount, -1); in filemap_unaccount_folio()
H A Dhuge_memory.c3089 VM_BUG_ON_PAGE(atomic_read(&page_tail->_mapcount) != -1, page_tail); in __split_huge_page_tail()
/linux/kernel/
H A Dvmcore_info.c176 VMCOREINFO_OFFSET(page, _mapcount); in crash_save_vmcoreinfo_init()
/linux/fs/proc/
H A Dinternal.h167 int mapcount = atomic_read(&page->_mapcount) + 1; in folio_precise_page_mapcount()
/linux/Documentation/admin-guide/kdump/
H A Dvmcoreinfo.rst144 (page, flags|_refcount|mapping|lru|_mapcount|private|compound_order|compound_head)