Lines Matching refs:BUG_ON

175 	BUG_ON(id < 0);  in idr_u32_cb()
176 BUG_ON(ptr != DUMMY_PTR); in idr_u32_cb()
187 BUG_ON(idr_alloc_u32(idr, DUMMY_PTR, &id, id, GFP_KERNEL)); in idr_u32_test1()
188 BUG_ON(id != handle); in idr_u32_test1()
189 BUG_ON(idr_alloc_u32(idr, DUMMY_PTR, &id, id, GFP_KERNEL) != -ENOSPC); in idr_u32_test1()
190 BUG_ON(id != handle); in idr_u32_test1()
195 BUG_ON(ptr != NULL); in idr_u32_test1()
196 BUG_ON(sid != 0); in idr_u32_test1()
198 BUG_ON(ptr != DUMMY_PTR); in idr_u32_test1()
199 BUG_ON(sid != id); in idr_u32_test1()
206 BUG_ON(idr_remove(idr, id) != DUMMY_PTR); in idr_u32_test1()
207 BUG_ON(!idr_is_empty(idr)); in idr_u32_test1()
229 BUG_ON(idr_alloc(idr, &name[i], 0, 0, GFP_KERNEL) != i); in idr_align_test()
235 BUG_ON(idr_alloc(idr, &name[i], 0, 0, GFP_KERNEL) != i - 1); in idr_align_test()
241 BUG_ON(idr_alloc(idr, &name[i], 0, 0, GFP_KERNEL) != i - 2); in idr_align_test()
247 BUG_ON(idr_alloc(idr, &name[i], 0, 0, GFP_KERNEL) != i - 3); in idr_align_test()
253 BUG_ON(idr_alloc(idr, &name[i], 0, 0, GFP_KERNEL) != 0); in idr_align_test()
254 BUG_ON(idr_alloc(idr, &name[i + 1], 0, 0, GFP_KERNEL) != 1); in idr_align_test()
259 BUG_ON(!idr_is_empty(idr)); in idr_align_test()
263 BUG_ON(idr_alloc(idr, NULL, 0, 0, GFP_KERNEL) != 0); in idr_align_test()
267 BUG_ON(idr_find(idr, 0) != &name[i]); in idr_align_test()
272 BUG_ON(idr_alloc(idr, &name[i], 0, 0, GFP_KERNEL) != 0); in idr_align_test()
273 BUG_ON(idr_alloc(idr, NULL, 0, 0, GFP_KERNEL) != 1); in idr_align_test()
308 BUG_ON(idr_alloc(&find_idr, xa_mk_value(anchor_id), anchor_id, in idr_find_test_1()
331 BUG_ON(!idr_is_empty(&find_idr)); in idr_find_test_1()