Home
last modified time | relevance | path

Searched refs:compound_mapcount_ptr (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/mm/
Drmap.c1209 mapcount = compound_mapcount_ptr(page); in page_add_anon_rmap()
1267 atomic_set(compound_mapcount_ptr(page), 0); in page_add_new_anon_rmap()
1301 if (!atomic_inc_and_test(compound_mapcount_ptr(page))) in page_add_file_rmap()
1345 atomic_dec(compound_mapcount_ptr(page)); in page_remove_file_rmap()
1357 if (!atomic_add_negative(-1, compound_mapcount_ptr(page))) in page_remove_file_rmap()
1378 if (!atomic_add_negative(-1, compound_mapcount_ptr(page))) in page_remove_anon_compound_rmap()
2560 first = atomic_inc_and_test(compound_mapcount_ptr(page)); in hugepage_add_anon_rmap()
2572 atomic_set(compound_mapcount_ptr(page), 0); in hugepage_add_new_anon_rmap()
Dutil.c799 ret += atomic_read(compound_mapcount_ptr(page)) + 1; in __page_mapcount()
Dhugetlb.c1483 atomic_set(compound_mapcount_ptr(page), 0); in __destroy_compound_gigantic_page()
1998 atomic_set(compound_mapcount_ptr(page), -1); in __prep_compound_gigantic_page()
Dhuge_memory.c2240 if (atomic_add_negative(-1, compound_mapcount_ptr(page))) { in __split_huge_pmd_locked()
Dpage_alloc.c800 atomic_set(compound_mapcount_ptr(page), -1); in prep_compound_head()
/linux-6.1.9/include/linux/
Drmap.h209 atomic_inc(compound ? compound_mapcount_ptr(page) : &page->_mapcount); in __page_dup_rmap()
Dmm_types.h350 static inline atomic_t *compound_mapcount_ptr(struct page *page) in compound_mapcount_ptr() function