Home
last modified time | relevance | path

Searched refs:bitsetSz (Results 1 – 1 of 1) sorted by relevance

/device/google/contexthub/firmware/os/core/
Dslab.c32 uint32_t bitsetSz, dataSz; in slabAllocatorNew() local
35 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()