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