Searched refs:CapBuffer (Results 1 – 1 of 1) sorted by relevance
4146 UINT8 *CapBuffer; in GenerateCapImage() local4220 CapBuffer = (UINT8 *) malloc (CapSize); in GenerateCapImage()4221 if (CapBuffer == NULL) { in GenerateCapImage()4229 memset (CapBuffer, 0, mCapDataInfo.HeaderSize); in GenerateCapImage()4234 CapsuleHeader = (EFI_CAPSULE_HEADER *) CapBuffer; in GenerateCapImage()4247 free (CapBuffer); in GenerateCapImage()4251 fread (CapBuffer + CapSize, 1, FileSize, fpin); in GenerateCapImage()4263 free (CapBuffer); in GenerateCapImage()4267 fwrite (CapBuffer, 1, CapSize, fpout); in GenerateCapImage()4269 free (CapBuffer); in GenerateCapImage()