Lines Matching defs:ref
337 p->ref = 1;
370 q->ref = 1;
428 p->ref = 1;
501 p->pbuf.ref = 1;
648 u16_t ref;
650 /* Since decrementing ref cannot be guaranteed to be a single machine operation
651 * we must protect it. We put the new ref into a local variable to prevent
655 LWIP_ASSERT("pbuf_free: p->ref > 0", p->ref > 0);
657 ref = --(p->ref);
660 if (ref == 0) {
689 /* p->ref > 0, this pbuf is still referenced to */
692 LWIP_DEBUGF( PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_free: %p has ref %"U16_F", ending here.\n", (void *)p, ref));