Lines Matching refs:vboot_hdr
1107 struct vendor_boot_img_hdr_v34 *vboot_hdr; in extract_vendor_boot_image_v34_header() local
1112 vboot_hdr = (struct vendor_boot_img_hdr_v34 *) in extract_vendor_boot_image_v34_header()
1115 if (!blk_cnt || !vboot_hdr) in extract_vendor_boot_image_v34_header()
1119 blk_cnt, vboot_hdr); in extract_vendor_boot_image_v34_header()
1126 if (strncmp(VENDOR_BOOT_MAGIC, (void *)vboot_hdr->magic, in extract_vendor_boot_image_v34_header()
1132 if (vboot_hdr->header_version < 3) { in extract_vendor_boot_image_v34_header()
1134 vboot_hdr->header_version); in extract_vendor_boot_image_v34_header()
1138 return vboot_hdr; in extract_vendor_boot_image_v34_header()
1259 struct vendor_boot_img_hdr_v34 *vboot_hdr = NULL; in populate_andr_img_hdr() local
1297 vboot_hdr = extract_vendor_boot_image_v34_header(dev_desc, in populate_andr_img_hdr()
1299 if (!boot_hdr || !vboot_hdr) in populate_andr_img_hdr()
1326 if (populate_boot_info(boot_hdr, vboot_hdr, in populate_andr_img_hdr()
1337 if (vboot_hdr) in populate_andr_img_hdr()
1338 free(vboot_hdr); in populate_andr_img_hdr()