Lines Matching refs:pLookup
352 pCur->pLookup->pDesc = NULL;
813 * @param pLookup The current node.
815 static PSTAMDESC stamR3LookupFindNextWithDesc(PSTAMLOOKUP pLookup)
817 Assert(!pLookup->pDesc);
818 PSTAMLOOKUP pCur = pLookup;
1075 * @param pLookup The lookup node.
1077 static void stamR3LookupIncUsage(PSTAMLOOKUP pLookup)
1079 Assert(pLookup->pDesc);
1081 PSTAMLOOKUP pCur = pLookup;
1093 * @param pLookup The lookup node.
1095 static void stamR3LookupDecUsage(PSTAMLOOKUP pLookup)
1097 Assert(!pLookup->pDesc);
1099 PSTAMLOOKUP pCur = pLookup;
1112 * @param pLookup The lookup node.
1114 static void stamR3LookupMaybeFree(PSTAMLOOKUP pLookup)
1116 Assert(!pLookup->pDesc);
1123 if (pLookup->cDescsInTree > 0)
1126 PSTAMLOOKUP pCur = pLookup->pParent;
1271 PSTAMLOOKUP pLookup = pUVM->stam.s.pRoot; Assert(pLookup);
1288 PSTAMLOOKUP pChild = stamR3LookupFindChild(pLookup, pszStart, cch, &iChild);
1291 pChild = stamR3LookupNewChild(pLookup, pszStart, cch, offName, iChild);
1300 pLookup = pChild;
1305 if (pLookup->pDesc)
1312 PSTAMDESC pCur = stamR3LookupFindNextWithDesc(pLookup);
1427 pNew->pLookup = pLookup;
1428 pLookup->pDesc = pNew;
1429 stamR3LookupIncUsage(pLookup);
1454 pCur->pLookup->pDesc = NULL; /** @todo free lookup nodes once it's working. */
1455 stamR3LookupDecUsage(pCur->pLookup);
1456 stamR3LookupMaybeFree(pCur->pLookup);