| 191 | } |
| 192 | |
| 193 | InkFreeList * |
| 194 | ink_freelist_create(const char *name, uint32_t type_size, uint32_t chunk_size, uint32_t alignment, bool use_hugepages) |
| 195 | { |
| 196 | InkFreeList *f; |
| 197 | |
| 198 | ink_freelist_init(&f, name, type_size, chunk_size, alignment, use_hugepages); |
| 199 | return f; |
| 200 | } |
| 201 | |
| 202 | #define ADDRESS_OF_NEXT(x, offset) ((void **)((char *)x + offset)) |
| 203 |