Home
last modified time | relevance | path

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

/xnu-8019.80.24/iokit/Kernel/
H A DIOLib.cpp302 #define sizeofIOLibMallocHeader (sizeof(IOLibMallocHeader) - (TRACK_ALLOC ? 0 : sizeof(IOTrackingAd… macro
304 #define sizeofIOLibMallocHeader (0) macro
315 allocSize = size + sizeofIOLibMallocHeader; in IOMalloc_internal()
317 if (sizeofIOLibMallocHeader && (allocSize <= size)) { in IOMalloc_internal()
329 hdr->tracking.address = ~(((uintptr_t) address) + sizeofIOLibMallocHeader); in IOMalloc_internal()
334 address = (typeof(address))(((uintptr_t) address) + sizeofIOLibMallocHeader); in IOMalloc_internal()
351 address = (typeof(address))(((uintptr_t) address) - sizeofIOLibMallocHeader); in IOFree_internal()
373 kheap_free(kheap, address, size + sizeofIOLibMallocHeader); in IOFree_internal()