Lines Matching refs:ptc
78 struct page_table_check *ptc = get_page_table_check(page_ext); in page_table_check_clear() local
81 BUG_ON(atomic_read(&ptc->file_map_count)); in page_table_check_clear()
82 BUG_ON(atomic_dec_return(&ptc->anon_map_count) < 0); in page_table_check_clear()
84 BUG_ON(atomic_read(&ptc->anon_map_count)); in page_table_check_clear()
85 BUG_ON(atomic_dec_return(&ptc->file_map_count) < 0); in page_table_check_clear()
115 struct page_table_check *ptc = get_page_table_check(page_ext); in page_table_check_set() local
118 BUG_ON(atomic_read(&ptc->file_map_count)); in page_table_check_set()
119 BUG_ON(atomic_inc_return(&ptc->anon_map_count) > 1 && rw); in page_table_check_set()
121 BUG_ON(atomic_read(&ptc->anon_map_count)); in page_table_check_set()
122 BUG_ON(atomic_inc_return(&ptc->file_map_count) < 0); in page_table_check_set()
143 struct page_table_check *ptc = get_page_table_check(page_ext); in __page_table_check_zero() local
145 BUG_ON(atomic_read(&ptc->anon_map_count)); in __page_table_check_zero()
146 BUG_ON(atomic_read(&ptc->file_map_count)); in __page_table_check_zero()