Lines Matching refs:pNew
59 PRTR0MEMOBJINTERNAL pNew;
63 cbSelf = sizeof(*pNew);
64 Assert(cbSelf >= sizeof(*pNew));
71 pNew = (PRTR0MEMOBJINTERNAL)RTMemAllocZ(cbSelf);
72 if (pNew)
74 pNew->u32Magic = RTR0MEMOBJ_MAGIC;
75 pNew->cbSelf = (uint32_t)cbSelf;
76 pNew->enmType = enmType;
77 pNew->fFlags = 0;
78 pNew->cb = cb;
79 pNew->pv = pv;
81 return pNew;
652 PRTR0MEMOBJINTERNAL pNew;
683 rc = rtR0MemObjNativeMapKernel(&pNew, pMemToMap, pvFixed, uAlignment, fProt, offSub, cbSub);
687 rc = rtR0MemObjLink(pMemToMap, pNew);
689 *pMemObj = pNew;
693 int rc2 = rtR0MemObjNativeFree(pNew);
695 pNew->u32Magic++;
696 pNew->enmType = RTR0MEMOBJTYPE_END;
697 RTMemFree(pNew);
711 PRTR0MEMOBJINTERNAL pNew;
733 rc = rtR0MemObjNativeMapUser(&pNew, pMemToMap, R3PtrFixed, uAlignment, fProt, R0Process);
737 rc = rtR0MemObjLink(pMemToMap, pNew);
739 *pMemObj = pNew;
743 int rc2 = rtR0MemObjNativeFree(pNew);
745 pNew->u32Magic++;
746 pNew->enmType = RTR0MEMOBJTYPE_END;
747 RTMemFree(pNew);