Searched refs:stats (Results 1 – 4 of 4) sorted by relevance
31 mbedtls_psa_stats_t stats; in test_helper_is_psa_pristine() local34 mbedtls_psa_get_stats( &stats ); in test_helper_is_psa_pristine()36 if( stats.volatile_slots != 0 ) in test_helper_is_psa_pristine()38 else if( stats.persistent_slots != 0 ) in test_helper_is_psa_pristine()40 else if( stats.external_slots != 0 ) in test_helper_is_psa_pristine()42 else if( stats.half_filled_slots != 0 ) in test_helper_is_psa_pristine()44 else if( stats.locked_slots != 0 ) in test_helper_is_psa_pristine()
441 void mbedtls_psa_get_stats( mbedtls_psa_stats_t *stats ) in mbedtls_psa_get_stats() argument445 memset( stats, 0, sizeof( *stats ) ); in mbedtls_psa_get_stats()452 ++stats->locked_slots; in mbedtls_psa_get_stats()456 ++stats->empty_slots; in mbedtls_psa_get_stats()460 ++stats->volatile_slots; in mbedtls_psa_get_stats()464 ++stats->persistent_slots; in mbedtls_psa_get_stats()465 if( id > stats->max_open_internal_key_id ) in mbedtls_psa_get_stats()466 stats->max_open_internal_key_id = id; in mbedtls_psa_get_stats()471 ++stats->external_slots; in mbedtls_psa_get_stats()472 if( id > stats->max_open_external_key_id ) in mbedtls_psa_get_stats()[all …]
16 - [diag stats](#diag-stats)139 ### diag stats144 > diag stats151 ### diag stats clear156 > diag stats clear157 stats cleared
249 void mbedtls_psa_get_stats( mbedtls_psa_stats_t *stats );