* Allocate zero'd memory on default heap. */
| 153 | * Allocate zero'd memory on default heap. |
| 154 | */ |
| 155 | void * |
| 156 | rte_calloc(const char *type, size_t num, size_t size, unsigned align) |
| 157 | { |
| 158 | return rte_zmalloc(type, num * size, align); |
| 159 | } |
| 160 | |
| 161 | /* |
| 162 | * Resize allocated memory on specified heap. |