Lines Matching refs:_mapcount
800 return atomic_read(&page->_mapcount) == 0; in page_table_with_pgste()
815 atomic_set(&page->_mapcount, 0); in page_table_alloc_pgste()
828 atomic_set(&page->_mapcount, -1); in page_table_free_pgste()
1010 mask = atomic_read(&page->_mapcount); in page_table_alloc()
1022 atomic_set(&page->_mapcount, 1); in page_table_alloc()
1030 mask = atomic_xor_bits(&page->_mapcount, bit); in page_table_alloc()
1049 if ((atomic_read(&page->_mapcount) & FRAG_MASK) != FRAG_MASK) in page_table_free()
1051 mask = atomic_xor_bits(&page->_mapcount, bit); in page_table_free()
1057 atomic_set(&page->_mapcount, -1); in page_table_free()
1070 if (atomic_xor_bits(&page->_mapcount, bit) == 0) { in __page_table_free_rcu()
1072 atomic_set(&page->_mapcount, -1); in __page_table_free_rcu()
1094 if ((atomic_read(&page->_mapcount) & FRAG_MASK) != FRAG_MASK) in page_table_free_rcu()
1096 mask = atomic_xor_bits(&page->_mapcount, bit | (bit << 4)); in page_table_free_rcu()