Lines Matching defs:free

3 /*--- An implementation of malloc/free which doesn't use sbrk.     ---*/
14 This program is free software; you can redistribute it and/or
55 /* Number and total size of blocks in free queue. Used by mallinfo(). */
85 Layout of a block on the free list:
121 (The bottom 3 or so bits are always free for this because of alignment.)
162 // The free space at the end of an unsplittable superblock is not used to
163 // make a free block. Note that this means that an unsplittable superblock can
226 Addr perm_malloc_current; // first byte free in perm_malloc sb.
295 // Get a block's size as stored, ie with the in-use/free attribute.
308 // Get a block's plain size, ie. remove the in-use/free attribute.
315 // Set the size fields of a block. bszB may have the in-use/free attribute.
1174 VG_(printf)( "%s, ", is_inuse_block(b) ? "inuse" : "free");
1300 "%8s: %2d sbs, %5d bs, %2d/%-2d free bs, "
1470 aai->free = !is_inuse_block(b);
1478 aai->free = False;
1486 // relevant free list.
1616 // list, and each time not find any free blocks until the last element.
1705 set_cc(b, "admin.free-new-sb-1");
1723 // Yes, split block in two, put the fragment on the appropriate free
1765 // of a free block is not big enough to make a free block by itself).
1822 // with a sequence: free (causing a deferred reclaim of sb)
1824 // free of the just alloc-ed block (causing a re-defer).
1908 set_cc(b, "admin.free-1");
1929 set_cc(b, "admin.free-2");
1954 set_cc(b, "admin.free-3");
1973 // for free list management. E.g. if block ptr has been put in a free
1987 // used for free blocks.
2021 free pool, and align, which is the bit we're really after. Here's
2109 inside VG_(arena_malloc). We need to indicate it is free, then
2133 /* Create the fragment block, and put it back on the relevant free list. */
2191 // int fsmblks; /* space in free small blocks */
2193 // int fordblks; /* space in free ordinary blocks */
2212 // Traverse free list and calculate free blocks statistics.
2250 /*--- Services layered on top of malloc/free. ---*/
2374 void VG_(free) ( void* ptr )