Home
last modified time | relevance | path

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

/third_party/lwip/src/apps/altcp_tls/
Daltcp_tls_mbedtls_mem.c98 altcp_mbedtls_malloc_stats_t altcp_mbedtls_malloc_stats; variable
111 memset(&altcp_mbedtls_malloc_stats, 0, sizeof(altcp_mbedtls_malloc_stats)); in tls_malloc()
127 altcp_mbedtls_malloc_stats.allocCnt++; in tls_malloc()
128 altcp_mbedtls_malloc_stats.allocedBytes += c * len; in tls_malloc()
129 if (altcp_mbedtls_malloc_stats.allocedBytes > altcp_mbedtls_malloc_stats.maxBytes) { in tls_malloc()
130 altcp_mbedtls_malloc_stats.maxBytes = altcp_mbedtls_malloc_stats.allocedBytes; in tls_malloc()
132 altcp_mbedtls_malloc_stats.totalBytes += c * len; in tls_malloc()
153 altcp_mbedtls_malloc_stats.allocedBytes -= hlpr->c * hlpr->len; in tls_free()