Lines Matching defs:pChild
110 * @param pChild The child (mapping) memory object.
112 static int rtR0MemObjLink(PRTR0MEMOBJINTERNAL pParent, PRTR0MEMOBJINTERNAL pChild)
117 Assert(rtR0MemObjIsMapping(pChild));
134 pParent->uRel.Parent.papMappings[i] = pChild;
136 pChild->uRel.Child.pParent = pParent;
345 PRTR0MEMOBJINTERNAL pChild = pMem->uRel.Parent.papMappings[--pMem->uRel.Parent.cMappings];
349 AssertPtr(pChild);
350 AssertFatal(pChild->u32Magic == RTR0MEMOBJ_MAGIC);
351 AssertFatal(pChild->enmType > RTR0MEMOBJTYPE_INVALID && pChild->enmType < RTR0MEMOBJTYPE_END);
352 AssertFatal(rtR0MemObjIsMapping(pChild));
355 rc = rtR0MemObjNativeFree(pChild);
358 Log(("RTR0MemObjFree: failed to free mapping %p: %p %#zx; rc=%Rrc\n", pChild, pChild->pv, pChild->cb, rc));
359 pMem->uRel.Parent.papMappings[pMem->uRel.Parent.cMappings++] = pChild;