Home
last modified time | relevance | path

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

/xnu-8020.101.4/iokit/Kernel/
H A DIOLib.cpp309 #define sizeofIOLibMallocHeader (sizeof(IOLibMallocHeader) - (TRACK_ALLOC ? 0 : sizeof(IOTrackingAd… macro
311 #define sizeofIOLibMallocHeader (0) macro
322 allocSize = size + sizeofIOLibMallocHeader; in IOMalloc_internal()
324 if (sizeofIOLibMallocHeader && (allocSize <= size)) { in IOMalloc_internal()
337 hdr->tracking.address = ~(((uintptr_t) address) + sizeofIOLibMallocHeader); in IOMalloc_internal()
342 address = (typeof(address))(((uintptr_t) address) + sizeofIOLibMallocHeader); in IOMalloc_internal()
359 address = (typeof(address))(((uintptr_t) address) - sizeofIOLibMallocHeader); in IOFree_internal()
382 kheap_free(kheap, address, size + sizeofIOLibMallocHeader); in IOFree_internal()