Home
last modified time | relevance | path

Searched refs:flash_area_get_size (Results 1 – 17 of 17) sorted by relevance

/mcuboot-3.7.0/sim/mcuboot-sys/csupport/flash_map_backend/
Dflash_map_backend.h11 static inline uint32_t flash_area_get_size(const struct flash_area *fa) in flash_area_get_size() function
/mcuboot-3.7.0/boot/bootutil/src/
Dbootutil_misc.h31 return flash_area_get_size(fap) - BOOT_MAGIC_SZ; in boot_magic_off()
Dswap_priv.h98 return flash_area_get_size(BOOT_SCRATCH_AREA(state)); in boot_scratch_area_size()
Dswap_scratch.c555 rc = boot_erase_region(fap_scratch, 0, flash_area_get_size(fap_scratch)); in boot_swap_sectors()
579 flash_area_get_size(fap_scratch)); in boot_swap_sectors()
676 rc = boot_erase_region(fap_scratch, 0, flash_area_get_size(fap_scratch)); in boot_swap_sectors()
840 primary_sz = flash_area_get_size(fap); in app_max_size()
852 secondary_sz = flash_area_get_size(fap); in app_max_size()
Dbootutil_misc.c185 assert(off_from_end <= flash_area_get_size(fap)); in boot_status_off()
186 return flash_area_get_size(fap) - off_from_end; in boot_status_off()
Dbootutil_public.c551 flash_area_erase(fa, 0, flash_area_get_size(fa)); in boot_set_next()
757 size >= flash_area_get_size(fa_p)) { in boot_image_load_header()
Dbootutil_priv.h405 return flash_area_get_size(&BOOT_IMG(state, slot).sectors[sector]); in boot_img_sector_size()
Dloader.c868 if (size >= flash_area_get_size(fap)) { in boot_is_header_valid()
1011 flash_area_erase(fap, 0, flash_area_get_size(fap)); in boot_validate_slot()
1028 flash_area_erase(fap, 0, flash_area_get_size(fap)); in boot_validate_slot()
2067 flash_area_get_size(BOOT_IMG(state, 1).area));
2605 rc = flash_area_erase(fap, 0, flash_area_get_size(fap));
3037 flash_area_erase(fap, 0, flash_area_get_size(fap));
/mcuboot-3.7.0/boot/zephyr/
Dboot_serial_extension_zephyr_basic.c50 rc = flash_area_erase(fa, 0, flash_area_get_size(fa)); in bs_custom_storage_erase()
/mcuboot-3.7.0/boot/zephyr/include/flash_map_backend/
Dflash_map_backend.h70 static inline uint32_t flash_area_get_size(const struct flash_area *fa) in flash_area_get_size() function
/mcuboot-3.7.0/boot/mynewt/flash_map_backend/include/flash_map_backend/
Dflash_map_backend.h76 static inline uint32_t flash_area_get_size(const struct flash_area *fa) in flash_area_get_size() function
/mcuboot-3.7.0/boot/mbed/include/flash_map_backend/
Dflash_map_backend.h93 static inline uint32_t flash_area_get_size(const struct flash_area *fa) in flash_area_get_size() function
/mcuboot-3.7.0/boot/nuttx/include/flash_map_backend/
Dflash_map_backend.h162 static inline uint32_t flash_area_get_size(const struct flash_area *fa) in flash_area_get_size() function
/mcuboot-3.7.0/boot/espressif/include/flash_map_backend/
Dflash_map_backend.h37 static inline uint32_t flash_area_get_size(const struct flash_area *fa) in flash_area_get_size() function
/mcuboot-3.7.0/boot/cypress/cy_flash_pal/include/flash_map_backend/
Dflash_map_backend.h110 static inline uint32_t flash_area_get_size(const struct flash_area *fa) in flash_area_get_size() function
/mcuboot-3.7.0/boot/boot_serial/src/
Dboot_serial.c601 if (end >= flash_area_get_size(fap)) {
719 const size_t area_size = flash_area_get_size(fap);
/mcuboot-3.7.0/docs/
DPORTING.md113 uint32_t flash_area_get_size(const struct flash_area *fa)