Searched refs:sector_sz (Results 1 – 2 of 2) sorted by relevance
/mcuboot-latest/boot/bootutil/src/ |
D | swap_move.c | 53 uint32_t sector_sz; in find_last_idx() local 57 sector_sz = boot_img_sector_size(state, BOOT_PRIMARY_SLOT, 0); in find_last_idx() 61 sz += sector_sz; in find_last_idx() 240 uint32_t sector_sz; in app_max_sectors() local 244 sector_sz = boot_img_sector_size(state, BOOT_PRIMARY_SLOT, 0); in app_max_sectors() 249 sz += sector_sz; in app_max_sectors() 522 uint32_t sector_sz; in swap_run() local 535 sector_sz = boot_img_sector_size(state, BOOT_PRIMARY_SLOT, 0); in swap_run() 546 sz += sector_sz; in swap_run() 556 (last_idx + 1) * sector_sz, in swap_run() [all …]
|
D | swap_scratch.c | 554 uint32_t sector_sz; in boot_swap_sectors() local 579 sector_sz = boot_img_sector_size(state, BOOT_PRIMARY_SLOT, last_sector); in boot_swap_sectors() 581 if (sector_sz < trailer_sz) { in boot_swap_sectors() 582 uint32_t trailer_sector_sz = sector_sz; in boot_swap_sectors() 588 sector_sz = boot_img_sector_size(state, BOOT_PRIMARY_SLOT, --last_sector); in boot_swap_sectors() 590 trailer_sector_sz += sector_sz; in boot_swap_sectors()
|