Lines Matching refs:nlocks
3010 uint_t nlocks;
3012 if ((nlocks = self->ul_heldlockcnt) != 0)
3015 nlocks = 1;
3019 for (; nlocks; nlocks--, lockptr++) {
3034 if ((nlocks = self->ul_heldlockcnt) == 0) {
3039 self->ul_heldlockcnt = nlocks = INITIAL_LOCKS;
3040 lockptr = lmalloc(nlocks * sizeof (mutex_t *));
3055 lockptr = lmalloc(nlocks * 2 * sizeof (mutex_t *));
3057 nlocks * sizeof (mutex_t *));
3058 lfree(self->ul_heldlocks.array, nlocks * sizeof (mutex_t *));
3064 *(lockptr += nlocks) = lock;
3094 uint_t nlocks;
3096 if ((nlocks = ulwp->ul_heldlockcnt) != 0)
3097 lfree(ulwp->ul_heldlocks.array, nlocks * sizeof (mutex_t *));
3111 uint_t nlocks;
3114 if ((nlocks = self->ul_heldlockcnt) != 0)
3117 nlocks = 1;
3121 for (; nlocks; nlocks--, lockptr++) {