Searched refs:last_idx (Results 1 – 1 of 1) sorted by relevance
55 uint32_t last_idx; in find_last_idx() local59 last_idx = 0; in find_last_idx()62 last_idx++; in find_last_idx()68 return last_idx; in find_last_idx()78 uint32_t last_idx; in boot_read_image_header() local96 last_idx = find_last_idx(state, swap_size); in boot_read_image_header()103 if (bs->op == BOOT_STATUS_OP_MOVE && slot == 0 && bs->idx > last_idx) { in boot_read_image_header()106 if (bs->idx > 1 && bs->idx <= last_idx) { in boot_read_image_header()526 uint32_t last_idx; in swap_run() local534 last_idx = find_last_idx(state, copy_size); in swap_run()[all …]