Home
last modified time | relevance | path

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

/lib/liblwip/src/include/lwip/
Dmem.h116 #define LWIP_MEM_ALIGN(addr) ((void *)(((mem_ptr_t)(addr) + MEM_ALIGNMENT - 1) & ~(mem_ptr_t)(MEM_A…
/lib/liblwip/src/core/
Dmem.c320 LWIP_ASSERT("mem_free: sanity check alignment", (((mem_ptr_t)rmem) & (MEM_ALIGNMENT-1)) == 0); in mem_free()
615 (mem_ptr_t)mem + SIZEOF_STRUCT_MEM + size <= (mem_ptr_t)ram_end); in mem_malloc()
617 ((mem_ptr_t)mem + SIZEOF_STRUCT_MEM) % MEM_ALIGNMENT == 0); in mem_malloc()
619 (((mem_ptr_t)mem) & (MEM_ALIGNMENT-1)) == 0); in mem_malloc()
Dmemp.c416 ((mem_ptr_t)memp % MEM_ALIGNMENT) == 0); in memp_malloc()
444 ((mem_ptr_t)mem % MEM_ALIGNMENT) == 0); in memp_free()
Dpbuf.c251 ((mem_ptr_t)p->payload % MEM_ALIGNMENT) == 0); in pbuf_alloc()
292 ((mem_ptr_t)q->payload % MEM_ALIGNMENT) == 0); in pbuf_alloc()
319 ((mem_ptr_t)p->payload % MEM_ALIGNMENT) == 0); in pbuf_alloc()
Dtcp_out.c778 LWIP_ASSERT("seg->tcphdr not aligned", ((mem_ptr_t)seg->tcphdr % MEM_ALIGNMENT) == 0); in tcp_enqueue_flags()
/lib/liblwip/src/core/ipv4/
Dinet_chksum.c140 int odd = ((mem_ptr_t)pb & 1); in lwip_standard_chksum()
198 int odd = ((mem_ptr_t)pb & 1); in lwip_standard_chksum()
207 if (((mem_ptr_t)ps & 3) && len > 1) { in lwip_standard_chksum()
/lib/liblwip/src/include/arch/
Dcc.h55 typedef unsigned long mem_ptr_t; typedef
/lib/liblwip/src/api/
Dsockets.c420 ((name->sa_family) == AF_INET) && ((((mem_ptr_t)name) % 4) == 0)), in lwip_bind()
484 ((name->sa_family) == AF_INET) && ((((mem_ptr_t)name) % 4) == 0)), in lwip_connect()
822 ((to->sa_family) == AF_INET) && ((((mem_ptr_t)to) % 4) == 0))),
/lib/liblwip/doc/
Dsys_arch.txt226 u8_t, s8_t, u16_t, s16_t, u32_t, s32_t, mem_ptr_t