Lines Matching refs:lockseg
307 devmap_cookie_t lockseg; /* lock mapping, if any */ member
672 if (sdp->lockseg == NULL) { in winlockmap_map()
673 sdp->lockseg = dhp; in winlockmap_map()
711 ASSERT((dhp == sdp->lockseg) || (dhp == sdp->unlockseg)); in winlockmap_dup()
727 if (sdp->lockseg == dhp) { in winlockmap_dup()
728 ASSERT(ndp->lockseg == NULL); in winlockmap_dup()
729 ndp->lockseg = new_dhp; in winlockmap_dup()
760 ASSERT((dhp == sdp->lockseg) || (dhp == sdp->unlockseg)); in winlockmap_unmap()
771 if (sdp->lockseg == dhp) { in winlockmap_unmap()
772 sdp->lockseg = NULL; in winlockmap_unmap()
796 ASSERT((dhp == sdp->lockseg) || (dhp == sdp->unlockseg)); in winlockmap_access()
806 if ((sdp->lockseg == NULL) || (sdp->unlockseg == NULL)) { in winlockmap_access()
1047 ASSERT(sdp->lockseg == NULL); /* Mappings torn down */ in seglock_deleteclient()
1078 if ((sdp != NULL) && (sdp->lockseg == NULL) && (sdp->unlockseg == NULL)) in garbage_collect_lock()
1318 if ((sdp->lockseg == dhp) || (lp->sleepers == 0)) { in seglock_lockfault()
1360 err = devmap_unload(owner->lockseg, lp->cookie, PAGESIZE); in seglock_lockfault()
1476 if ((err = devmap_load(sdp->lockseg, lp->cookie, PAGESIZE, in give_mapping()
1527 (void) devmap_unload(owner->lockseg, lp->cookie, PAGESIZE); in lock_giveup()
1532 if (err = devmap_unload(owner->lockseg, lp->cookie, PAGESIZE)) { in lock_giveup()
1660 (void *)sdp->lockseg, (void *)sdp->unlockseg); in seglock_dump_all()