Lines Matching refs:image
257 struct efi_firmware_management_capsule_image_header image; in create_fwbin() local
295 + sizeof(image) in create_fwbin()
319 image.version = 0x00000003; in create_fwbin()
320 memcpy(&image.update_image_type_id, guid, sizeof(*guid)); in create_fwbin()
321 image.update_image_index = index; in create_fwbin()
322 image.reserved[0] = 0; in create_fwbin()
323 image.reserved[1] = 0; in create_fwbin()
324 image.reserved[2] = 0; in create_fwbin()
325 image.update_image_size = bin_stat.st_size; in create_fwbin()
326 image.update_vendor_code_size = 0; /* none */ in create_fwbin()
327 image.update_hardware_instance = instance; in create_fwbin()
328 image.image_capsule_support = 0; in create_fwbin()
330 size = fwrite(&image, 1, sizeof(image), f); in create_fwbin()
331 if (size < sizeof(image)) { in create_fwbin()