Searched refs:sizeofIOLibMallocHeader (Results 1 – 1 of 1) sorted by relevance
302 #define sizeofIOLibMallocHeader (sizeof(IOLibMallocHeader) - (TRACK_ALLOC ? 0 : sizeof(IOTrackingAd… macro304 #define sizeofIOLibMallocHeader (0) macro315 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()