Lines Matching refs:cgbs
5410 static CGenBlock* cgbs = NULL;
5423 *blocks = cgbs;
5438 if (cgbs[i].start == 0 && cgbs[i].size == 0)
5450 sz_new = (cgbs == NULL) ? 10 : (2 * cgb_size);
5454 cgbs_new[i] = cgbs[i];
5456 if (cgbs != NULL)
5457 VG_(free)( cgbs );
5458 cgbs = cgbs_new;
5921 /* VG_(printf)("allocated %d %p\n", i, cgbs); */
5922 cgbs[i].start = arg[1];
5923 cgbs[i].size = arg[2];
5924 cgbs[i].desc = VG_(strdup)("mc.mhcr.1", (HChar *)arg[3]);
5925 cgbs[i].where = VG_(record_ExeContext) ( tid, 0/*first_ip_delta*/ );
5932 if (cgbs == NULL
5934 (cgbs[arg[2]].start == 0 && cgbs[arg[2]].size == 0)) {
5938 cgbs[arg[2]].start = cgbs[arg[2]].size = 0;
5939 VG_(free)(cgbs[arg[2]].desc);