Lines Matching refs:ptc
75 struct page_table_check *ptc = get_page_table_check(page_ext); in page_table_check_clear() local
78 BUG_ON(atomic_read(&ptc->file_map_count)); in page_table_check_clear()
79 BUG_ON(atomic_dec_return(&ptc->anon_map_count) < 0); in page_table_check_clear()
81 BUG_ON(atomic_read(&ptc->anon_map_count)); in page_table_check_clear()
82 BUG_ON(atomic_dec_return(&ptc->file_map_count) < 0); in page_table_check_clear()
111 struct page_table_check *ptc = get_page_table_check(page_ext); in page_table_check_set() local
114 BUG_ON(atomic_read(&ptc->file_map_count)); in page_table_check_set()
115 BUG_ON(atomic_inc_return(&ptc->anon_map_count) > 1 && rw); in page_table_check_set()
117 BUG_ON(atomic_read(&ptc->anon_map_count)); in page_table_check_set()
118 BUG_ON(atomic_inc_return(&ptc->file_map_count) < 0); in page_table_check_set()
137 struct page_table_check *ptc = get_page_table_check(page_ext); in __page_table_check_zero() local
139 BUG_ON(atomic_read(&ptc->anon_map_count)); in __page_table_check_zero()
140 BUG_ON(atomic_read(&ptc->file_map_count)); in __page_table_check_zero()