HomeSort by relevance Sort by last modified time
    Searched defs:itemSz (Results 1 - 2 of 2) sorted by null

  /device/google/contexthub/firmware/os/core/
slab.c 24 uint32_t itemSz;
29 struct SlabAllocator* slabAllocatorNew(uint32_t itemSz, uint32_t itemAlign, uint32_t numItems)
38 itemSz = ((itemSz + itemAlign - 1) / itemAlign) * itemAlign;
39 dataSz = itemSz * numItems;
44 allocator->itemSz = itemSz;
64 return allocator->dataChunks + allocator->itemSz * itemIdx;
71 uint32_t itemIdx = itemOffset / allocator->itemSz;
74 if ((itemOffset % allocator->itemSz) || (itemIdx >= atomicBitsetGetNumBits(allocator->bitset)) || !atomicBitsetGetBit(allocator->bitse (…)
    [all...]
osApi.c 237 uint32_t itemSz = va_arg(args, uint32_t);
241 *retValP = (uintptr_t)slabAllocatorNew(itemSz, itemAlign, numItems);

Completed in 85 milliseconds