Lines Matching refs:p
213 * @param p the memp element to check
214 * @param memp_type the pool p comes from
217 memp_overflow_check_element_overflow(struct memp *p, u16_t memp_type)
222 m = (u8_t*)p + MEMP_SIZE + memp_sizes[memp_type];
246 * @param p the memp element to check
247 * @param memp_type the pool p comes from
250 memp_overflow_check_element_underflow(struct memp *p, u16_t memp_type)
255 m = (u8_t*)p + MEMP_SIZE - MEMP_SANITY_REGION_BEFORE_ALIGNED;
284 struct memp *p;
286 p = (struct memp *)LWIP_MEM_ALIGN(memp_memory);
288 p = p;
290 memp_overflow_check_element_overflow(p, i);
291 p = (struct memp*)((u8_t*)p + MEMP_SIZE + memp_sizes[i] + MEMP_SANITY_REGION_AFTER_ALIGNED);
294 p = (struct memp *)LWIP_MEM_ALIGN(memp_memory);
296 p = p;
298 memp_overflow_check_element_underflow(p, i);
299 p = (struct memp*)((u8_t*)p + MEMP_SIZE + memp_sizes[i] + MEMP_SANITY_REGION_AFTER_ALIGNED);
311 struct memp *p;
314 p = (struct memp *)LWIP_MEM_ALIGN(memp_memory);
316 p = p;
319 m = (u8_t*)p + MEMP_SIZE - MEMP_SANITY_REGION_BEFORE_ALIGNED;
323 m = (u8_t*)p + MEMP_SIZE + memp_sizes[i];
326 p = (struct memp*)((u8_t*)p + MEMP_SIZE + memp_sizes[i] + MEMP_SANITY_REGION_AFTER_ALIGNED);