Lines Matching defs:BLOCK
62 /* Re-allocate the previously allocated block
63 in __ptr_t, making the new block SIZE bytes long. */
67 /* Free a block allocated by `malloc', `realloc' or `calloc'. */
101 receive a fragment of a block. Fragment sizes are powers of two,
102 and all fragments of a block are the same size. When all the
103 fragments in a block have been freed, the block itself is freed. */
117 /* Data structure giving per-block information. */
120 /* Heap information for a busy block. */
123 /* Zero for a large block, or positive giving the
130 size_t nfree; /* Free fragments in a fragmented block. */
131 size_t first; /* First free fragment of the block. */
137 /* Heap information for a free block
147 /* Pointer to first block of the heap. */
150 /* Table indexed by block number giving per-block information. */
153 /* Address to block number and vice versa. */
154 #define BLOCK(A) (((char *) (A) - _heapbase) / BLOCKSIZE + 1)