Lines Matching defs:nlocks
2997 uint_t nlocks;
2999 if ((nlocks = self->ul_heldlockcnt) != 0)
3002 nlocks = 1;
3006 for (; nlocks; nlocks--, lockptr++) {
3021 if ((nlocks = self->ul_heldlockcnt) == 0) {
3026 self->ul_heldlockcnt = nlocks = INITIAL_LOCKS;
3027 lockptr = lmalloc(nlocks * sizeof (mutex_t *));
3042 lockptr = lmalloc(nlocks * 2 * sizeof (mutex_t *));
3044 nlocks * sizeof (mutex_t *));
3045 lfree(self->ul_heldlocks.array, nlocks * sizeof (mutex_t *));
3051 *(lockptr += nlocks) = lock;
3081 uint_t nlocks;
3083 if ((nlocks = ulwp->ul_heldlockcnt) != 0)
3084 lfree(ulwp->ul_heldlocks.array, nlocks * sizeof (mutex_t *));
3098 uint_t nlocks;
3101 if ((nlocks = self->ul_heldlockcnt) != 0)
3104 nlocks = 1;
3108 for (; nlocks; nlocks--, lockptr++) {