Searched refs:compound_mapcount_ptr (Results 1 – 9 of 9) sorted by relevance
1145 mapcount = compound_mapcount_ptr(page); in do_page_add_anon_rmap()1200 atomic_set(compound_mapcount_ptr(page), 0); in __page_add_new_anon_rmap()1242 if (!atomic_inc_and_test(compound_mapcount_ptr(page))) in page_add_file_rmap()1282 atomic_dec(compound_mapcount_ptr(page)); in page_remove_file_rmap()1299 if (!atomic_add_negative(-1, compound_mapcount_ptr(page))) in page_remove_file_rmap()1334 if (!atomic_add_negative(-1, compound_mapcount_ptr(page))) in page_remove_anon_compound_rmap()2103 first = atomic_inc_and_test(compound_mapcount_ptr(page)); in hugepage_add_anon_rmap()2112 atomic_set(compound_mapcount_ptr(page), 0); in hugepage_add_new_anon_rmap()
712 if (atomic_read(compound_mapcount_ptr(page)) >= 0) in page_mapped()783 ret += atomic_read(compound_mapcount_ptr(page)) + 1; in __page_mapcount()
1253 atomic_set(compound_mapcount_ptr(page), 0); in destroy_compound_gigantic_page()1583 atomic_set(compound_mapcount_ptr(page), -1); in prep_compound_gigantic_page()
2193 if (atomic_add_negative(-1, compound_mapcount_ptr(page))) { in __split_huge_pmd_locked()
735 atomic_set(compound_mapcount_ptr(page), -1); in prep_compound_page()
211 atomic_inc(compound ? compound_mapcount_ptr(page) : &page->_mapcount); in page_dup_rmap()
231 static inline atomic_t *compound_mapcount_ptr(struct page *page) in compound_mapcount_ptr() function
676 atomic_read(compound_mapcount_ptr(head)); in PageTransCompoundMap()
855 return atomic_read(compound_mapcount_ptr(head)) + 1; in head_compound_mapcount()