Searched refs:memp (Results 1 – 10 of 10) sorted by relevance
| /lib/liblwip/src/core/ |
| D | memp.c | 66 struct memp { struct 67 struct memp *next; argument 101 #define MEMP_SIZE (LWIP_MEM_ALIGN_SIZE(sizeof(struct memp)) + MEMP_SANITY_REGION_BEFORE_AL… 117 static struct memp *memp_tab[MEMP_MAX]; 185 struct memp *t, *h; in memp_sanity() 217 memp_overflow_check_element_overflow(struct memp *p, u16_t memp_type) in memp_overflow_check_element_overflow() 250 memp_overflow_check_element_underflow(struct memp *p, u16_t memp_type) in memp_overflow_check_element_underflow() 284 struct memp *p; in memp_overflow_check_all() 286 p = (struct memp *)LWIP_MEM_ALIGN(memp_memory); in memp_overflow_check_all() 291 p = (struct memp*)((u8_t*)p + MEMP_SIZE + memp_sizes[i] + MEMP_SANITY_REGION_AFTER_ALIGNED); in memp_overflow_check_all() [all …]
|
| D | stats.c | 61 lwip_stats.memp[i].name = memp_names[i]; in stats_init()
|
| /lib/liblwip/test/unit/udp/ |
| D | test_udp.c | 22 fail_unless(lwip_stats.memp[MEMP_UDP_PCB].used == 0); in udp_remove_all() 47 fail_unless(lwip_stats.memp[MEMP_UDP_PCB].used == 0); in START_TEST() 52 fail_unless(lwip_stats.memp[MEMP_UDP_PCB].used == 1); in START_TEST() 54 fail_unless(lwip_stats.memp[MEMP_UDP_PCB].used == 0); in START_TEST()
|
| /lib/liblwip/src/include/lwip/ |
| D | stats.h | 142 struct stats_mem memp[MEMP_MAX]; member 246 #define MEMP_STATS_AVAIL(x, i, y) lwip_stats.memp[i].x = y 247 #define MEMP_STATS_INC(x, i) STATS_INC(memp[i].x) 248 #define MEMP_STATS_DEC(x, i) STATS_DEC(memp[i].x) 249 #define MEMP_STATS_INC_USED(x, i) STATS_INC_USED(memp[i], 1) 250 #define MEMP_STATS_DISPLAY(i) stats_display_memp(&lwip_stats.memp[i], i)
|
| /lib/liblwip/test/unit/tcp/ |
| D | test_tcp.c | 61 fail_unless(lwip_stats.memp[MEMP_TCP_PCB].used == 0); in START_TEST() 66 fail_unless(lwip_stats.memp[MEMP_TCP_PCB].used == 1); in START_TEST() 68 fail_unless(lwip_stats.memp[MEMP_TCP_PCB].used == 0); in START_TEST() 115 EXPECT(lwip_stats.memp[MEMP_TCP_PCB].used == 1); in START_TEST() 117 EXPECT(lwip_stats.memp[MEMP_TCP_PCB].used == 0); in START_TEST() 287 EXPECT_RET(lwip_stats.memp[MEMP_TCP_PCB].used == 1); in START_TEST() 289 EXPECT_RET(lwip_stats.memp[MEMP_TCP_PCB].used == 0); in START_TEST() 399 EXPECT_RET(lwip_stats.memp[MEMP_TCP_PCB].used == 1); in START_TEST() 401 EXPECT_RET(lwip_stats.memp[MEMP_TCP_PCB].used == 0); in START_TEST() 489 EXPECT_RET(lwip_stats.memp[MEMP_TCP_PCB].used == 1); in START_TEST() [all …]
|
| D | test_tcp_oos.c | 269 EXPECT(lwip_stats.memp[MEMP_TCP_PCB].used == 1); in START_TEST() 271 EXPECT(lwip_stats.memp[MEMP_TCP_PCB].used == 0); in START_TEST() 443 EXPECT(lwip_stats.memp[MEMP_TCP_PCB].used == 1); in START_TEST() 445 EXPECT(lwip_stats.memp[MEMP_TCP_PCB].used == 0); in START_TEST() 535 EXPECT(lwip_stats.memp[MEMP_TCP_PCB].used == 1); in START_TEST() 537 EXPECT(lwip_stats.memp[MEMP_TCP_PCB].used == 0); in START_TEST() 614 EXPECT(lwip_stats.memp[MEMP_TCP_PCB].used == 1); in START_TEST() 616 EXPECT(lwip_stats.memp[MEMP_TCP_PCB].used == 0); in START_TEST() 693 EXPECT(lwip_stats.memp[MEMP_TCP_PCB].used == 1); in START_TEST() 695 EXPECT(lwip_stats.memp[MEMP_TCP_PCB].used == 0); in START_TEST() [all …]
|
| D | tcp_helper.c | 33 fail_unless(lwip_stats.memp[MEMP_TCP_PCB].used == 0); in tcp_remove_all() 34 fail_unless(lwip_stats.memp[MEMP_TCP_PCB_LISTEN].used == 0); in tcp_remove_all() 35 fail_unless(lwip_stats.memp[MEMP_TCP_SEG].used == 0); in tcp_remove_all() 36 fail_unless(lwip_stats.memp[MEMP_PBUF_POOL].used == 0); in tcp_remove_all()
|
| /lib/liblwip/ |
| D | UPGRADING | 85 * Netdb uses a memp pool for allocating memory when getaddrinfo() is called, 88 * DNS_LOCAL_HOSTLIST_IS_DYNAMIC uses a memp pool instead of the heap, so 91 * Snmp-agent uses a memp pools instead of the heap, so MEMP_NUM_SNMP_* have 111 * Added const char* name to mem- and memp-stats for easier debugging.
|
| D | SConscript | 31 "src/core/memp.c",
|
| D | CHANGELOG | 89 * memp.c: fixed bug #37166: memp_sanity check loops itself 345 * opt.h, memp_std.h, memp.c, ppp_oe.h/.c: PPPoE now uses its own MEMP pool 423 * stats.c/.h: Added const char* name to mem- and memp-stats for easier 482 * opt.h, memp_std.h, dns.h, netdb.c, memp.c: Let netdb use a memp pool 509 * snmp: Use memp pools for snmp instead of the heap; added 4 new pools. 521 * opt.h, memp.c: patch #6822 (Add option to place memory pools in 529 * tcpip.c, init.c, memp.c, sys.c, memp_std.h, sys.h, tcpip.h 1175 * opt.h, memp.h/.c: added MEMP_MEM_MALLOC to use mem_malloc/mem_free instead 1306 * memp.c, mem.c, memp.h, mem_std.h: bug #26213 "Problem with memory allocation 1308 regions); memp pools for MEM_USE_POOLS were too small [all …]
|