Searched refs:nlocks (Results 1 – 7 of 7) sorted by relevance
55 uint_t nlocks; in rwl_entry() local60 if ((nlocks = self->ul_rdlockcnt) != 0) in rwl_entry()63 nlocks = 1; in rwl_entry()67 for (; nlocks; nlocks--, readlockp++) { in rwl_entry()87 self->ul_rdlockcnt = nlocks = NLOCKS; in rwl_entry()106 nlocks * sizeof (readlock_t)); in rwl_entry()123 uint_t nlocks; in rwl_free() local125 if ((nlocks = ulwp->ul_rdlockcnt) != 0) in rwl_free()143 uint_t nlocks; in rw_read_held() local159 nlocks = 1; in rw_read_held()[all …]
3020 uint_t nlocks; in find_lock_entry() local3022 if ((nlocks = self->ul_heldlockcnt) != 0) in find_lock_entry()3025 nlocks = 1; in find_lock_entry()3029 for (; nlocks; nlocks--, lockptr++) { in find_lock_entry()3067 nlocks * sizeof (mutex_t *)); in find_lock_entry()3074 *(lockptr += nlocks) = lock; in find_lock_entry()3104 uint_t nlocks; in heldlock_free() local3106 if ((nlocks = ulwp->ul_heldlockcnt) != 0) in heldlock_free()3121 uint_t nlocks; in heldlock_exit() local3127 nlocks = 1; in heldlock_exit()[all …]
842 for (i = 0; i <= nlocks; i++) { \854 for (i = 0; i <= nlocks; i++) { \864 int nlocks = (sq)->sq_nciputctrl; \867 for (i = 0; i <= nlocks; i++) { \877 int nlocks = (sq)->sq_nciputctrl; \880 for (i = 0; i <= nlocks; i++) { \890 int nlocks = (sq)->sq_nciputctrl; \893 for (i = 0; i <= nlocks; i++) { \905 int nlocks = (sq)->sq_nciputctrl; \908 for (i = 0; i <= nlocks; i++) { \[all …]
548 int nlocks; /* Number of locks (up to date) */ in compresslks() local553 nlocks = lockcount; in compresslks()568 nlocks--; in compresslks()588 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()
771 uint_t nlocks = alen / 3; in smb2_dh_import_handle() local775 for (i = 0; i < nlocks; i++) { in smb2_dh_import_handle()
603 int nlocks = (sq)->sq_nciputctrl; \606 for (i = 0; i <= nlocks; i++) { \618 int nlocks = (sq)->sq_nciputctrl; \621 for (i = 0; i <= nlocks; i++) { \