Home
last modified time | relevance | path

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

/lib/liblwip/test/unit/core/
Dtest_mem.c42 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
46 fail_unless(lwip_stats.mem.used >= SIZE1); in START_TEST()
47 s1 = lwip_stats.mem.used; in START_TEST()
51 fail_unless(lwip_stats.mem.used >= SIZE2 + s1); in START_TEST()
52 s2 = lwip_stats.mem.used; in START_TEST()
57 fail_unless(lwip_stats.mem.used <= s2 - SIZE2); in START_TEST()
60 fail_unless(lwip_stats.mem.used == 0); in START_TEST()
/lib/liblwip/src/core/
Dmem.c162 u8_t used; member
243 LWIP_ASSERT("plug_holes: mem->used == 0", mem->used == 0); in plug_holes()
249 if (mem != nmem && nmem->used == 0 && (u8_t *)nmem != (u8_t *)ram_end) { in plug_holes()
260 if (pmem != mem && pmem->used == 0) { in plug_holes()
287 mem->used = 0; in mem_init()
290 ram_end->used = 1; in mem_init()
339 LWIP_ASSERT("mem_free: mem->used", mem->used); in mem_free()
341 mem->used = 0; in mem_free()
348 MEM_STATS_DEC_USED(used, mem->next - (mem_size_t)(((u8_t *)mem - ram))); in mem_free()
422 if(mem2->used == 0) { in mem_trim()
[all …]
Dstats.c117 LWIP_PLATFORM_DIAG(("used: %"U32_F"\n\t", (u32_t)mem->used)); in stats_display_mem()
142 LWIP_PLATFORM_DIAG(("sem.used: %"U32_F"\n\t", (u32_t)sys->sem.used)); in stats_display_sys()
145 LWIP_PLATFORM_DIAG(("mutex.used: %"U32_F"\n\t", (u32_t)sys->mutex.used)); in stats_display_sys()
148 LWIP_PLATFORM_DIAG(("mbox.used: %"U32_F"\n\t", (u32_t)sys->mbox.used)); in stats_display_sys()
Dmemp.c344 MEMP_STATS_AVAIL(used, i, 0); in memp_init()
414 MEMP_STATS_INC_USED(used, type); in memp_malloc()
458 MEMP_STATS_DEC(used, type); in memp_free()
/lib/liblwip/test/unit/udp/
Dtest_udp.c22 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/
Dstats.h95 mem_size_t used; member
102 STAT_COUNTER used; member
155 #define STATS_INC_USED(x, y) do { lwip_stats.x.used += y; \
156 if (lwip_stats.x.max < lwip_stats.x.used) { \
157 lwip_stats.x.max = lwip_stats.x.used; \
/lib/liblwip/test/unit/tcp/
Dtest_tcp.c61 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 …]
Dtest_tcp_oos.c269 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 …]
Dtcp_helper.c33 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()
/docs/
DDoxyfile3 # This file describes the settings to be used by the documentation system
18 # Use doxygen to compare the used configuration file with the template
21 # Use doxygen to compare the used configuration file with the template
30 # This tag specifies the encoding used for all characters in the configuration
31 # file that follow. The default is UTF-8 which is also the encoding used for all
41 # project for which the documentation is generated. This name is used in the
47 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
49 # control system is used.
66 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
69 # left blank the current directory will be used.
[all …]
/lib/liblwip/src/netif/
DFILES7 Ethernet. The code in this file should be used together with
14 file can be used as a "skeleton" for developing new Ethernet
/lib/liblwip/
DUPGRADING69 space is used for later calls to tcp_write.
78 be used to place these pools into user-defined memory by using external
101 in cc.h, e.g. used by igmp)
138 * Removed packing from ip_addr_t, the packed version is now only used in protocol headers
DCOPYING13 * 3. The name of the author may not be used to endorse or promote products
DCHANGELOG49 initial local TCP/UDP ports (so that different port ranges are used after
202 used and not all protocols are enabled
292 sending an ARP request when an ARP entry is used in the last minute before
320 calculate it in tcp_zero_window_probe (the only place where it was used).
337 version is now only used in protocol headers. Added global storage for
419 allocated larger than needed and the space is used for later calls to
605 * api.h, api_lib.c, api_msg.c, sockets.c: netconn.recv_avail is only used for
813 disabled on netif used for PPPoE) by adding a new netif flag
815 device but prevents usage of ARP (so that ethernet_input can be used
847 since they are not used anywhere else.
[all …]
/lib/liblwip/doc/
Dsys_arch.txt21 macros used throughout lwip. The files required and the macros they
25 kinds. Mailboxes are used for message passing and can be implemented
38 allows both using pointers or actual OS structures to be used. This way, memory
175 argument to the thread() function. The stack size to used for this thread is
205 for wraparound, this is only used for time diffs).
225 Typedefs for the types used by lwip -
250 to make lwip/arch.h define the codes which are used throughout.
Drawapi.txt30 (also known as the "tcpip_thread"). The raw API may only be used from
74 Both APIs can be used simultaneously by different application
99 The functions used for setting up connections is similar to that of
253 specified callback function. This can be used either as a watchdog
323 Creates a new UDP pcb which can be used for UDP communication. The
Dcontrib.txt44 This is a good way to see if they are used at all - the same goes for unix
/lib/liblwip/src/arch/
Dsys_arch.c181 SYS_STATS_DEC(mbox.used); in sys_mbox_free()
473 SYS_STATS_DEC(sem.used); in sys_sem_free()