Searched refs:first_trailer_idx (Results 1 – 1 of 1) sorted by relevance
242 uint32_t first_trailer_idx; in app_max_sectors() local246 first_trailer_idx = boot_img_num_sectors(state, BOOT_PRIMARY_SLOT) - 1; in app_max_sectors()253 first_trailer_idx--; in app_max_sectors()256 return first_trailer_idx; in app_max_sectors()525 uint32_t first_trailer_idx; in swap_run() local543 first_trailer_idx = boot_img_num_sectors(state, BOOT_PRIMARY_SLOT) - 1; in swap_run()550 first_trailer_idx--; in swap_run()553 if (last_idx >= first_trailer_idx) { in swap_run()557 first_trailer_idx * sector_sz); in swap_run()