Lines Matching refs:bbs
36 bb_hash bbs; variable
42 bbs.size = 8437; in CLG_()
43 bbs.entries = 0; in CLG_()
44 bbs.table = (BB**) CLG_MALLOC("cl.bb.ibh.1", in CLG_()
45 bbs.size * sizeof(BB*)); in CLG_()
47 for (i = 0; i < bbs.size; i++) bbs.table[i] = NULL; in CLG_()
52 return &bbs; in CLG_()
73 new_size = 2* bbs.size +3; in resize_bb_table()
80 for (i = 0; i < bbs.size; i++) { in resize_bb_table()
81 if (bbs.table[i] == NULL) continue; in resize_bb_table()
83 curr = bbs.table[i]; in resize_bb_table()
101 VG_(free)(bbs.table); in resize_bb_table()
105 bbs.size, new_size, in resize_bb_table()
106 bbs.entries, conflicts1, conflicts2); in resize_bb_table()
108 bbs.size = new_size; in resize_bb_table()
109 bbs.table = new_table; in resize_bb_table()
126 bbs.entries++; in new_bb()
127 if (10 * bbs.entries / bbs.size > 8) in new_bb()
152 idx = bb_hash_idx(obj, offset, bbs.size); in new_bb()
153 bb->next = bbs.table[idx]; in new_bb()
154 bbs.table[idx] = bb; in new_bb()
182 idx = bb_hash_idx(obj, offset, bbs.size); in lookup_bb()
183 bb = bbs.table[idx]; in lookup_bb()
295 idx = bb_hash_idx(obj, offset, bbs.size); in CLG_()
296 bb = bbs.table[idx]; in CLG_()
322 tl_assert(bb == bbs.table[idx]); in CLG_()
323 bbs.table[idx] = bb->next; in CLG_()
325 tl_assert(bb != bbs.table[idx]); in CLG_()