Lines Matching defs:pConnection

377     int Assign(const ClientConnection *pConnection)
379 AssertPtrReturn(pConnection, VERR_INVALID_POINTER);
388 if (mParmCount > pConnection->mNumParms)
391 this, mParmCount, pConnection->mNumParms));
402 rc = CopyTo(pConnection->mParms, pConnection->mNumParms);
419 int Peek(const ClientConnection *pConnection)
421 AssertPtrReturn(pConnection, VERR_INVALID_POINTER);
426 if (pConnection->mNumParms >= 2)
428 pConnection->mParms[0].setUInt32(mMsgType); /* Message ID */
429 pConnection->mParms[1].setUInt32(mParmCount); /* Required parameters for message */
433 pConnection->mNumParms));
597 int SetPending(const ClientConnection *pConnection)
599 AssertPtrReturn(pConnection, VERR_INVALID_POINTER);
616 mPendingCon.mHandle = pConnection->mHandle;
617 mPendingCon.mNumParms = pConnection->mNumParms;
618 mPendingCon.mParms = pConnection->mParms;
638 int Run(const ClientConnection *pConnection,
641 AssertPtrReturn(pConnection, VERR_INVALID_POINTER);
646 LogFlowFunc(("[Client %RU32] pConnection=%p, mHostCmdRc=%Rrc, mHostCmdTries=%RU32, mPeekCount=%RU32\n",
647 mID, pConnection, mHostCmdRc, mHostCmdTries, mPeekCount));
649 mHostCmdRc = SendReply(pConnection, pHostCmd);
711 int RunCurrent(const ClientConnection *pConnection)
713 AssertPtrReturn(pConnection, VERR_INVALID_POINTER);
718 rc = SetPending(pConnection);
730 rc = Run(pConnection, pHostCmd);
793 int SendReply(const ClientConnection *pConnection,
796 AssertPtrReturn(pConnection, VERR_INVALID_POINTER);
804 rc = pHostCmd->Peek(pConnection);
814 rc = pHostCmd->Peek(pConnection);
821 rc = pHostCmd->Assign(pConnection);
824 rc = pHostCmd->Peek(pConnection);
838 mSvcHelpers->pfnCallComplete(pConnection->mHandle, rc);
840 LogFlowFunc(("[Client %RU32] mPeekCount=%RU32, pConnection=%p, pHostCmd=%p, replyRc=%Rrc\n",
841 mID, mPeekCount, pConnection, pHostCmd, rc));