Lines Matching refs:total
460 size_t total; in genasm_malloc() local
463 total = sizeof (malinit) + sizeof (malfini) + sizeof (fincache); in genasm_malloc()
466 total += sizeof (inicache) + sizeof (gencache) * (nents - 2); in genasm_malloc()
468 if (total > len) in genasm_malloc()
471 erroff = total - sizeof (malfini) + PTC_MALFINI_JMLABEL; in genasm_malloc()
472 allocoff = total - sizeof (malfini) + PTC_MALFINI_ALLABEL; in genasm_malloc()
499 ASSERT(((uintptr_t)bp - total) == (uintptr_t)base); in genasm_malloc()
509 size_t total; in genasm_free() local
513 total = sizeof (freeinit) + sizeof (freefini) + sizeof (fincache); in genasm_free()
515 total += sizeof (inicache) + sizeof (gencache) * (nents - 2); in genasm_free()
517 if (total > len) in genasm_free()
520 erroff = total - (sizeof (freefini) - PTC_FRFINI_JFLABEL); in genasm_free()
521 rbufoff = total - (sizeof (freefini) - PTC_FRFINI_RBUFLABEL); in genasm_free()
522 retoff = total - (sizeof (freefini) - PTC_FRFINI_DONELABEL); in genasm_free()
549 ASSERT(((uintptr_t)bp - total) == (uintptr_t)base); in genasm_free()