Lines Matching refs:BUG_ON
29 BUG_ON(!lc); \
30 BUG_ON(!lc->nr_elements); \
31 BUG_ON(test_and_set_bit(__LC_PARANOIA, &lc->flags)); \
43 BUG_ON(i >= lc_->nr_elements); \
44 BUG_ON(lc_->lc_element[i] != e_); } while (0)
254 BUG_ON(!lc); in __lc_find()
255 BUG_ON(!lc->nr_elements); in __lc_find()
313 BUG_ON(e->refcnt); in lc_del()
430 BUG_ON(!e); in __lc_get()
433 BUG_ON(++e->refcnt != 1); in __lc_get()
563 BUG_ON(e->refcnt == 0); in lc_put()
564 BUG_ON(e->lc_number != e->lc_new_number); in lc_put()
581 BUG_ON(i >= lc->nr_elements); in lc_element_by_index()
582 BUG_ON(lc->lc_element[i] == NULL); in lc_element_by_index()
583 BUG_ON(lc->lc_element[i]->lc_index != i); in lc_element_by_index()
615 BUG_ON(e->lc_number != e->lc_new_number); in lc_set()
616 BUG_ON(e->refcnt != 0); in lc_set()