Lines Matching refs:total
450 size_t total; in genasm_malloc() local
453 total = sizeof (malinit) + sizeof (malfini) + sizeof (fincache); in genasm_malloc()
456 total += sizeof (inicache) + sizeof (gencache) * (nents - 2); in genasm_malloc()
458 if (total > len) in genasm_malloc()
461 erroff = total - sizeof (malfini) + PTC_MALFINI_JMLABEL; in genasm_malloc()
462 allocoff = total - sizeof (malfini) + PTC_MALFINI_ALLABEL; in genasm_malloc()
489 ASSERT(((uintptr_t)bp - total) == (uintptr_t)base); in genasm_malloc()
499 size_t total; in genasm_free() local
503 total = sizeof (freeinit) + sizeof (freefini) + sizeof (fincache); in genasm_free()
505 total += sizeof (inicache) + sizeof (gencache) * (nents - 2); in genasm_free()
507 if (total > len) in genasm_free()
510 erroff = total - (sizeof (freefini) - PTC_FRFINI_JFLABEL); in genasm_free()
511 rbufoff = total - (sizeof (freefini) - PTC_FRFINI_RBUFLABEL); in genasm_free()
512 retoff = total - (sizeof (freefini) - PTC_FRFINI_DONELABEL); in genasm_free()
539 ASSERT(((uintptr_t)bp - total) == (uintptr_t)base); in genasm_free()