Home
last modified time | relevance | path

Searched refs:IOMallocData (Results 1 – 8 of 8) sorted by relevance

/xnu-11417.101.15/libkern/libkern/c++/
H A DOSAllocation.h71 return IOMallocData(bytes); in allocate()
/xnu-11417.101.15/iokit/IOKit/
H A DIOLib.h291 #define IOMallocData(size) __IOMalloc_internal(KHEAP_DATA_BUFFERS, size, Z_WAITOK) macro
301 void * IOMallocData(vm_size_t size) __attribute__((alloc_size(1)));
320 ((type *)IOMallocData(IOMallocArraySize(0, sizeof(type), count)))
/xnu-11417.101.15/iokit/Kernel/
H A DIONVRAMV3Handler.cpp419 controllerImage = (uint8_t *)IOMallocData(_bankSize); in reloadInternal()
1073 bankData = (uint8_t *)IOMallocData(_bankSize); in reclaim()
1187 appendBuffer = (uint8_t *)IOMallocData(_bankSize); in syncRaw()
1191 invalidateOffsets = (size_t *)IOMallocData(invalidateOffsetsCount * sizeof(size_t)); in syncRaw()
1300 block = (uint8_t *)IOMallocData(_bankSize); in syncBlock()
H A DIOHistogramReporter.cpp124 _histogramSegmentsConfig = (IOHistogramSegmentConfig*)IOMallocData(configSize); in initWith()
H A DIOStateReporter.cpp130 _swapCurrentStates = (int*)IOMallocData(newCurStatesSize); in handleSwapPrepare()
H A DIONVRAM.cpp740 canonicalString = (char *) IOMallocData(length); in keyWithGuidAndCString()
H A DIOUserServer.cpp2751 array = (typeof(array))IOMallocData(alloc); in copyInStringArray()
4414 cls->description = (typeof(cls->description))IOMallocData(size); in registerClass()
/xnu-11417.101.15/doc/allocators/
H A Dapi-basics.md99 one of its variants (like IOKit's `IOMallocData`). However, this comes with
184 <tt>IOMallocData(size)</tt><br/>
215 (or <tt>IOMallocData</tt>).
380 being allocated (i.e. `IOMallocData` for data only buffers, and `IOMallocType`/`IONew`