Searched refs:nlocks (Results 1 – 6 of 6) sorted by relevance
54 uint_t nlocks; in rwl_entry() local59 if ((nlocks = self->ul_rdlockcnt) != 0) in rwl_entry()62 nlocks = 1; in rwl_entry()66 for (; nlocks; nlocks--, readlockp++) { in rwl_entry()81 if ((nlocks = self->ul_rdlockcnt) == 0) { in rwl_entry()86 self->ul_rdlockcnt = nlocks = NLOCKS; in rwl_entry()87 readlockp = lmalloc(nlocks * sizeof (readlock_t)); in rwl_entry()103 readlockp = lmalloc(nlocks * 2 * sizeof (readlock_t)); in rwl_entry()105 nlocks * sizeof (readlock_t)); in rwl_entry()106 lfree(self->ul_readlock.array, nlocks * sizeof (readlock_t)); in rwl_entry()[all …]
3010 uint_t nlocks; in find_lock_entry() local3012 if ((nlocks = self->ul_heldlockcnt) != 0) in find_lock_entry()3015 nlocks = 1; in find_lock_entry()3019 for (; nlocks; nlocks--, lockptr++) { in find_lock_entry()3034 if ((nlocks = self->ul_heldlockcnt) == 0) { in find_lock_entry()3039 self->ul_heldlockcnt = nlocks = INITIAL_LOCKS; in find_lock_entry()3040 lockptr = lmalloc(nlocks * sizeof (mutex_t *)); in find_lock_entry()3055 lockptr = lmalloc(nlocks * 2 * sizeof (mutex_t *)); in find_lock_entry()3057 nlocks * sizeof (mutex_t *)); in find_lock_entry()3058 lfree(self->ul_heldlocks.array, nlocks * sizeof (mutex_t *)); in find_lock_entry()[all …]
822 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; i++) { \[all …]
546 int nlocks; /* Number of locks (up to date) */ in compresslks() local551 nlocks = lockcount; in compresslks()566 nlocks--; in compresslks()586 return (nlocks); in compresslks()
2964 size_t nlocks, osize, size; in findlocks_findmutex() local2967 if ((nlocks = (fl->fl_nlocks << 1)) == 0) in findlocks_findmutex()2968 nlocks = 1; in findlocks_findmutex()2971 size = nlocks * sizeof (foundlock_t); in findlocks_findmutex()2981 fl->fl_nlocks = nlocks; in findlocks_findmutex()
599 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++) { \