Searched refs:use_scratch (Results 1 – 3 of 3) sorted by relevance
599 bs->use_scratch = (bs->idx == BOOT_STATUS_IDX_0 && copy_sz != sz); in boot_swap_sectors()627 if (!bs->use_scratch) { in boot_swap_sectors()662 if (bs->idx == BOOT_STATUS_IDX_0 && !bs->use_scratch) { in boot_swap_sectors()686 if (bs->use_scratch) { in boot_swap_sectors()728 erase_scratch = bs->use_scratch; in boot_swap_sectors()729 bs->use_scratch = 0; in boot_swap_sectors()
98 uint8_t use_scratch; /* Are status bytes ever written to scratch? */ member
685 bs->use_scratch = 0; in boot_status_reset()738 if (bs->use_scratch) { in boot_write_status()