Searched refs:swap_state (Results 1 – 6 of 6) sorted by relevance
87 struct boot_swap_state swap_state; in swap_status_init() local100 &swap_state); in swap_status_init()108 if (swap_state.image_ok == BOOT_FLAG_SET) { in swap_status_init()
483 struct boot_swap_state swap_state; in fixup_revert() local497 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()
557 struct boot_swap_state swap_state; in boot_swap_sectors() local695 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()
587 struct boot_swap_state swap_state; local600 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) {
280 struct boot_swap_state swap_state; member
2779 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) {