Lines Matching defs:refCount
382 mutex_t rcMutex; /* Mutex for refCount */
383 int refCount; /* Reference count */
387 int doDis; /* To be disconnected if refCount==0 */
388 int doDel; /* To be deleted if refCount zero */
416 * update refCount
426 * and 'refCount' must be zero.
431 * Modify (except refCount)
496 lc->refCount++;
506 if (lc->refCount > 0)
507 lc->refCount--;
628 if (lc->onList || lc->refCount != 1 || lc->isBound) {
664 /* Increment refCount to protect against interference */
666 /* refCount must be one (i.e., just us) */
667 if (lc->refCount != 1) {
780 * and the refCount must be zero.
801 if (lc->refCount != 1) {
821 if (lc->refCount != 1 || lc->ld != 0) {