Lines Matching refs:iObj
262 uint32_t iObj = pPage->cObjects;
263 while (iObj-- > 0)
264 if (ASMBitTestAndClear(pPage->pbmCtor, iObj))
265 pThis->pfnDtor(hMemCache, pPage->pbObjects + iObj * pThis->cbObject, pThis->pvUser);
418 int32_t iObj = pPage ? rtMemCacheGrabObj(pPage) : -1;
419 if (iObj < 0)
425 iObj = rtMemCacheGrabObj(pPage);
426 if (iObj >= 0)
428 if (iObj > 0)
433 if (iObj >= 0)
439 Assert(iObj >= 0);
440 Assert((uint32_t)iObj < pThis->cMax);
446 if (ASMAtomicBitTestAndSet(pPage->pbmAlloc, iObj))
450 iObj = ASMBitFirstClear(pPage->pbmAlloc, pThis->cBits);
451 if (RT_LIKELY(iObj >= 0))
453 if (!ASMAtomicBitTestAndSet(pPage->pbmAlloc, iObj))
460 Assert(iObj >= 0);
462 void *pvObj = &pPage->pbObjects[iObj * pThis->cbObject];
469 && !ASMAtomicBitTestAndSet(pPage->pbmCtor, iObj))
474 ASMAtomicBitClear(pPage->pbmCtor, iObj);
517 uintptr_t iObj = offObj / pThis->cbObject;
518 Assert(iObj * pThis->cbObject == offObj);
519 Assert(iObj < pThis->cPerPage);
520 AssertReturnVoid(ASMAtomicBitTestAndClear(pPage->pbmAlloc, iObj));
569 uintptr_t iObj = offObj / pThis->cbObject;
570 Assert(iObj * pThis->cbObject == offObj);
571 Assert(iObj < pThis->cPerPage);
572 AssertReturnVoid(ASMBitTest(pPage->pbmAlloc, (int32_t)iObj));