Lines Matching refs:BOOT_PRIMARY_SLOT
57 sector_sz = boot_img_sector_size(state, BOOT_PRIMARY_SLOT, 0); in find_last_idx()
97 sz = boot_img_sector_size(state, BOOT_PRIMARY_SLOT, 0); in boot_read_image_header()
244 sector_sz = boot_img_sector_size(state, BOOT_PRIMARY_SLOT, 0); in app_max_sectors()
246 first_trailer_idx = boot_img_num_sectors(state, BOOT_PRIMARY_SLOT) - 1; in app_max_sectors()
269 num_sectors_pri = boot_img_num_sectors(state, BOOT_PRIMARY_SLOT); in boot_slots_compatible()
293 sector_sz_pri = boot_img_sector_size(state, BOOT_PRIMARY_SLOT, i); in boot_slots_compatible()
322 if (sector_sz_pri != boot_img_sector_size(state, BOOT_PRIMARY_SLOT, i)) { in boot_slots_compatible()
401 new_off = boot_img_sector_off(state, BOOT_PRIMARY_SLOT, idx); in boot_move_sector_up()
402 old_off = boot_img_sector_off(state, BOOT_PRIMARY_SLOT, idx - 1); in boot_move_sector_up()
439 pri_up_off = boot_img_sector_off(state, BOOT_PRIMARY_SLOT, idx); in boot_swap_sectors()
440 pri_off = boot_img_sector_off(state, BOOT_PRIMARY_SLOT, idx - 1); in boot_swap_sectors()
535 sector_sz = boot_img_sector_size(state, BOOT_PRIMARY_SLOT, 0); in swap_run()
543 first_trailer_idx = boot_img_num_sectors(state, BOOT_PRIMARY_SLOT) - 1; in swap_run()
605 sector_sz_primary = boot_img_sector_size(state, BOOT_PRIMARY_SLOT, 0); in app_max_size()