Lines Matching refs:payload
249 p->payload = LWIP_MEM_ALIGN((void *)((u8_t *)p + (SIZEOF_STRUCT_PBUF + offset))); in pbuf_alloc()
251 ((mem_ptr_t)p->payload % MEM_ALIGNMENT) == 0); in pbuf_alloc()
257 ((u8_t*)p->payload + p->len <= in pbuf_alloc()
290 q->payload = (void *)((u8_t *)q + SIZEOF_STRUCT_PBUF); in pbuf_alloc()
292 ((mem_ptr_t)q->payload % MEM_ALIGNMENT) == 0); in pbuf_alloc()
294 ((u8_t*)p->payload + p->len <= in pbuf_alloc()
313 p->payload = LWIP_MEM_ALIGN((void *)((u8_t *)p + SIZEOF_STRUCT_PBUF + offset)); in pbuf_alloc()
319 ((mem_ptr_t)p->payload % MEM_ALIGNMENT) == 0); in pbuf_alloc()
334 p->payload = NULL; in pbuf_alloc()
402 p->pbuf.payload = (u8_t *)payload_mem + LWIP_MEM_ALIGN_SIZE(offset); in pbuf_alloced_custom()
404 p->pbuf.payload = NULL; in pbuf_alloced_custom()
473 q = (struct pbuf *)mem_trim(q, (u16_t)((u8_t *)q->payload - (u8_t *)q) + rem_len); in pbuf_realloc()
514 void *payload; in pbuf_header() local
536 (u8_t *)p->payload - increment_magnitude >= (u8_t *)p + SIZEOF_STRUCT_PBUF); in pbuf_header()
542 payload = p->payload; in pbuf_header()
547 p->payload = (u8_t *)p->payload - header_size_increment; in pbuf_header()
549 if ((u8_t *)p->payload < (u8_t *)p + SIZEOF_STRUCT_PBUF) { in pbuf_header()
552 (void *)p->payload, (void *)(p + 1))); in pbuf_header()
554 p->payload = payload; in pbuf_header()
563 p->payload = (u8_t *)p->payload - header_size_increment; in pbuf_header()
579 (void *)payload, (void *)p->payload, header_size_increment)); in pbuf_header()
874 MEMCPY((u8_t*)p_to->payload + offset_to, (u8_t*)p_from->payload + offset_from, len); in pbuf_copy()
945 MEMCPY(&((char*)dataptr)[left], &((char*)p->payload)[offset], buf_copy_len); in pbuf_copy_partial()
989 MEMCPY(p->payload, &((char*)dataptr)[copied_total], buf_copy_len); in pbuf_take()
1057 dst_ptr = ((char*)p->payload) + start_offset; in pbuf_fill_chksum()
1089 return ((u8_t*)q->payload)[copy_from]; in pbuf_get_at()