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

Function old_malloc_size

dpdk/lib/eal/common/malloc_elem.h:264–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264static inline size_t
265old_malloc_size(struct malloc_elem *elem)
266{
267 if (elem->state != ELEM_PAD)
268 elem = RTE_PTR_ADD(elem, elem->pad);
269
270 return elem->user_size;
271}
272
273#else /* !RTE_MALLOC_ASAN */
274

Callers 1

rte_realloc_socketFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected