Lines Matching refs:malloc
64 // - heap-allocated blocks. A block is a mempool chunk or a malloc chunk
149 // ==20397== at 0x4C2694E: malloc (vg_replace_malloc.c:177)
155 // ==20397== at 0x4C2694E: malloc (vg_replace_malloc.c:177)
171 // ==20397== at 0x4C2694E: malloc (vg_replace_malloc.c:177)
184 // some special treatment because they can be within malloc'd blocks.
333 // mempool chunk, and every malloc region that *doesn't* contain a
340 // First we collect all the malloc chunks into an array and sort it.
351 // Then we build an array containing a Bool for each malloc chunk,
359 // malloc chunk containing the mempool chunk.
368 // Possibly invalidate the malloc holding the beginning of this chunk.
376 // Possibly invalidate the malloc holding the end of this chunk.
390 chunks = VG_(malloc)("mc.fas.2", sizeof(VgHashNode*) * (n_chunks));
393 // Copy the mempool chunks and the non-marked malloc chunks into a
890 lr_array = VG_(malloc)("mc.pr.2", n_lossrecords * sizeof(LossRecord*));
980 VG_(malloc), "mc.pr.1",
1380 // we allow a MALLOCLIKE block to sit entirely within a malloc() block.
1381 // This is for bug 100628. If this occurs, we ignore the malloc() block
1447 lc_extras = VG_(malloc)( "mc.dml.2", lc_n_chunks * sizeof(LC_Extra) );
1455 lc_markstack = VG_(malloc)( "mc.dml.2", lc_n_chunks * sizeof(Int) );
1556 // Scan active malloc-ed chunks