Home
last modified time | relevance | path

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

/third_party/lwip/src/include/lwip/
Darch.h135 typedef uintptr_t mem_ptr_t; typedef
294 #define LWIP_MEM_ALIGN(addr) ((void *)(((mem_ptr_t)(addr) + MEM_ALIGNMENT - 1) & ~(mem_ptr_t)(MEM_A…
/third_party/lwip/src/core/
Dmem.c626 if ((((mem_ptr_t)rmem) & (MEM_ALIGNMENT - 1)) != 0) { in mem_free()
954 (mem_ptr_t)mem + SIZEOF_STRUCT_MEM + size <= (mem_ptr_t)ram_end); in mem_malloc()
956 ((mem_ptr_t)mem + SIZEOF_STRUCT_MEM) % MEM_ALIGNMENT == 0); in mem_malloc()
958 (((mem_ptr_t)mem) & (MEM_ALIGNMENT - 1)) == 0); in mem_malloc()
Dinet_chksum.c139 int odd = ((mem_ptr_t)pb & 1); in lwip_standard_chksum()
197 int odd = ((mem_ptr_t)pb & 1); in lwip_standard_chksum()
206 if (((mem_ptr_t)ps & 3) && len > 1) { in lwip_standard_chksum()
Dmemp.c281 ((mem_ptr_t)memp % MEM_ALIGNMENT) == 0); in do_memp_malloc_pool()
365 ((mem_ptr_t)mem % MEM_ALIGNMENT) == 0); in do_memp_free_pool()
Dpbuf.c257 ((mem_ptr_t)q->payload % MEM_ALIGNMENT) == 0); in pbuf_alloc()
291 ((mem_ptr_t)p->payload % MEM_ALIGNMENT) == 0); in pbuf_alloc()
Dtcp_out.c1103 …LWIP_ASSERT("seg->tcphdr not aligned", ((mem_ptr_t)seg->tcphdr % LWIP_MIN(MEM_ALIGNMENT, 4)) == 0); in tcp_enqueue_flags()
/third_party/lwip/src/api/
Dsockets.c167 #define IS_SOCK_ADDR_ALIGNED(name) ((((mem_ptr_t)(name)) % 4) == 0)