Lines Matching defs:pHead
420 PSSMSTRMBUF volatile pHead;
422 * The consumer/producer roles are the inverse of pHead. */
424 /** Event that's signalled when pHead is updated. */
429 /** List of pending buffers that has been dequeued from pHead and reversed. */
1148 PSSMUNIT pUnit = pVM->ssm.s.pHead;
1196 pVM->ssm.s.pHead = pUnit;
1201 pVM->ssm.s.pHead = pUnit;
1534 PSSMUNIT pUnit = pVM->ssm.s.pHead;
1554 pVM->ssm.s.pHead = pUnit;
1610 PSSMUNIT pUnit = pVM->ssm.s.pHead;
1630 pVM->ssm.s.pHead = pUnit;
1680 PSSMUNIT pUnit = pVM->ssm.s.pHead;
1700 pVM->ssm.s.pHead = pUnit;
1751 PSSMUNIT pUnit = pVM->ssm.s.pHead;
1766 pVM->ssm.s.pHead = pUnit;
1838 pStrm->pHead = NULL;
1892 * @param pHead Pointer to the head.
1894 static void ssmR3StrmDestroyBufList(PSSMSTRMBUF pHead)
1896 while (pHead)
1898 PSSMSTRMBUF pCur = pHead;
1899 pHead = pCur->pNext;
1916 ssmR3StrmDestroyBufList(pStrm->pHead);
1917 pStrm->pHead = NULL;
2197 PSSMSTRMBUF pCurHead = ASMAtomicUoReadPtrT(&pStrm->pHead, PSSMSTRMBUF);
2199 if (ASMAtomicCmpXchgPtr(&pStrm->pHead, pBuf, pCurHead))
2213 * @param pHead The head of the list to reverse.
2215 static PSSMSTRMBUF ssmR3StrmReverseList(PSSMSTRMBUF pHead)
2218 while (pHead)
2220 PSSMSTRMBUF pCur = pHead;
2221 pHead = pCur->pNext;
2250 pMine = ASMAtomicXchgPtrT(&pStrm->pHead, NULL, PSSMSTRMBUF);
2346 PSSMSTRMBUF pHead = ASMAtomicXchgPtrT(&pStrm->pHead, NULL, PSSMSTRMBUF);
2347 if (!pHead)
2349 pHead = ssmR3StrmReverseList(pHead);
2351 while (pHead)
2354 PSSMSTRMBUF pCur = pHead;
2355 pHead = pCur->pNext;
2370 Assert(!pHead);
2821 && !pStrm->pHead /* the worker is probably idle */
3058 if (!ASMAtomicReadPtrT(&pStrm->pHead, PSSMSTRMBUF))
3065 else if (!ASMAtomicReadPtrT(&pStrm->pHead, PSSMSTRMBUF))
4476 for (PSSMUNIT pUnit = pVM->ssm.s.pHead; pUnit; pUnit = pUnit->pNext)
4651 for (PSSMUNIT pUnit = pVM->ssm.s.pHead; pUnit; pUnit = pUnit->pNext)
4781 for (PSSMUNIT pUnit = pVM->ssm.s.pHead; pUnit; pUnit = pUnit->pNext, iUnit++)
4924 for (PSSMUNIT pUnit = pVM->ssm.s.pHead; pUnit; pUnit = pUnit->pNext)
5081 for (PSSMUNIT pUnit = pVM->ssm.s.pHead; pUnit; pUnit = pUnit->pNext)
5269 for (PSSMUNIT pUnit = pVM->ssm.s.pHead; pUnit; pUnit = pUnit->pNext)
5370 for (PSSMUNIT pUnit = pVM->ssm.s.pHead; pUnit; pUnit = pUnit->pNext)
5505 for (PSSMUNIT pUnit = pVM->ssm.s.pHead; pUnit; pUnit = pUnit->pNext)
5575 for (PSSMUNIT pUnit = pVM->ssm.s.pHead; pUnit; pUnit = pUnit->pNext)
8089 PSSMUNIT pUnit = pVM->ssm.s.pHead;
8614 for (pUnit = pVM->ssm.s.pHead; pUnit; pUnit = pUnit->pNext)
8622 for (pUnit = pVM->ssm.s.pHead; pUnit; pUnit = pUnit->pNext)
8695 for (pUnit = pVM->ssm.s.pHead; pUnit; pUnit = pUnit->pNext)