Lines Matching defs:ref
442 p->ref = 1;
486 q->ref = 1;
555 p->ref = 1;
832 u16_t ref;
835 /* Since decrementing ref cannot be guaranteed to be a single machine operation
836 * we must protect it. We put the new ref into a local variable to prevent
842 if (p->ref <= 0) {
843 printf("pbuf_free:[%p] p->ref value is %u\n",p, p->ref);
853 // LWIP_ASSERT("pbuf_free: p->ref > 0", p->ref > 0);
854 ref = 0;
856 ref = --(p->ref);
859 // printf("pbuf_free: p->ref value is %u and type %u(%u)\n",
860 // p->ref, p->type, PBUF_POOL);
863 if (ref == 0) {
906 /* p->ref > 0, this pbuf is still referenced to */
910 ("pbuf_free: %p has ref %" U16_F ", ending here.\n",
911 (void *) p, ref));
912 // printf("pbuf_free: %p has ref %" U16_F ", ending here.\n",
913 // (void *) p, ref);
961 ++(p->ref);
1018 * The ->ref field of the first pbuf of the tail chain is adjusted.