Lines Matching full:magic
78 unsigned magic; member
84 unsigned magic; member
143 hdr->magic = DEBUG_MEMORY_MAGIC; in debug_malloc()
154 ftr->magic = DEBUG_MEMORY_MAGIC; in debug_malloc()
174 if (hdr->magic != DEBUG_MEMORY_MAGIC) { in debug_free()
183 if (ftr->magic != DEBUG_MEMORY_MAGIC) { in debug_free()
204 hdr->magic = 0; in debug_free()
205 ftr->magic = 0; in debug_free()
238 if (old_hdr->magic != DEBUG_MEMORY_MAGIC) { in debug_realloc()
247 if (old_ftr->magic != DEBUG_MEMORY_MAGIC) { in debug_realloc()
267 new_hdr->magic = DEBUG_MEMORY_MAGIC; in debug_realloc()
274 new_ftr->magic = DEBUG_MEMORY_MAGIC; in debug_realloc()
285 old_hdr->magic = 0; in debug_realloc()
286 old_ftr->magic = 0; in debug_realloc()
317 if (hdr->magic != DEBUG_MEMORY_MAGIC) { in debug_memory_end()
335 if (ftr->magic != DEBUG_MEMORY_MAGIC) { in debug_memory_end()
366 if (hdr->magic != DEBUG_MEMORY_MAGIC) { in debug_memory_tag()
390 if (hdr->magic != DEBUG_MEMORY_MAGIC) { in debug_memory_check_block()
396 if (ftr->magic != DEBUG_MEMORY_MAGIC) { in debug_memory_check_block()
424 if (hdr->magic != DEBUG_MEMORY_MAGIC) { in debug_memory_check()
430 if (ftr->magic != DEBUG_MEMORY_MAGIC) { in debug_memory_check()