Searched refs:bitsetSz (Results 1 – 1 of 1) sorted by relevance
32 uint32_t bitsetSz, dataSz; in slabAllocatorNew() local35 bitsetSz = ATOMIC_BITSET_SZ(numItems); in slabAllocatorNew()36 bitsetSz = ((bitsetSz + itemAlign - 1) / itemAlign) * itemAlign; in slabAllocatorNew()42 allocator = (struct SlabAllocator*)heapAlloc(sizeof(struct SlabAllocator) + bitsetSz + dataSz); in slabAllocatorNew()45 allocator->dataChunks = ((uint8_t*)allocator->bitset) + bitsetSz; in slabAllocatorNew()