Home
last modified time | relevance | path

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

/third_party/lwip/src/include/lwip/
Darch.h279 #define LWIP_MEM_ALIGN_SIZE(size) (((size) + MEM_ALIGNMENT - 1U) & ~(MEM_ALIGNMENT-1U))
287 #define LWIP_MEM_ALIGN_BUFFER(size) (((size) + MEM_ALIGNMENT - 1U))
294 … LWIP_MEM_ALIGN(addr) ((void *)(((mem_ptr_t)(addr) + MEM_ALIGNMENT - 1) & ~(mem_ptr_t)(MEM_ALIGNME…
Dopt.h288 #if !defined MEM_ALIGNMENT || defined __DOXYGEN__
289 #define MEM_ALIGNMENT 1 macro
/third_party/lwip/src/core/
Dmem.c521 (SIZEOF_STRUCT_MEM & (MEM_ALIGNMENT - 1)) == 0); in mem_init()
626 if ((((mem_ptr_t)rmem) & (MEM_ALIGNMENT - 1)) != 0) { in mem_free()
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()
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()
Dinit.c208 #if (PBUF_POOL_BUFSIZE <= MEM_ALIGNMENT)
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/
D0019-gazelle-reduce-copy-in-send.patch29 ((mem_ptr_t)p->payload % MEM_ALIGNMENT) == 0);
DCHANGELOG1100 MEM_ALIGNMENT = 8
1404 * pbuf.c: fixed bug #34534: Error in sending fragmented IP if MEM_ALIGNMENT > 4
2586 too small depending on MEM_ALIGNMENT