Lines Matching refs:mem
37 #include "lwip/mem.h"
130 struct stats_mem mem;
217 #define MEM_STATS_AVAIL(x, y) lwip_stats.mem.x = y
218 #define MEM_STATS_INC(x) STATS_INC(mem.x)
219 #define MEM_STATS_INC_USED(x, y) do { lwip_stats.mem.used += y; \
220 if (lwip_stats.mem.max < lwip_stats.mem.used) { \
221 lwip_stats.mem.max = lwip_stats.mem.used; \
224 #define MEM_STATS_DEC_USED(x, y) lwip_stats.mem.x -= y
225 #define MEM_STATS_DISPLAY() stats_display_mem(&lwip_stats.mem, "HEAP")
267 void stats_display_mem(struct stats_mem *mem, char *name);
268 void stats_display_memp(struct stats_mem *mem, int index);
274 #define stats_display_mem(mem, name)
275 #define stats_display_memp(mem, index)