Lines Matching refs:ptc
83 struct page_table_check *ptc = get_page_table_check(page_ext); in page_table_check_clear() local
86 BUG_ON(atomic_read(&ptc->file_map_count)); in page_table_check_clear()
87 BUG_ON(atomic_dec_return(&ptc->anon_map_count) < 0); in page_table_check_clear()
89 BUG_ON(atomic_read(&ptc->anon_map_count)); in page_table_check_clear()
90 BUG_ON(atomic_dec_return(&ptc->file_map_count) < 0); in page_table_check_clear()
123 struct page_table_check *ptc = get_page_table_check(page_ext); in page_table_check_set() local
126 BUG_ON(atomic_read(&ptc->file_map_count)); in page_table_check_set()
127 BUG_ON(atomic_inc_return(&ptc->anon_map_count) > 1 && rw); in page_table_check_set()
129 BUG_ON(atomic_read(&ptc->anon_map_count)); in page_table_check_set()
130 BUG_ON(atomic_inc_return(&ptc->file_map_count) < 0); in page_table_check_set()
154 struct page_table_check *ptc = get_page_table_check(page_ext); in __page_table_check_zero() local
156 BUG_ON(atomic_read(&ptc->anon_map_count)); in __page_table_check_zero()
157 BUG_ON(atomic_read(&ptc->file_map_count)); in __page_table_check_zero()