Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
Dslab.c25 uint8_t *dataChunks; member
45 allocator->dataChunks = ((uint8_t*)allocator->bitset) + bitsetSz; in slabAllocatorNew()
64 return allocator->dataChunks + allocator->itemSz * itemIdx; in slabAllocatorAlloc()
70 uint32_t itemOffset = ptr - allocator->dataChunks; in slabAllocatorFree()
85 return allocator->dataChunks + allocator->itemSz * idx; in slabAllocatorGetNth()
91 uint32_t itemOffset = ptr - allocator->dataChunks; in slabAllocatorGetIndex()