Home
last modified time | relevance | path

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

/external/syslinux/core/lwip/src/include/lwip/
Dmem.h100 #define LWIP_MEM_ALIGN_SIZE(size) (((size) + MEM_ALIGNMENT - 1) & ~(MEM_ALIGNMENT-1))
108 #define LWIP_MEM_ALIGN_BUFFER(size) (((size) + MEM_ALIGNMENT - 1))
115 … LWIP_MEM_ALIGN(addr) ((void *)(((mem_ptr_t)(addr) + MEM_ALIGNMENT - 1) & ~(mem_ptr_t)(MEM_ALIGNME…
Dopt.h123 #ifndef MEM_ALIGNMENT
124 #define MEM_ALIGNMENT 1 macro
/external/syslinux/core/lwip/src/core/
Dmem.c181 u8_t ram_heap[MEM_SIZE_ALIGNED + (2*SIZEOF_STRUCT_MEM) + MEM_ALIGNMENT];
276 (SIZEOF_STRUCT_MEM & (MEM_ALIGNMENT-1)) == 0); in lwip_mem_init()
317 LWIP_ASSERT("mem_free: sanity check alignment", (((mem_ptr_t)rmem) & (MEM_ALIGNMENT-1)) == 0); in mem_free()
600 ((mem_ptr_t)mem + SIZEOF_STRUCT_MEM) % MEM_ALIGNMENT == 0); in mem_malloc()
602 (((mem_ptr_t)mem) & (MEM_ALIGNMENT-1)) == 0); in mem_malloc()
Dmemp.c170 static u8_t memp_memory[MEM_ALIGNMENT - 1
415 ((mem_ptr_t)memp % MEM_ALIGNMENT) == 0); in memp_malloc()
443 ((mem_ptr_t)mem % MEM_ALIGNMENT) == 0); in memp_free()
Dpbuf.c229 ((mem_ptr_t)p->payload % MEM_ALIGNMENT) == 0); in pbuf_alloc()
270 ((mem_ptr_t)q->payload % MEM_ALIGNMENT) == 0); in pbuf_alloc()
297 ((mem_ptr_t)p->payload % MEM_ALIGNMENT) == 0); in pbuf_alloc()
Dinit.c163 #if (PBUF_POOL_BUFSIZE <= MEM_ALIGNMENT)
Dtcp_out.c771 LWIP_ASSERT("seg->tcphdr not aligned", ((mem_ptr_t)seg->tcphdr % MEM_ALIGNMENT) == 0); in tcp_enqueue_flags()
1066 LWIP_ASSERT("seg->tcphdr not aligned", ((mem_ptr_t)seg->tcphdr % MEM_ALIGNMENT) == 0); in tcp_output_segment()
/external/syslinux/core/lwip/src/api/
Dnetdb.c190 if (buflen < (sizeof(struct gethostbyname_r_helper) + namelen + 1 + (MEM_ALIGNMENT - 1))) { in lwip_gethostbyname_r()
/external/syslinux/core/lwip/src/core/ipv4/
Dip_frag.c618 static u8_t buf[LWIP_MEM_ALIGN_SIZE(IP_FRAG_MAX_MTU + MEM_ALIGNMENT - 1)];
/external/syslinux/core/lwip/
DCHANGELOG1088 too small depending on MEM_ALIGNMENT