Lines Matching refs:MC_Chunk
83 static MC_Chunk* freed_list_start[2] = {NULL, NULL};
84 static MC_Chunk* freed_list_end[2] = {NULL, NULL};
88 static void add_to_freed_queue ( MC_Chunk* mc )
133 MC_Chunk* mc1;
150 /* free MC_Chunk */
158 MC_Chunk* MC_(get_freed_block_bracketting) (Addr a)
162 MC_Chunk* mc;
177 MC_Chunk* create_MC_Chunk ( ExeContext* ec, Addr p, SizeT szB,
180 MC_Chunk* mc = VG_(malloc)("mc.cMC.1 (a MC_Chunk)", sizeof(MC_Chunk));
186 /* Each time a new MC_Chunk is created, release oldest blocks
191 /* Paranoia ... ensure the MC_Chunk is off-limits to the client, so
195 if (!MC_(check_mem_is_noaccess)( (Addr)mc, sizeof(MC_Chunk), NULL )) {
329 void die_and_free_mem ( ThreadId tid, MC_Chunk* mc, SizeT rzB )
352 MC_Chunk* mc;
389 MC_Chunk* mc;
454 /* Nb: we have to allocate a new MC_Chunk for the new memory rather
507 /* Nb: we have to allocate a new MC_Chunk for the new memory rather
531 MC_Chunk* mc = VG_(HT_lookup) ( MC_(malloc_list), (UWord)p );
545 MC_Chunk* mc = VG_(HT_lookup) ( MC_(malloc_list), (UWord)p );
618 MC_Chunk* mc;
652 MC_Chunk* mc1 = *(MC_Chunk**)n1;
653 MC_Chunk* mc2 = *(MC_Chunk**)n2;
665 MC_Chunk **chunks = (MC_Chunk**) VG_(HT_to_array)( mp->chunks, &n_chunks );
759 MC_Chunk* mc;
794 MC_Chunk* mc;
823 mc = (MC_Chunk*) chunks[i];
930 MC_Chunk* mc;
978 MC_Chunk* mc;