Lines Matching full:apinfo
214 APInfo;
216 /* maps ExeContext*'s to APInfo*'s. Note that the keys must match the
218 static WordFM* apinfo = NULL; /* WordFM* ExeContext* APInfo* */
222 relevant APInfo entry for it, or create one, based on the block's
223 allocation EC. Then, update the APInfo to the extent that we
230 APInfo* api = NULL;
233 Bool found = VG_(lookupFM)( apinfo,
236 api = (APInfo*)valW;
239 api = VG_(malloc)( "dh.main.intro_Block.1", sizeof(APInfo) );
242 Bool present = VG_(addToFM)( apinfo,
283 /* 'bk' is retiring (being freed). Find the relevant APInfo entry for
296 APInfo* api = NULL;
299 Bool found = VG_(lookupFM)( apinfo,
303 api = (APInfo*)valW;
405 size change of 'delta', call here to update the APInfo. */
408 APInfo* api = NULL;
411 Bool found = VG_(lookupFM)( apinfo,
415 api = (APInfo*)valW;
1032 static Bool identify_metric ( /*OUT*/ULong(**get_metricP)(APInfo*),
1044 ULong (*dummyFn)(APInfo*);
1095 static void show_APInfo ( APInfo* api )
1170 static ULong get_metric__max_bytes_live ( APInfo* api ) {
1173 static ULong get_metric__tot_bytes ( APInfo* api ) {
1176 static ULong get_metric__max_blocks_live ( APInfo* api ) {
1185 static Bool identify_metric ( /*OUT*/ULong(**get_metricP)(APInfo*),
1212 ULong (*get_metric)(APInfo*);
1228 VG_(initIterFM)( apinfo );
1229 while (VG_(nextIterFM)( apinfo, &keyW, &valW )) {
1230 APInfo* api = (APInfo*)valW;
1234 VG_(doneIterFM)( apinfo );
1240 APInfo* best_api = NULL;
1242 VG_(initIterFM)( apinfo );
1243 while (VG_(nextIterFM)( apinfo, &keyW, &valW )) {
1244 APInfo* api = (APInfo*)valW;
1253 VG_(doneIterFM)( apinfo );
1393 apinfo = VG_(newFM)( VG_(malloc),
1394 "dh.main.apinfo.1",