Lines Matching defs:ref
308 p->ref = 1;
342 q->ref = 1;
400 p->ref = 1;
471 p->pbuf.ref = 1;
740 u16_t ref;
742 /* Since decrementing ref cannot be guaranteed to be a single machine operation
743 * we must protect it. We put the new ref into a local variable to prevent
747 LWIP_ASSERT("pbuf_free: p->ref > 0", p->ref > 0);
749 ref = --(p->ref);
752 if (ref == 0) {
780 /* p->ref > 0, this pbuf is still referenced to */
783 LWIP_DEBUGF( PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_free: %p has ref %"U16_F", ending here.\n", (void *)p, ref));
824 SYS_ARCH_INC(p->ref, 1);
825 LWIP_ASSERT("pbuf ref overflow", p->ref > 0);
878 * The ->ref field of the first pbuf of the tail chain is adjusted.