Lines Matching defs:iEntry
107 uint32_t iEntry;
2591 uint32_t iEntry = UINT32_MAX;
2608 Assert(iEntry == UINT32_MAX);
2656 Assert(iEntry == UINT32_MAX);
2664 || iEntry != UINT32_MAX
2671 while (++iEntry < cAllocated)
2673 PRTLOCKVALRECSHRDOWN pEntry = rtLockValidatorUoReadSharedOwner(&papOwners[iEntry]);
2710 iEntry = UINT32_MAX;
2737 pStack->a[i].iEntry = iEntry;
2752 iEntry = UINT32_MAX;
2770 iEntry = pStack->a[i].iEntry;
2778 if (iEntry + 1 < pRec->Shared.cAllocated)
2793 iEntry = UINT32_MAX;
2864 pShrdOwner = (PRTLOCKVALRECUNION)pStack->a[i].pRec->Shared.papOwners[pStack->a[i].iEntry];
3548 for (uint32_t iEntry = 0; iEntry < cMax; iEntry++)
3550 PRTLOCKVALRECUNION pEntry = (PRTLOCKVALRECUNION)rtLockValidatorUoReadSharedOwner(&papOwners[iEntry]);
3555 *piEntry = iEntry;
3711 unsigned iEntry = ASMBitFirstSetU32(ASMAtomicUoReadU32(&pThreadSelf->LockValidator.bmFreeShrdOwners));
3712 if ( iEntry > 0
3713 && ASMAtomicBitTestAndClear(&pThreadSelf->LockValidator.bmFreeShrdOwners, iEntry - 1))
3715 pEntry = (PRTLOCKVALRECUNION)&pThreadSelf->LockValidator.aShrdOwners[iEntry - 1];
3768 uintptr_t iEntry = pEntry - &pThread->LockValidator.aShrdOwners[0];
3769 AssertReleaseReturnVoid(iEntry < RT_ELEMENTS(pThread->LockValidator.aShrdOwners));
3771 Assert(!ASMBitTest(&pThread->LockValidator.bmFreeShrdOwners, (int32_t)iEntry));
3772 ASMAtomicBitSet(&pThread->LockValidator.bmFreeShrdOwners, (int32_t)iEntry);
3886 for (uint32_t iEntry = 0; iEntry < cMax; iEntry++)
3888 if (ASMAtomicCmpXchgPtr(&papOwners[iEntry], pEntry, NULL))
3908 * @param iEntry The last known index.
3911 uint32_t iEntry)
3918 if (RT_UNLIKELY( iEntry >= pShared->cAllocated
3919 || !ASMAtomicCmpXchgPtr(&pShared->papOwners[iEntry], NULL, pEntry)))
3925 for (iEntry = 0; iEntry < cMax; iEntry++)
3926 if (ASMAtomicCmpXchgPtr(&papOwners[iEntry], NULL, pEntry))
3928 AssertReturnVoidStmt(iEntry < cMax, rtLockValidatorSerializeDetectionLeave());
3956 uint32_t iEntry = 0;
3959 while (iEntry < cEntries)
3961 PRTLOCKVALRECSHRDOWN pEntry = ASMAtomicXchgPtrT(&papEntries[iEntry], NULL, PRTLOCKVALRECSHRDOWN);
3975 iEntry++;
4055 uint32_t iEntry = UINT32_MAX; /* shuts up gcc */
4056 PRTLOCKVALRECUNION pEntry = rtLockValidatorRecSharedFindOwner(pRec, hThread, &iEntry);
4065 rtLockValidatorRecSharedRemoveAndFreeOwner(pRec, &pEntry->ShrdOwner, iEntry);
4112 uint32_t iEntry = 0;
4113 PRTLOCKVALRECUNION pEntry = rtLockValidatorRecSharedFindOwner(pRec, hThreadSelf, &iEntry);
4142 rtLockValidatorRecSharedRemoveAndFreeOwner(pRec, &pEntry->ShrdOwner, iEntry);
4167 uint32_t iEntry = 0;
4168 PRTLOCKVALRECUNION pEntry = rtLockValidatorRecSharedFindOwner(pRec, hThreadSelf, &iEntry);