Searched refs:itemOffset (Results 1 – 1 of 1) sorted by relevance
70 uint32_t itemOffset = ptr - allocator->dataChunks; in slabAllocatorFree() local71 uint32_t itemIdx = itemOffset / allocator->itemSz; in slabAllocatorFree()74 …if ((itemOffset % allocator->itemSz) || (itemIdx >= atomicBitsetGetNumBits(allocator->bitset)) || … in slabAllocatorFree()91 uint32_t itemOffset = ptr - allocator->dataChunks; in slabAllocatorGetIndex() local92 uint32_t itemIdx = itemOffset / allocator->itemSz; in slabAllocatorGetIndex()94 …if ((itemOffset % allocator->itemSz) || (itemIdx >= atomicBitsetGetNumBits(allocator->bitset)) || … in slabAllocatorGetIndex()