Searched refs:IONew (Results 1 - 25 of 58) sorted by relevance

123

/macosx-10.9.5/xnu-2422.115.4/iokit/Kernel/
H A DIOInterleavedMemoryDescriptor.cpp83 _descriptors = IONew(IOMemoryDescriptor *, capacity);
84 _descriptorOffsets = IONew(IOByteCount, capacity);
85 _descriptorLengths = IONew(IOByteCount, capacity);
H A DIOPMPowerStateQueue.cpp69 entry = IONew(PowerEventEntry, 1);
H A DIOEventSource.cpp151 reserved = IONew(ExpansionData, 1);
H A DIOWorkLoop.cpp124 reserved = IONew(ExpansionData,1);
148 reserved = IONew(ExpansionData, 1);
197 me->reserved = IONew(ExpansionData,1);
H A DIOMultiMemoryDescriptor.cpp112 _descriptors = IONew(IOMemoryDescriptor *, withCount);
H A DIOBufferMemoryDescriptor.cpp134 _ranges.v64 = IONew(IOAddressRange, 1);
350 reserved = IONew( ExpansionData, 1 );
H A DIOLocks.cpp93 lock = IONew( _IORecursiveLock, 1 );
H A DIORangeAllocator.cpp146 newElements = IONew( IORangeAllocatorElement, newCapacity );
H A DIONVRAM.cpp55 _nvramImage = IONew(UInt8, kIODTNVRAMImageSize);
773 propName = IONew(UInt8, propDataLength + 1);
824 buffer = tmpBuffer = IONew(UInt8, _ofPartitionSize);
860 buffer = IONew(UInt8, _ofPartitionSize);
1277 tmpData = IONew(UInt8, tmpDataLength + 1);
H A DIOTimerEventSource.cpp186 reserved = IONew(ExpansionData, 1);
/macosx-10.9.5/AppleRAID-4.0.6/
H A DAppleRAIDStorageRequest.cpp84 srRequestStatus = IONew(IOReturn, srRequestsAllocated);
87 srRequestByteCounts = IONew(UInt64, srRequestsAllocated);
90 srActiveMembers = IONew(AppleRAIDMember *, srMemberCount);
93 srMemoryDescriptors = IONew(AppleRAIDMemoryDescriptor *, srRequestsAllocated);
H A DAppleRAIDConcatSet.cpp128 arMemberBlockCounts = IONew(UInt64, newMemberCount);
H A DAppleLVMGroup.cpp173 arMemberBlockCounts = IONew(UInt64, newMemberCount);
181 arMemberStartingOffset = IONew(UInt64, newMemberCount);
189 arMetaDataVolumes = IONew(AppleLVMVolume *, newMemberCount);
228 arLogicalVolumes = IONew(AppleLVMVolume *, 1024); // XXXTOC
1074 UInt32 * bitmap = IONew(UInt32, bitmapSize + 1);
/macosx-10.9.5/IOPCIFamily-224.92.1/
H A Drballoc.c35 #define IONew(type,number) (type*)malloc(sizeof(type) * (number) ) macro
254 next = IONew(typeof(*next), 1);
331 prior = IONew(typeof(*prior), 1);
395 prior = IONew(typeof(*prior), 1);
H A DIOPCIMessagedInterruptController.cpp71 vectors = IONew( IOInterruptVector, _vectorCount );
74 _flags = IONew(uint8_t, _vectorCount);
/macosx-10.9.5/IOGraphics-471.92.1/IOGraphicsFamily/
H A Dbmcompress.h650 uint16_t * sc0 = IONew(uint16_t, (width+2));
651 uint16_t * sc1 = IONew(uint16_t, (width+2));
652 uint16_t * sc2 = IONew(uint16_t, (width+2));
653 uint16_t * sc3 = IONew(uint16_t, (width+2));
752 uint16_t * sc0 = IONew(uint16_t, (width+2));
753 uint16_t * sc1 = IONew(uint16_t, (width+2));
754 uint16_t * sc2 = IONew(uint16_t, (width+2));
755 uint16_t * sc3 = IONew(uint16_t, (width+2));
H A DIOAccelerator.cpp191 record = IONew(IOAccelIDRecord, 1);
/macosx-10.9.5/IONetworkingFamily-100/
H A DIOPacketQueue.cpp72 _queue = IONew(IOMbufQueue, 1);
H A DIOOutputQueue.cpp231 _primaryQueues = IONew(IOMbufQueue, priorities);
232 _shadowQueues = IONew(IOMbufQueue, priorities);
/macosx-10.9.5/xnu-2422.115.4/iokit/IOKit/
H A DIOLib.h152 #define IONew(type,number) (type*)IOMalloc(sizeof(type) * (number) ) macro
/macosx-10.9.5/IOCDStorageFamily-51/
H A DIOCDPartitionScheme.cpp211 sessions = IONew(CDSession, kCDSessionMaxIndex + 1);
218 tracks = IONew(CDTrack, kCDTrackMaxIndex + 1);
/macosx-10.9.5/IOHIDFamily-503.215.2/IOHIDFamily/
H A DIOHIDInterface.cpp69 _reserved = IONew( ExpansionData, 1 );
/macosx-10.9.5/xnu-2422.115.4/libkern/c++/
H A DOSMetaClass.cpp394 reserved = IONew(ExpansionData, 1);
846 nextIndex = IONew(typeof(nextIndex[0]), maxDepth);
847 sets = IONew(typeof(sets[0]), maxDepth);
/macosx-10.9.5/IOStorageFamily-172/
H A DIOMediaBSDClient.cpp1707 capacities = IONew(UInt64, capacitiesCount);
1808 extents = IONew(IOStorageExtent, request.extentsCount);
2804 newTable = IONew(AnchorSlot, newTableCount);
3027 _table.buckets = IONew(MinorSlot *, kMinorsBucketCount);
3090 _table.buckets[bucketID] = IONew(MinorSlot, kMinorsAddCount);
3105 minorName = IONew(char, minorNameSize);
3238 minorName = IONew(char, minorNameSize);
/macosx-10.9.5/IOGraphics-471.92.1/IONDRVSupport/
H A DIONDRVLibraries.cpp475 buf = IONew( char, 512 );

Completed in 153 milliseconds

123