MCPcopy Create free account
hub / github.com/F-Stack/f-stack / malloc_elem_dump

Function malloc_elem_dump

dpdk/lib/eal/common/malloc_elem.c:718–725  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

716}
717
718void
719malloc_elem_dump(const struct malloc_elem *elem, FILE *f)
720{
721 fprintf(f, "Malloc element at %p (%s)\n", elem,
722 elem_state_to_str(elem->state));
723 fprintf(f, " len: 0x%zx pad: 0x%" PRIx32 "\n", elem->size, elem->pad);
724 fprintf(f, " prev: %p next: %p\n", elem->prev, elem->next);
725}

Callers 1

malloc_heap_dumpFunction · 0.85

Calls 1

elem_state_to_strFunction · 0.85

Tested by

no test coverage detected