Lines Matching refs:blocks
57 bh->blocks = _ITEMS_TO_BLOCKS(num_items);
64 if ((bh->items_count * 2 > _BLOCKS_TO_ITEMS(bh->blocks)) && bh->items_count < 65536)
65 return (_BLOCKS_TO_ITEMS(bh->blocks) * 2);
121 if (bi->blocks < new_blocks) {
122 /* extend current blocks */
123 if (bi->blocks > 0)
124 memcpy(new_idx, bi->idx, _BLOCKS_TO_SZ(bi->blocks));
127 /* XXX: ensure all other blocks are non-zero */
128 for (int i = new_blocks; i < bi->blocks; i++) {
143 bh->blocks = _ITEMS_TO_BLOCKS(new_items);
162 for (i = off; i < bi->blocks; i++, mask++) {
197 if (i >= bi->blocks)