Searched refs:LWIP_MEM_ALIGN_SIZE (Results 1 – 9 of 9) sorted by relevance
53 #define MEMP_SIZE (LWIP_MEM_ALIGN_SIZE(sizeof(struct memp)) + MEM_SANITY_REGION_BEFORE_ALI…54 #define MEMP_ALIGN_SIZE(x) (LWIP_MEM_ALIGN_SIZE(x) + MEM_SANITY_REGION_AFTER_ALIGNED)63 #define MEMP_ALIGN_SIZE(x) (LWIP_MEM_ALIGN_SIZE(x))
62 #define MEM_SANITY_REGION_BEFORE_ALIGNED LWIP_MEM_ALIGN_SIZE(MEM_SANITY_REGION_BEFORE)70 #define MEM_SANITY_REGION_AFTER_ALIGNED LWIP_MEM_ALIGN_SIZE(MEM_SANITY_REGION_AFTER)
23 #define LWIP_MALLOC_MEMPOOL(num, size) LWIP_MEMPOOL(POOL_##size, num, (size + LWIP_MEM_ALIGN_SIZE(s…
89 #define SIZEOF_STRUCT_PBUF LWIP_MEM_ALIGN_SIZE(sizeof(struct pbuf))92 #define PBUF_POOL_BUFSIZE_ALIGNED LWIP_MEM_ALIGN_SIZE(PBUF_POOL_BUFSIZE)257 qlen = LWIP_MIN(rem_len, (u16_t)(PBUF_POOL_BUFSIZE_ALIGNED - LWIP_MEM_ALIGN_SIZE(offset))); in pbuf_alloc()263 (PBUF_POOL_BUFSIZE_ALIGNED - LWIP_MEM_ALIGN_SIZE(offset)) > 0 ); in pbuf_alloc()278 u16_t payload_len = (u16_t)(LWIP_MEM_ALIGN_SIZE(offset) + LWIP_MEM_ALIGN_SIZE(length)); in pbuf_alloc()279 mem_size_t alloc_len = (mem_size_t)(LWIP_MEM_ALIGN_SIZE(SIZEOF_STRUCT_PBUF) + payload_len); in pbuf_alloc()282 if ((payload_len < LWIP_MEM_ALIGN_SIZE(length)) || in pbuf_alloc()283 (alloc_len < LWIP_MEM_ALIGN_SIZE(length))) { in pbuf_alloc()374 if (LWIP_MEM_ALIGN_SIZE(offset) + length > payload_mem_len) { in pbuf_alloced_custom()380 payload = (u8_t *)payload_mem + LWIP_MEM_ALIGN_SIZE(offset); in pbuf_alloced_custom()
80 LWIP_MEM_ALIGN_SIZE(size) \109 LWIP_MEM_ALIGN_SIZE(size), \
216 #ifndef LWIP_MEM_ALIGN_SIZE217 #define LWIP_MEM_ALIGN_SIZE(size) (((size) + MEM_ALIGNMENT - 1U) & ~(MEM_ALIGNMENT-1U)) macro
49 #define SIZEOF_STRUCT_PBUF LWIP_MEM_ALIGN_SIZE(sizeof(struct pbuf))
1848 #define PBUF_POOL_BUFSIZE LWIP_MEM_ALIGN_SIZE((TCP_MSS) + 40 + (PBUF_LINK_ENCAPSULATION_HLEN) + (PB…
1583 #define PBUF_POOL_BUFSIZE LWIP_MEM_ALIGN_SIZE(TCP_MSS+40+PBUF_LINK_ENCAPSULATION_HLEN…