Searched refs:compound_mapcount_ptr (Results 1 – 7 of 7) sorted by relevance
1108 mapcount = compound_mapcount_ptr(page); in do_page_add_anon_rmap()1160 atomic_set(compound_mapcount_ptr(page), 0); in page_add_new_anon_rmap()1190 if (!atomic_inc_and_test(compound_mapcount_ptr(page))) in page_add_file_rmap()1220 atomic_dec(compound_mapcount_ptr(page)); in page_remove_file_rmap()1230 if (!atomic_add_negative(-1, compound_mapcount_ptr(page))) in page_remove_file_rmap()1256 if (!atomic_add_negative(-1, compound_mapcount_ptr(page))) in page_remove_anon_compound_rmap()1950 first = atomic_inc_and_test(compound_mapcount_ptr(page)); in hugepage_add_anon_rmap()1959 atomic_set(compound_mapcount_ptr(page), 0); in hugepage_add_new_anon_rmap()
484 if (atomic_read(compound_mapcount_ptr(page)) >= 0) in page_mapped()555 ret += atomic_read(compound_mapcount_ptr(page)) + 1; in __page_mapcount()
1046 atomic_set(compound_mapcount_ptr(page), 0); in destroy_compound_gigantic_page()1328 atomic_set(compound_mapcount_ptr(page), -1); in prep_compound_gigantic_page()
2194 if (atomic_add_negative(-1, compound_mapcount_ptr(page))) { in __split_huge_pmd_locked()
583 atomic_set(compound_mapcount_ptr(page), -1); in prep_compound_page()
189 atomic_inc(compound ? compound_mapcount_ptr(page) : &page->_mapcount); in page_dup_rmap()
605 static inline atomic_t *compound_mapcount_ptr(struct page *page) in compound_mapcount_ptr() function614 return atomic_read(compound_mapcount_ptr(page)) + 1; in compound_mapcount()