Home
last modified time | relevance | path

Searched refs:swap_state (Results 1 – 6 of 6) sorted by relevance

/mcuboot-latest/boot/bootutil/src/
Dswap_misc.c87 struct boot_swap_state swap_state; in swap_status_init() local
100 &swap_state); in swap_status_init()
108 if (swap_state.image_ok == BOOT_FLAG_SET) { in swap_status_init()
Dswap_move.c483 struct boot_swap_state swap_state; in fixup_revert() local
497 rc = boot_read_swap_state(fap_sec, &swap_state); in fixup_revert()
500 BOOT_LOG_SWAP_STATE("Secondary image", &swap_state); in fixup_revert()
502 if (swap_state.magic == BOOT_MAGIC_UNSET) { in fixup_revert()
Dswap_scratch.c557 struct boot_swap_state swap_state; in boot_swap_sectors() local
695 rc = boot_read_swap_state(fap_scratch, &swap_state); in boot_swap_sectors()
698 if (swap_state.image_ok == BOOT_FLAG_SET) { in boot_swap_sectors()
703 if (swap_state.swap_type != BOOT_SWAP_TYPE_NONE) { in boot_swap_sectors()
705 swap_state.swap_type, image_index); in boot_swap_sectors()
Dswap_offset.c587 struct boot_swap_state swap_state; local
600 rc = boot_read_swap_state(fap_sec, &swap_state);
603 BOOT_LOG_SWAP_STATE("Secondary image", &swap_state);
605 if (swap_state.magic == BOOT_MAGIC_UNSET) {
Dbootutil_priv.h280 struct boot_swap_state swap_state; member
Dloader.c2779 active_swap_state = &(state->slot_usage[BOOT_CURR_IMG(state)].swap_state);
2947 if (state->slot_usage[BOOT_CURR_IMG(state)].swap_state.image_ok == BOOT_FLAG_SET) {