Lines Matching refs:aid
57 static void cc_analyse_alloc_arena ( ArenaId aid ); /* fwds */
496 void arena_init ( ArenaId aid, Char* name, SizeT rz_szB,
500 Arena* a = arenaId_to_ArenaP(aid);
510 a->clientmem = ( VG_AR_CLIENT == aid ? True : False );
586 void ensure_mm_init ( ArenaId aid )
603 if (VG_AR_CLIENT == aid) {
787 ArenaId aid;
792 for (aid = 0; aid < VG_N_ARENAS; aid++) {
793 Arena* arena = arenaId_to_ArenaP(aid);
1159 static void sanity_check_malloc_arena ( ArenaId aid )
1172 a = arenaId_to_ArenaP(aid);
1298 static void cc_analyse_alloc_arena ( ArenaId aid )
1309 a = arenaId_to_ArenaP(aid);
1316 sanity_check_malloc_arena(aid);
1493 void* VG_(arena_malloc) ( ArenaId aid, HChar* cc, SizeT req_pszB )
1503 ensure_mm_init(aid);
1504 a = arenaId_to_ArenaP(aid);
1566 vg_assert(VG_AR_CLIENT == aid);
1657 cc_analyse_alloc_arena(aid);
1665 sanity_check_malloc_arena(aid);
1679 if (0 && aid != VG_AR_CLIENT)
1758 void VG_(arena_free) ( ArenaId aid, void* ptr )
1769 ensure_mm_init(aid);
1770 a = arenaId_to_ArenaP(aid);
1780 if (aid != VG_AR_CLIENT)
1797 if (aid != VG_AR_CLIENT)
1878 sanity_check_malloc_arena(aid);
1917 void* VG_(arena_memalign) ( ArenaId aid, HChar* cc,
1926 ensure_mm_init(aid);
1927 a = arenaId_to_ArenaP(aid);
1966 base_p = VG_(arena_malloc) ( aid, cc, base_pszB_req );
2021 sanity_check_malloc_arena(aid);
2032 SizeT VG_(arena_malloc_usable_size) ( ArenaId aid, void* ptr )
2034 Arena* a = arenaId_to_ArenaP(aid);
2105 void* VG_(arena_calloc) ( ArenaId aid, HChar* cc,
2114 p = VG_(arena_malloc) ( aid, cc, size );
2124 void* VG_(arena_realloc) ( ArenaId aid, HChar* cc,
2132 ensure_mm_init(aid);
2133 a = arenaId_to_ArenaP(aid);
2138 return VG_(arena_malloc)(aid, cc, req_pszB);
2142 VG_(arena_free)(aid, ptr);
2156 p_new = VG_(arena_malloc) ( aid, cc, req_pszB );
2160 VG_(arena_free)(aid, ptr);
2167 __inline__ Char* VG_(arena_strdup) ( ArenaId aid, HChar* cc,
2178 res = VG_(arena_malloc) (aid, cc, len);