Lines Matching defs:mpParms
173 mpParms = (VBOXHGCMSVCPARM*)RTMemAllocZ(sizeof(VBOXHGCMSVCPARM) * mParmCount);
174 if (NULL == mpParms)
182 mpParms[i].type = paParms[i].type;
186 mpParms[i].u.uint32 = paParms[i].u.uint32;
190 mpParms[i].u.uint64 = paParms[i].u.uint64;
194 mpParms[i].u.pointer.size = paParms[i].u.pointer.size;
195 if (mpParms[i].u.pointer.size > 0)
197 mpParms[i].u.pointer.addr = RTMemAlloc(mpParms[i].u.pointer.size);
198 if (NULL == mpParms[i].u.pointer.addr)
204 memcpy(mpParms[i].u.pointer.addr,
206 mpParms[i].u.pointer.size);
211 mpParms[i].u.pointer.addr = NULL;
229 rc = mpParms[0].getUInt32(&mContextID);
250 LogFlowFunc(("Freeing host command pHostCmd=%p, CID=%RU32, mMsgType=%RU32, mParmCount=%RU32, mpParms=%p\n",
251 this, mContextID, mMsgType, mParmCount, mpParms));
255 switch (mpParms[i].type)
258 if (mpParms[i].u.pointer.size > 0)
259 RTMemFree(mpParms[i].u.pointer.addr);
267 if (mpParms)
269 RTMemFree(mpParms);
270 mpParms = NULL;
304 if (paDstParms[i].type != mpParms[i].type)
307 i, paDstParms[i].type, mpParms[i].type));
312 switch (mpParms[i].type)
317 i, mpParms[i].u.uint32));
319 paDstParms[i].u.uint32 = mpParms[i].u.uint32;
325 i, mpParms[i].u.uint64));
327 paDstParms[i].u.uint64 = mpParms[i].u.uint64;
334 i, mpParms[i].u.pointer.addr, mpParms[i].u.pointer.size));
336 if (!mpParms[i].u.pointer.size)
343 && paDstParms[i].u.pointer.size < mpParms[i].u.pointer.size)
349 mpParms[i].u.pointer.addr,
350 mpParms[i].u.pointer.size);
358 i, mpParms[i].type));
383 LogFlowFunc(("pHostCmd=%p, mMsgType=%RU32, mParmCount=%RU32, mpParms=%p\n",
384 this, mMsgType, mParmCount, mpParms));
423 LogFlowFunc(("pHostCmd=%p, mMsgType=%RU32, mParmCount=%RU32, mpParms=%p\n",
424 this, mMsgType, mParmCount, mpParms));
455 PVBOXHGCMSVCPARM mpParms;