Home
last modified time | relevance | path

Searched refs:out_hdr (Results 1 – 4 of 4) sorted by relevance

/mcuboot-latest/boot/bootutil/src/
Dswap_offset.c81 struct image_header *out_hdr, struct boot_status *bs) argument
186 rc = flash_area_read(fap, off, out_hdr, sizeof *out_hdr);
192 if (check_other_sector == true && out_hdr->ih_magic != IMAGE_MAGIC &&
200 rc = flash_area_read(fap, off, out_hdr, sizeof(*out_hdr));
208 if (out_hdr->ih_magic == IMAGE_MAGIC && (bs != NULL || state->bootstrap_secondary_offset_set[
213 if (out_hdr->ih_magic == IMAGE_MAGIC && bs != NULL && slot == BOOT_SECONDARY_SLOT) {
219 if (bs != NULL && out_hdr->ih_magic != IMAGE_MAGIC) {
Dswap_move.c73 struct image_header *out_hdr, struct boot_status *bs) in boot_read_image_header() argument
125 rc = flash_area_read(fap, off, out_hdr, sizeof *out_hdr); in boot_read_image_header()
132 if (bs != NULL && out_hdr->ih_magic != IMAGE_MAGIC) { in boot_read_image_header()
Dswap_scratch.c890 struct image_header *out_hdr, struct boot_status *bs) in boot_read_image_header() argument
966 rc = flash_area_read(fap, 0, out_hdr, sizeof *out_hdr); in boot_read_image_header()
Dbootutil_priv.h325 struct image_header *out_hdr, struct boot_status *bs);