Lines Matching refs:ptc
79 struct page_table_check *ptc = get_page_table_check(page_ext); in page_table_check_clear() local
82 BUG_ON(atomic_read(&ptc->file_map_count)); in page_table_check_clear()
83 BUG_ON(atomic_dec_return(&ptc->anon_map_count) < 0); in page_table_check_clear()
85 BUG_ON(atomic_read(&ptc->anon_map_count)); in page_table_check_clear()
86 BUG_ON(atomic_dec_return(&ptc->file_map_count) < 0); in page_table_check_clear()
114 struct page_table_check *ptc = get_page_table_check(page_ext); in page_table_check_set() local
117 BUG_ON(atomic_read(&ptc->file_map_count)); in page_table_check_set()
118 BUG_ON(atomic_inc_return(&ptc->anon_map_count) > 1 && rw); in page_table_check_set()
120 BUG_ON(atomic_read(&ptc->anon_map_count)); in page_table_check_set()
121 BUG_ON(atomic_inc_return(&ptc->file_map_count) < 0); in page_table_check_set()
140 struct page_table_check *ptc = get_page_table_check(page_ext); in __page_table_check_zero() local
142 BUG_ON(atomic_read(&ptc->anon_map_count)); in __page_table_check_zero()
143 BUG_ON(atomic_read(&ptc->file_map_count)); in __page_table_check_zero()