Lines Matching defs:malloc_block
50 typedef struct malloc_block {
52 struct malloc_block *malFwd;
53 struct malloc_block *malBwd;
56 } malloc_block;
58 static malloc_block malAnchor = {&malAnchor, &malAnchor, NULL, 0};
68 malloc_block *amem;
72 nsize = size + sizeof(malloc_block) + 15; /* Make sure we get enough to fit */
80 amem = (malloc_block *)rmem; /* Point to the block */
106 malloc_block *amem, *fore, *aft;
111 amem = (malloc_block *)((unsigned int)address - sizeof(malloc_block)); /* Point to the header */
151 malloc_block *amem, *bmem;
165 malAnchor.malFwd = (struct malloc_block *) 0x666; /* Cause a fault if we try again */
166 malAnchor.malBwd = (struct malloc_block *) 0x666; /* Cause a fault if we try again */
192 malloc_block *amem;
194 amem = (malloc_block *)((unsigned int)address - sizeof(malloc_block)); /* Point to allocation block */
201 memcpy(new_address, address, amem->malSize - sizeof(malloc_block)); /* Copy the old in */