Lines Matching refs:total
445 size_t total; in genasm_malloc() local
448 total = sizeof (malinit) + sizeof (malfini) + sizeof (fincache); in genasm_malloc()
451 total += sizeof (inicache) + sizeof (gencache) * (nents - 2); in genasm_malloc()
453 if (total > len) in genasm_malloc()
456 erroff = total - sizeof (malfini) + PTC_MALFINI_JMLABEL; in genasm_malloc()
457 allocoff = total - sizeof (malfini) + PTC_MALFINI_ALLABEL; in genasm_malloc()
484 ASSERT(((uintptr_t)bp - total) == (uintptr_t)base); in genasm_malloc()
494 size_t total; in genasm_free() local
498 total = sizeof (freeinit) + sizeof (freefini) + sizeof (fincache); in genasm_free()
500 total += sizeof (inicache) + sizeof (gencache) * (nents - 2); in genasm_free()
502 if (total > len) in genasm_free()
505 erroff = total - (sizeof (freefini) - PTC_FRFINI_JFLABEL); in genasm_free()
506 rbufoff = total - (sizeof (freefini) - PTC_FRFINI_RBUFLABEL); in genasm_free()
507 retoff = total - (sizeof (freefini) - PTC_FRFINI_DONELABEL); in genasm_free()
534 ASSERT(((uintptr_t)bp - total) == (uintptr_t)base); in genasm_free()