Home
last modified time | relevance | path

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

/lib/mbedtls/external/mbedtls/tests/src/
A Dpsa_crypto_helpers.c69 mbedtls_psa_stats_t stats; in mbedtls_test_helper_is_psa_leaking() local
71 mbedtls_psa_get_stats(&stats); in mbedtls_test_helper_is_psa_leaking()
79 if (stats.volatile_slots > 1) { in mbedtls_test_helper_is_psa_leaking()
83 if (stats.volatile_slots != 0) { in mbedtls_test_helper_is_psa_leaking()
87 if (stats.persistent_slots != 0) { in mbedtls_test_helper_is_psa_leaking()
90 if (stats.external_slots != 0) { in mbedtls_test_helper_is_psa_leaking()
93 if (stats.half_filled_slots != 0) { in mbedtls_test_helper_is_psa_leaking()
96 if (stats.locked_slots != 0) { in mbedtls_test_helper_is_psa_leaking()
/lib/lwip/lwip/src/core/
A Dmemp.c208 desc->stats->avail = desc->num; in memp_init_pool()
213 desc->stats->name = desc->desc; in memp_init_pool()
233 lwip_stats.memp[i] = memp_pools[i]->stats; in memp_init()
283 desc->stats->used++; in do_memp_malloc_pool()
284 if (desc->stats->used > desc->stats->max) { in do_memp_malloc_pool()
285 desc->stats->max = desc->stats->used; in do_memp_malloc_pool()
293 desc->stats->err++; in do_memp_malloc_pool()
377 desc->stats->used--; in do_memp_free_pool()
/lib/mbedtls/external/mbedtls/library/
A Dpsa_crypto_slot_management.c650 void mbedtls_psa_get_stats(mbedtls_psa_stats_t *stats) in mbedtls_psa_get_stats() argument
654 memset(stats, 0, sizeof(*stats)); in mbedtls_psa_get_stats()
659 ++stats->locked_slots; in mbedtls_psa_get_stats()
662 ++stats->empty_slots; in mbedtls_psa_get_stats()
666 ++stats->volatile_slots; in mbedtls_psa_get_stats()
669 ++stats->persistent_slots; in mbedtls_psa_get_stats()
670 if (id > stats->max_open_internal_key_id) { in mbedtls_psa_get_stats()
671 stats->max_open_internal_key_id = id; in mbedtls_psa_get_stats()
677 ++stats->external_slots; in mbedtls_psa_get_stats()
678 if (id > stats->max_open_external_key_id) { in mbedtls_psa_get_stats()
[all …]
/lib/mbedtls/external/mbedtls/tests/suites/
A Dtest_suite_bignum_random.function280 /* If upper_bound is small, stats[b] is the number of times the value b
281 * has been generated. Otherwise stats[b] is the number of times a
283 size_t *stats = NULL;
305 TEST_CALLOC(stats, stats_len);
324 ++stats[value];
327 stats[b] += mbedtls_mpi_get_bit(&R, b);
339 TEST_ASSERT(stats[b] > 0);
359 TEST_ASSERT(stats[b] > 0);
361 TEST_ASSERT(stats[b] < (size_t) iterations);
369 mbedtls_free(stats);
A Dtest_suite_ssl.function3292 mbedtls_psa_stats_t stats;
3329 mbedtls_psa_get_stats(&stats);
3332 free_slots_before = stats.empty_slots;
3344 mbedtls_psa_get_stats(&stats);
3349 TEST_EQUAL(free_slots_before, stats.empty_slots);
/lib/
A Dtrace.c214 struct trace_output_func *stats = ptr; in trace_list_functions() local
216 stats->offset = func * FUNC_SITE_SIZE; in trace_list_functions()
217 stats->call_count = calls; in trace_list_functions()
A DKconfig404 the size is too small then 'trace stats' will show a message saying
/lib/lwip/lwip/src/include/netif/ppp/
A Dvj.h148 struct vjstat stats; member
/lib/lwip/lwip/src/include/lwip/priv/
A Dmemp_priv.h115 struct stats_mem *stats; member
/lib/lwip/
A DMakefile49 lwip/src/core/stats.o \
/lib/mbedtls/external/mbedtls/include/psa/
A Dcrypto_extra.h244 void mbedtls_psa_get_stats(mbedtls_psa_stats_t *stats);
/lib/lwip/lwip/src/
A DFilelists.mk43 $(LWIPDIR)/core/stats.c \
A DFilelists.cmake49 ${LWIP_DIR}/src/core/stats.c
/lib/lwip/lwip/
A DCHANGELOG1709 * stats.c/.h: Added const char* name to mem- and memp-stats for easier
2128 * netif.c: For loopback packets, adjust the stats- and snmp-counters
2136 * igmp.c, igmp.h, stats.c, stats.h: Improved IGMP stats
2312 * tcp.c: tcp_alloc: prevent increasing stats.err for MEMP_TCP_PCB when
2482 mem stats.
2485 * stats.h/.c, some other files: patch #6483: stats module improvement:
2883 * etharp.c, stats.c, stats.h, opt.h: Introduced ETHARP_STATS
3310 * stats.h, stats.c, msg_in.c: Stats counters can be change to u32_t if necessary with the
3384 * mem.c, stats.c, mem.h: apply patch #6414 to avoid compiler errors
3544 * stats.h, stats.c, igmp.h, igmp.c, opt.h: Fix for bug #20503 : IGMP Improvement.
[all …]
A DUPGRADING151 * Moved and reordered stats (mainly memp/mib2)
255 * Added const char* name to mem- and memp-stats for easier debugging.
/lib/lwip/lwip/src/netif/ppp/
A Dvj.c42 #define INCR(counter) ++comp->stats.counter

Completed in 41 milliseconds