Lines Matching refs:ftr
128 struct debug_memory_footer *ftr; in debug_malloc() local
130 hdr = os_malloc(sizeof(*hdr) + size + sizeof(*ftr)); in debug_malloc()
153 ftr = footer_from_header(hdr); in debug_malloc()
154 ftr->magic = DEBUG_MEMORY_MAGIC; in debug_malloc()
168 struct debug_memory_footer *ftr; in debug_free() local
182 ftr = footer_from_header(hdr); in debug_free()
183 if (ftr->magic != DEBUG_MEMORY_MAGIC) { in debug_free()
205 ftr->magic = 0; in debug_free()
311 struct debug_memory_footer *ftr; in debug_memory_end() local
315 ftr = footer_from_header(hdr); in debug_memory_end()
335 if (ftr->magic != DEBUG_MEMORY_MAGIC) { in debug_memory_end()
382 struct debug_memory_footer *ftr; in debug_memory_check_block() local
388 ftr = footer_from_header(hdr); in debug_memory_check_block()
396 if (ftr->magic != DEBUG_MEMORY_MAGIC) { in debug_memory_check_block()
417 struct debug_memory_footer *ftr; in debug_memory_check() local
421 ftr = footer_from_header(hdr); in debug_memory_check()
430 if (ftr->magic != DEBUG_MEMORY_MAGIC) { in debug_memory_check()