Lines Matching refs:total
454 size_t total; in genasm_malloc() local
457 total = sizeof (malinit) + sizeof (malfini) + sizeof (fincache); in genasm_malloc()
460 total += sizeof (inicache) + sizeof (gencache) * (nents - 2); in genasm_malloc()
462 if (total > len) in genasm_malloc()
465 erroff = total - sizeof (malfini) + PTC_MALFINI_JMLABEL; in genasm_malloc()
466 allocoff = total - sizeof (malfini) + PTC_MALFINI_ALLABEL; in genasm_malloc()
493 ASSERT(((uintptr_t)bp - total) == (uintptr_t)base); in genasm_malloc()
503 size_t total; in genasm_free() local
507 total = sizeof (freeinit) + sizeof (freefini) + sizeof (fincache); in genasm_free()
509 total += sizeof (inicache) + sizeof (gencache) * (nents - 2); in genasm_free()
511 if (total > len) in genasm_free()
514 erroff = total - (sizeof (freefini) - PTC_FRFINI_JFLABEL); in genasm_free()
515 rbufoff = total - (sizeof (freefini) - PTC_FRFINI_RBUFLABEL); in genasm_free()
516 retoff = total - (sizeof (freefini) - PTC_FRFINI_DONELABEL); in genasm_free()
543 ASSERT(((uintptr_t)bp - total) == (uintptr_t)base); in genasm_free()