Home
last modified time | relevance | path

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

/xnu-8020.121.3/iokit/Kernel/
H A DIOLib.cpp284 #define sizeofIOLibMallocHeader (sizeof(IOLibMallocHeader) - (TRACK_ALLOC ? 0 : sizeof(IOTrackingAd… macro
286 #define sizeofIOLibMallocHeader (0) macro
298 allocSize = size + sizeofIOLibMallocHeader; in IOMalloc_internal()
300 if (sizeofIOLibMallocHeader && (allocSize <= size)) { in IOMalloc_internal()
313 hdr->tracking.address = ~(((uintptr_t) address) + sizeofIOLibMallocHeader); in IOMalloc_internal()
318 address = (typeof(address))(((uintptr_t) address) + sizeofIOLibMallocHeader); in IOMalloc_internal()
335 address = (typeof(address))(((uintptr_t) address) - sizeofIOLibMallocHeader); in IOFree_internal()
358 kheap_free(kheap, address, size + sizeofIOLibMallocHeader); in IOFree_internal()