Searched refs:MEM_ALIGNMENT (Results 1 – 11 of 11) sorted by relevance
101 #define LWIP_MEM_ALIGN_SIZE(size) (((size) + MEM_ALIGNMENT - 1) & ~(MEM_ALIGNMENT-1))109 #define LWIP_MEM_ALIGN_BUFFER(size) (((size) + MEM_ALIGNMENT - 1))116 … LWIP_MEM_ALIGN(addr) ((void *)(((mem_ptr_t)(addr) + MEM_ALIGNMENT - 1) & ~(mem_ptr_t)(MEM_ALIGNME…
78 #define MEM_ALIGNMENT 1 macro
123 #ifndef MEM_ALIGNMENT124 #define MEM_ALIGNMENT 1 macro
182 u8_t ram_heap[MEM_SIZE_ALIGNED + (2*SIZEOF_STRUCT_MEM) + MEM_ALIGNMENT];279 (SIZEOF_STRUCT_MEM & (MEM_ALIGNMENT-1)) == 0); in mem_init()320 LWIP_ASSERT("mem_free: sanity check alignment", (((mem_ptr_t)rmem) & (MEM_ALIGNMENT-1)) == 0); in mem_free()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()
170 static u8_t memp_memory[MEM_ALIGNMENT - 1 416 ((mem_ptr_t)memp % MEM_ALIGNMENT) == 0); in memp_malloc()444 ((mem_ptr_t)mem % MEM_ALIGNMENT) == 0); in memp_free()
163 #if (PBUF_POOL_BUFSIZE <= MEM_ALIGNMENT)
251 ((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()
778 LWIP_ASSERT("seg->tcphdr not aligned", ((mem_ptr_t)seg->tcphdr % MEM_ALIGNMENT) == 0); in tcp_enqueue_flags()
190 if (buflen < (sizeof(struct gethostbyname_r_helper) + namelen + 1 + (MEM_ALIGNMENT - 1))) { in lwip_gethostbyname_r()
618 static u8_t buf[LWIP_MEM_ALIGN_SIZE(IP_FRAG_MAX_MTU + MEM_ALIGNMENT - 1)];
205 * pbuf.c: fixed bug #34534: Error in sending fragmented IP if MEM_ALIGNMENT > 41387 too small depending on MEM_ALIGNMENT