return the header of a mempool object (internal) */
| 364 | |
| 365 | /* return the header of a mempool object (internal) */ |
| 366 | static inline struct rte_mempool_objhdr * |
| 367 | rte_mempool_get_header(void *obj) |
| 368 | { |
| 369 | return (struct rte_mempool_objhdr *)RTE_PTR_SUB(obj, |
| 370 | sizeof(struct rte_mempool_objhdr)); |
| 371 | } |
| 372 | |
| 373 | /** |
| 374 | * Return a pointer to the mempool owning this object. |
no outgoing calls
no test coverage detected