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

/illumos-gate/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.c3010 uint_t nlocks; local
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 * sizeo
3094 uint_t nlocks; local
3111 uint_t nlocks; local
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dstrsubr.h822 int nlocks = (stp)->sd_nciputctrl; \
824 for (i = 0; i <= nlocks; i++) { \
834 int nlocks = (stp)->sd_nciputctrl; \
836 for (i = 0; i <= nlocks; i++) { \
846 int nlocks = (sq)->sq_nciputctrl; \
849 for (i = 0; i <= nlocks; i++) { \
859 int nlocks = (sq)->sq_nciputctrl; \
862 for (i = 0; i <= nlocks; i++) { \
872 int nlocks = (sq)->sq_nciputctrl; \
875 for (i = 0; i <= nlocks;
[all...]
/illumos-gate/usr/src/lib/libadm/common/
H A Ddevreserv.c546 int nlocks; /* Number of locks (up to date) */ local
551 nlocks = lockcount;
566 nlocks--;
586 return (nlocks);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dtypegraph.c2964 size_t nlocks, osize, size; local
2967 if ((nlocks = (fl->fl_nlocks << 1)) == 0)
2968 nlocks = 1;
2971 size = nlocks * sizeof (foundlock_t);
2981 fl->fl_nlocks = nlocks;
/illumos-gate/usr/src/uts/common/os/
H A Dstrsubr.c599 int nlocks = (sq)->sq_nciputctrl; \
602 for (i = 0; i <= nlocks; i++) { \
614 int nlocks = (sq)->sq_nciputctrl; \
617 for (i = 0; i <= nlocks; i++) { \

Completed in 79 milliseconds