Searched refs:area_sizes (Results 1 – 1 of 1) sorted by relevance
144 static bool img_mgmt_slot_max_size(size_t *area_sizes, zcbor_state_t *zse) in img_mgmt_slot_max_size() argument148 if (area_sizes[0] > 0 && area_sizes[1] > 0) { in img_mgmt_slot_max_size()150 size_t area_size_difference = (size_t)abs((ssize_t)area_sizes[1] - in img_mgmt_slot_max_size()151 (ssize_t)area_sizes[0]); in img_mgmt_slot_max_size()155 zcbor_uint32_put(zse, (uint32_t)(area_sizes[0] - in img_mgmt_slot_max_size()162 static bool img_mgmt_slot_max_size(size_t *area_sizes, zcbor_state_t *zse) in img_mgmt_slot_max_size() argument168 ARG_UNUSED(area_sizes); in img_mgmt_slot_max_size()486 size_t area_sizes[SLOTS_PER_IMAGE]; in img_mgmt_slot_info() local504 memset(area_sizes, 0, sizeof(area_sizes)); in img_mgmt_slot_info()551 area_sizes[(i % SLOTS_PER_IMAGE)] = fa->fa_size; in img_mgmt_slot_info()[all …]