Home
last modified time | relevance | path

Searched refs:max_size (Results 1 – 16 of 16) sorted by relevance

/trusted-firmware-m-3.4.0/secure_fw/partitions/internal_trusted_storage/flash_fs/
Dits_flash_fs.c49 if (its_utils_check_contained_in(file_meta->max_size, offset, size) in its_flash_fs_file_write_aligned_data()
236 info->size_max = tmp_metadata.max_size; in its_flash_fs_file_get_info()
246 size_t max_size, in its_flash_fs_file_write() argument
267 max_size = ITS_UTILS_ALIGN(max_size, fs_ctx->cfg->program_unit); in its_flash_fs_file_write()
280 if (file_meta.max_size == max_size) { in its_flash_fs_file_write()
317 if (max_size > fs_ctx->cfg->max_file_size) { in its_flash_fs_file_write()
326 max_size, flags, &new_idx, in its_flash_fs_file_write()
466 del_file_max_size = file_meta.max_size; in its_flash_fs_delete_idx()
513 nbr_bytes_to_move += file_meta.max_size; in its_flash_fs_delete_idx()
Dits_flash_fs.h263 size_t max_size,
Dits_flash_fs_mblock.h161 size_t max_size; /*!< Maximum size of this file */ \
Dits_flash_fs_dblock.c173 pos = file_meta->data_idx + file_meta->max_size; in its_flash_fs_dblock_write_file()
Dits_flash_fs_mblock.c245 if (file_meta->max_size > fs_ctx->cfg->max_file_size) { in its_mblock_validate_file_meta()
252 if (file_meta->cur_size > file_meta->max_size) { in its_mblock_validate_file_meta()
268 file_meta->max_size); in its_mblock_validate_file_meta()
895 file_meta->max_size = size; in its_mblock_reserve_file()
/trusted-firmware-m-3.4.0/secure_fw/partitions/protected_storage/
Dps_object_system.c25 #define PS_OBJECT_SIZE(max_size) (PS_OBJECT_HEADER_SIZE + (max_size)) argument
56 obj->header.info.max_size = size; in ps_init_empty_object()
272 g_ps_object.header.info.max_size = size; in ps_object_create()
391 err = ps_utils_check_contained_in(g_ps_object.header.info.max_size, in ps_object_write()
Dps_object_defs.h27 uint32_t max_size; /*!< Maximum size of the object content in bytes */ member
/trusted-firmware-m-3.4.0/secure_fw/partitions/internal_trusted_storage/
Dtfm_internal_trusted_storage.h80 size_t max_size,
Dtfm_internal_trusted_storage.c218 size_t max_size, in tfm_its_set() argument
274 create_flags, max_size, in tfm_its_set()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/common/
Dtests_otp.c308 uint32_t Test_SetSwVerInOtpBuff(uint32_t *otp, uint32_t offset, uint32_t max_size) in Test_SetSwVerInOtpBuff() argument
312 for (i=0; i<max_size ; i++) in Test_SetSwVerInOtpBuff()
316 memset(&otp[offset+i+1], 0x0, (max_size-i-1)* sizeof(uint32_t)); in Test_SetSwVerInOtpBuff()
Dtests_otp.h70 uint32_t max_size //!< [in] max field size in words
/trusted-firmware-m-3.4.0/interface/include/psa/
Dupdate.h163 uint32_t max_size; member
/trusted-firmware-m-3.4.0/platform/ext/target/stm/common/stm32u5xx/secure/
Dtarget_cfg.c356 static void gtzc_config_sram(uint32_t base, uint32_t max_size, uint32_t off_start, uint32_t off_end…
360 static void gtzc_config_sram(uint32_t base, uint32_t max_size, uint32_t off_start, uint32_t off_en… in gtzc_config_sram() argument
373 if (off_end > (max_size-1)) in gtzc_config_sram()
383 for (index = 0; index < (max_size/MPCBB_BLOCK_SIZE); index++) in gtzc_config_sram()
/trusted-firmware-m-3.4.0/lib/ext/cryptocell-312-runtime/host/src/tests/proj/cc3x/cc312_r1/
Dtest_proj_otp.c577 uint32_t Test_ProjSetSwVerInOtpBuff(uint32_t *otp, uint32_t offset, uint32_t max_size) in Test_ProjSetSwVerInOtpBuff() argument
581 for (i = 0; i < max_size; i++) { in Test_ProjSetSwVerInOtpBuff()
583 memset(&otp[offset + i + 1], 0x0, (max_size - i - 1) * sizeof(uint32_t)); in Test_ProjSetSwVerInOtpBuff()
Dtest_proj_otp.h331 uint32_t Test_ProjSetSwVerInOtpBuff(uint32_t *otp, uint32_t offset, uint32_t max_size);
/trusted-firmware-m-3.4.0/secure_fw/partitions/firmware_update/bootloader/mcuboot/
Dtfm_mcuboot_fwu.c608 info->max_size = fap->fa_size; in fwu_bootloader_get_image_info()