Lines Matching refs:depth
401 lock->depth = 0;
418 if (++(lock->depth) == 0) /* wraparound? */
420 lock->depth--;
431 if (lock->depth == 0)
433 if (--(lock->depth) == 0)
540 lock->depth = 0;
557 if (++(lock->depth) == 0) /* wraparound? */
559 lock->depth--;
570 if (lock->depth == 0)
572 if (--(lock->depth) == 0)
956 lock->depth = 0;
982 if (++(lock->depth) == 0) /* wraparound? */
984 lock->depth--;
996 if (lock->depth == 0)
998 if (--(lock->depth) == 0)