Lines Matching full:magic
79 unsigned magic; member
85 unsigned magic; member
144 hdr->magic = DEBUG_MEMORY_MAGIC; in debug_malloc()
155 ftr->magic = DEBUG_MEMORY_MAGIC; in debug_malloc()
175 if (hdr->magic != DEBUG_MEMORY_MAGIC) { in debug_free()
184 if (ftr->magic != DEBUG_MEMORY_MAGIC) { in debug_free()
205 hdr->magic = 0; in debug_free()
206 ftr->magic = 0; in debug_free()
239 if (old_hdr->magic != DEBUG_MEMORY_MAGIC) { in debug_realloc()
248 if (old_ftr->magic != DEBUG_MEMORY_MAGIC) { in debug_realloc()
268 new_hdr->magic = DEBUG_MEMORY_MAGIC; in debug_realloc()
275 new_ftr->magic = DEBUG_MEMORY_MAGIC; in debug_realloc()
286 old_hdr->magic = 0; in debug_realloc()
287 old_ftr->magic = 0; in debug_realloc()
318 if (hdr->magic != DEBUG_MEMORY_MAGIC) { in debug_memory_end()
336 if (ftr->magic != DEBUG_MEMORY_MAGIC) { in debug_memory_end()
367 if (hdr->magic != DEBUG_MEMORY_MAGIC) { in debug_memory_tag()
391 if (hdr->magic != DEBUG_MEMORY_MAGIC) { in debug_memory_check_block()
397 if (ftr->magic != DEBUG_MEMORY_MAGIC) { in debug_memory_check_block()
425 if (hdr->magic != DEBUG_MEMORY_MAGIC) { in debug_memory_check()
431 if (ftr->magic != DEBUG_MEMORY_MAGIC) { in debug_memory_check()