Searched refs:mem_ptr_t (Results 1 – 7 of 7) sorted by relevance
135 typedef uintptr_t mem_ptr_t; typedef294 #define LWIP_MEM_ALIGN(addr) ((void *)(((mem_ptr_t)(addr) + MEM_ALIGNMENT - 1) & ~(mem_ptr_t)(MEM_A…
626 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()
139 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()
281 ((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()
257 ((mem_ptr_t)q->payload % MEM_ALIGNMENT) == 0); in pbuf_alloc()291 ((mem_ptr_t)p->payload % MEM_ALIGNMENT) == 0); in pbuf_alloc()
1103 …LWIP_ASSERT("seg->tcphdr not aligned", ((mem_ptr_t)seg->tcphdr % LWIP_MIN(MEM_ALIGNMENT, 4)) == 0); in tcp_enqueue_flags()
167 #define IS_SOCK_ADDR_ALIGNED(name) ((((mem_ptr_t)(name)) % 4) == 0)