Lines Matching refs:BUG_ON
53 BUG_ON(!page_ext); in get_page_table_check()
74 BUG_ON(PageSlab(page)); in page_table_check_clear()
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()
111 BUG_ON(PageSlab(page)); in page_table_check_set()
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()
138 BUG_ON(PageSlab(page)); in __page_table_check_zero()
141 BUG_ON(!page_ext); in __page_table_check_zero()
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()