Lines Matching refs:cgbs
6308 static CGenBlock* cgbs = NULL; variable
6321 *blocks = cgbs; in MC_()
6336 if (cgbs[i].start == 0 && cgbs[i].size == 0) in alloc_client_block()
6348 sz_new = (cgbs == NULL) ? 10 : (2 * cgb_size); in alloc_client_block()
6352 cgbs_new[i] = cgbs[i]; in alloc_client_block()
6354 if (cgbs != NULL) in alloc_client_block()
6355 VG_(free)( cgbs ); in alloc_client_block()
6356 cgbs = cgbs_new; in alloc_client_block()
7049 cgbs[i].start = arg[1]; in mc_handle_client_request()
7050 cgbs[i].size = arg[2]; in mc_handle_client_request()
7051 cgbs[i].desc = VG_(strdup)("mc.mhcr.1", (HChar *)arg[3]); in mc_handle_client_request()
7052 cgbs[i].where = VG_(record_ExeContext) ( tid, 0/*first_ip_delta*/ ); in mc_handle_client_request()
7059 if (cgbs == NULL in mc_handle_client_request()
7061 (cgbs[arg[2]].start == 0 && cgbs[arg[2]].size == 0)) { in mc_handle_client_request()
7065 cgbs[arg[2]].start = cgbs[arg[2]].size = 0; in mc_handle_client_request()
7066 VG_(free)(cgbs[arg[2]].desc); in mc_handle_client_request()