Searched refs:originalMD (Results 1 - 2 of 2) sorted by relevance

/macosx-10.10.1/xnu-2782.1.97/iokit/IOKit/
H A DIOMemoryDescriptor.h480 @param originalMD The memory descriptor to be duplicated.
483 withPersistentMemoryDescriptor(IOMemoryDescriptor *originalMD);
1070 withPersistentMemoryDescriptor(IOGeneralMemoryDescriptor *originalMD);
/macosx-10.10.1/xnu-2782.1.97/iokit/Kernel/
H A DIOMemoryDescriptor.cpp1198 IOMemoryDescriptor::withPersistentMemoryDescriptor(IOMemoryDescriptor *originalMD) argument
1201 OSDynamicCast(IOGeneralMemoryDescriptor, originalMD);
1211 IOGeneralMemoryDescriptor::withPersistentMemoryDescriptor(IOGeneralMemoryDescriptor *originalMD) argument
1215 if (kIOReturnSuccess != originalMD->memoryReferenceCreate(kIOMemoryReferenceReuse, &memRef)) return (0);
1217 if (memRef == originalMD->_memRef)
1219 originalMD->retain(); // Add a new reference to ourselves
1220 originalMD->memoryReferenceRelease(memRef);
1221 return originalMD;
1225 IOMDPersistentInitData initData = { originalMD, memRef };

Completed in 207 milliseconds