Lines Matching refs:boot_img_hdr

135                             BOOT_CURR_IMG(state), i, boot_img_hdr(state, i));  in boot_read_image_headers()
138 rc = boot_read_image_header(state, i, boot_img_hdr(state, i), bs); in boot_read_image_headers()
175 boot_img_hdr(state, active_slot), in boot_add_shared_data()
184 rc = boot_save_shared_data(boot_img_hdr(state, active_slot), in boot_add_shared_data()
236 rsp->br_hdr = boot_img_hdr(state, active_slot); in fill_rsp()
565 rc = bootutil_tlv_iter_begin(&it, boot_img_hdr(state, slot), fap, in boot_verify_slot_dependencies()
585 rc = LOAD_IMAGE_DATA(boot_img_hdr(state, slot), in boot_verify_slot_dependencies()
966 hdr = boot_img_hdr(state, slot);
993 hdr = boot_img_hdr(state, active_slot);
1039 hdr = boot_img_hdr(state, slot);
1108 &boot_img_hdr(state, BOOT_SECONDARY_SLOT)->ih_ver,
1109 &boot_img_hdr(state, BOOT_PRIMARY_SLOT)->ih_ver);
1156 struct image_header *secondary_hdr = boot_img_hdr(state, slot);
1365 hdr = boot_img_hdr(state, BOOT_PRIMARY_SLOT);
1369 hdr = boot_img_hdr(state, BOOT_SECONDARY_SLOT);
1543 if (IS_ENCRYPTED(boot_img_hdr(state, BOOT_SECONDARY_SLOT))) {
1546 boot_img_hdr(state, BOOT_SECONDARY_SLOT),
1550 boot_img_hdr(state, BOOT_SECONDARY_SLOT),
1669 hdr = boot_img_hdr(state, BOOT_PRIMARY_SLOT);
1696 hdr = boot_img_hdr(state, BOOT_SECONDARY_SLOT);
1703 hdr = boot_img_hdr(state, BOOT_SECONDARY_SLOT);
2137 rc = (boot_img_hdr(state, BOOT_SECONDARY_SLOT)->ih_magic == IMAGE_MAGIC) ? 1: 0;
2236 rc = boot_version_cmp(&boot_img_hdr(state, BOOT_SECONDARY_SLOT)->ih_ver,
2237 &boot_img_hdr(state, BOOT_PRIMARY_SLOT)->ih_ver);
2603 boot_img_hdr(&boot_data, split_slot),
2605 boot_img_hdr(&boot_data, loader_slot),
2612 boot_img_hdr(&boot_data, split_slot)->ih_hdr_size;
2668 hdr = boot_img_hdr(state, slot);
2710 &boot_img_hdr(state, slot)->ih_ver,
2711 &boot_img_hdr(state, candidate_slot)->ih_ver);