Lines Matching refs:refcount
312 lachead->refcount++;
313 lwsl_debug("%s: head %p: (det %d) refcount -> %d\n",
314 __func__, head, lachead->detached, lachead->refcount);
327 if (!lachead->refcount)
328 lwsl_warn("%s: refcount going below zero\n", __func__);
330 lachead->refcount--;
332 lwsl_debug("%s: head %p: (det %d) refcount -> %d\n",
333 __func__, *head, lachead->detached, lachead->refcount);
335 if (lachead->detached && !lachead->refcount) {
352 if (!lachead->refcount) {
356 lwsl_debug("%s: head %p: refcount %d: Marked as detached\n",
357 __func__, *head, lachead->refcount);