Searched refs:cgbs (Results 1 – 2 of 2) sorted by relevance
1190 CGenBlock* cgbs = NULL; in client_block_maybe_describe() local1193 MC_(get_ClientBlock_array)( &cgbs, &cgb_used ); in client_block_maybe_describe()1194 if (cgbs == NULL) in client_block_maybe_describe()1199 if (cgbs[i].start == 0 && cgbs[i].size == 0) in client_block_maybe_describe()1202 if (VG_(addr_is_in_block)(a, cgbs[i].start, cgbs[i].size, 0)) { in client_block_maybe_describe()1205 ai->Addr.Block.block_desc = cgbs[i].desc; in client_block_maybe_describe()1206 ai->Addr.Block.block_szB = cgbs[i].size; in client_block_maybe_describe()1207 ai->Addr.Block.rwoffset = (Word)(a) - (Word)(cgbs[i].start); in client_block_maybe_describe()1208 ai->Addr.Block.allocated_at = cgbs[i].where; in client_block_maybe_describe()
5420 static CGenBlock* cgbs = NULL; variable5433 *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()[all …]