Searched refs:nr_elements (Results 1 – 1 of 1) sorted by relevance
30 BUG_ON(!lc->nr_elements); \43 BUG_ON(i >= lc_->nr_elements); \126 lc->nr_elements = e_count; in lc_create()179 for (i = 0; i < lc->nr_elements; i++) in lc_destroy()209 memset(lc->lc_slot, 0, sizeof(struct hlist_head) * lc->nr_elements); in lc_reset()211 for (i = 0; i < lc->nr_elements; i++) { in lc_reset()239 lc->name, lc->used, lc->nr_elements, in lc_seq_printf_stats()245 return lc->lc_slot + (enr % lc->nr_elements); in lc_hash_slot()255 BUG_ON(!lc->nr_elements); in __lc_find()581 BUG_ON(i >= lc->nr_elements); in lc_element_by_index()[all …]