Lines Matching refs:sleepers
320 uint_t sleepers; /* nthreads sleeping on this lock */
910 lp->sleepers = 0;
939 ASSERT(lp->sleepers == 0);
968 ASSERT(lp->sleepers == 0);
1228 /* if timeout modified, wake up any sleepers */
1229 if (lp->sleepers > 0) {
1318 if ((sdp->lockseg == dhp) || (lp->sleepers == 0)) {
1327 * it with a trashpage mapping and wake up the sleepers
1329 ASSERT((dhp == sdp->unlockseg) && (lp->sleepers != 0));
1384 lp->sleepers++;
1398 * does not let it go. Note that all sleepers on a lock
1425 lp->sleepers--;
1430 lp->sleepers--;
1482 if (lp->sleepers) {
1485 " lock has %d sleepers => remove unlock mapping\n",
1486 lp->sleepers));
1501 * Unload owner's mappings, release the lock and wakeup any sleepers
1567 if (lp->sleepers) {
1619 lp->sleepers);
1630 lp->sleepers);
1647 lp->lockptr != 0 ? LOCK(lp) : -1, lp->sleepers);