Searched refs:nlocks (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libc/port/threads/
H A Drwlock.c54 uint_t nlocks; local
59 if ((nlocks = self->ul_rdlockcnt) != 0)
62 nlocks = 1;
66 for (; nlocks; nlocks--, readlockp++) {
81 if ((nlocks = self->ul_rdlockcnt) == 0) {
86 self->ul_rdlockcnt = nlocks = NLOCKS;
87 readlockp = lmalloc(nlocks * sizeof (readlock_t));
103 readlockp = lmalloc(nlocks * 2 * sizeof (readlock_t));
105 nlocks * sizeo
122 uint_t nlocks; local
142 uint_t nlocks; local
[all...]
H A Dsynch.c2997 uint_t nlocks; local
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 * sizeo
3081 uint_t nlocks; local
3098 uint_t nlocks; local
[all...]

Completed in 29 milliseconds