Lines Matching refs:vboot_hdr
1090 struct vendor_boot_img_hdr_v34 *vboot_hdr; in extract_vendor_boot_image_v34_header() local
1095 vboot_hdr = (struct vendor_boot_img_hdr_v34 *) in extract_vendor_boot_image_v34_header()
1098 if (!blk_cnt || !vboot_hdr) in extract_vendor_boot_image_v34_header()
1102 blk_cnt, vboot_hdr); in extract_vendor_boot_image_v34_header()
1109 if (strncmp(VENDOR_BOOT_MAGIC, (void *)vboot_hdr->magic, in extract_vendor_boot_image_v34_header()
1115 if (vboot_hdr->header_version < 3) { in extract_vendor_boot_image_v34_header()
1117 vboot_hdr->header_version); in extract_vendor_boot_image_v34_header()
1121 return vboot_hdr; in extract_vendor_boot_image_v34_header()
1260 struct vendor_boot_img_hdr_v34 *vboot_hdr = NULL; in populate_andr_img_hdr() local
1298 vboot_hdr = extract_vendor_boot_image_v34_header(dev_desc, in populate_andr_img_hdr()
1300 if (!boot_hdr || !vboot_hdr) in populate_andr_img_hdr()
1327 if (populate_boot_info(boot_hdr, vboot_hdr, in populate_andr_img_hdr()
1338 if (vboot_hdr) in populate_andr_img_hdr()
1339 free(vboot_hdr); in populate_andr_img_hdr()