Lines Matching defs:lockseg
307 devmap_cookie_t lockseg; /* lock mapping, if any */
383 * lockseg and unlockseg have been unmapped and the pointers stored in
672 if (sdp->lockseg == NULL) {
673 sdp->lockseg = dhp;
711 ASSERT((dhp == sdp->lockseg) || (dhp == sdp->unlockseg));
727 if (sdp->lockseg == dhp) {
728 ASSERT(ndp->lockseg == NULL);
729 ndp->lockseg = new_dhp;
760 ASSERT((dhp == sdp->lockseg) || (dhp == sdp->unlockseg));
771 if (sdp->lockseg == dhp) {
772 sdp->lockseg = NULL;
796 ASSERT((dhp == sdp->lockseg) || (dhp == sdp->unlockseg));
806 if ((sdp->lockseg == NULL) || (sdp->unlockseg == NULL)) {
1047 ASSERT(sdp->lockseg == NULL); /* Mappings torn down */
1078 if ((sdp != NULL) && (sdp->lockseg == NULL) && (sdp->unlockseg == NULL))
1318 if ((sdp->lockseg == dhp) || (lp->sleepers == 0)) {
1360 err = devmap_unload(owner->lockseg, lp->cookie, PAGESIZE);
1476 if ((err = devmap_load(sdp->lockseg, lp->cookie, PAGESIZE,
1527 (void) devmap_unload(owner->lockseg, lp->cookie, PAGESIZE);
1532 if (err = devmap_unload(owner->lockseg, lp->cookie, PAGESIZE)) {
1533 /* error unloading lockseg mapping. abort giveup */
1657 "process tag=%p, lockseg=%p, unlockseg=%p\n",
1660 (void *)sdp->lockseg, (void *)sdp->unlockseg);