Lines Matching refs:cgbs
5420 static CGenBlock* cgbs = NULL; variable
5433 *blocks = cgbs; in MC_()
5448 if (cgbs[i].start == 0 && cgbs[i].size == 0) in alloc_client_block()
5460 sz_new = (cgbs == NULL) ? 10 : (2 * cgb_size); in alloc_client_block()
5464 cgbs_new[i] = cgbs[i]; in alloc_client_block()
5466 if (cgbs != NULL) in alloc_client_block()
5467 VG_(free)( cgbs ); in alloc_client_block()
5468 cgbs = cgbs_new; in alloc_client_block()
5940 cgbs[i].start = arg[1]; in mc_handle_client_request()
5941 cgbs[i].size = arg[2]; in mc_handle_client_request()
5942 cgbs[i].desc = VG_(strdup)("mc.mhcr.1", (HChar *)arg[3]); in mc_handle_client_request()
5943 cgbs[i].where = VG_(record_ExeContext) ( tid, 0/*first_ip_delta*/ ); in mc_handle_client_request()
5950 if (cgbs == NULL in mc_handle_client_request()
5952 (cgbs[arg[2]].start == 0 && cgbs[arg[2]].size == 0)) { in mc_handle_client_request()
5956 cgbs[arg[2]].start = cgbs[arg[2]].size = 0; in mc_handle_client_request()
5957 VG_(free)(cgbs[arg[2]].desc); in mc_handle_client_request()