Lines Matching defs:pEntry
614 PVERIFIERCACHEENTRY pEntry = (PVERIFIERCACHEENTRY)RTMemAllocZ(sizeof(VERIFIERCACHEENTRY) + pUniStr->Length);
615 if (pEntry)
617 pEntry->pNext = NULL;
618 pEntry->pNextTodoWvt = NULL;
619 pEntry->hFile = hFile;
620 pEntry->uHash = supR3HardenedWinVerifyCacheHashPath(pUniStr);
621 pEntry->rc = rc;
622 pEntry->fFlags = fFlags;
623 pEntry->cHits = 0;
624 pEntry->fWinVerifyTrust = fWinVerifyTrust;
625 pEntry->cbPath = pUniStr->Length;
626 memcpy(pEntry->wszPath, pUniStr->Buffer, pUniStr->Length);
627 pEntry->wszPath[pUniStr->Length / sizeof(WCHAR)] = '\0';
628 pEntry->fIndexNumberValid = supR3HardenedWinVerifyCacheGetIndexNumber(hFile, &pEntry->IndexNumber);
633 uint32_t iHashTab = pEntry->uHash % RT_ELEMENTS(g_apVerifierCache);
637 if (ASMAtomicCmpXchgPtr(ppEntry, pEntry, NULL))
641 pEntry->pNextTodoWvt = g_pVerifierCacheTodoWvt;
642 while (!ASMAtomicCmpXchgPtr(&g_pVerifierCacheTodoWvt, pEntry, pEntry->pNextTodoWvt));
651 if ( pOther->uHash == pEntry->uHash
652 && pOther->cbPath == pEntry->cbPath
653 && supR3HardenedWinVerifyCacheIsMatch(pOther->wszPath, pEntry->wszPath, pEntry->cbPath / sizeof(RTUTF16)))
659 RTMemFree(pEntry);