Lines Matching defs:unlockseg
308 devmap_cookie_t unlockseg; /* unlock mapping, if any */
383 * lockseg and unlockseg have been unmapped and the pointers stored in
674 } else if (sdp->unlockseg == NULL) {
675 sdp->unlockseg = dhp;
711 ASSERT((dhp == sdp->lockseg) || (dhp == sdp->unlockseg));
731 ASSERT(sdp->unlockseg == dhp);
732 ASSERT(ndp->unlockseg == NULL);
733 ndp->unlockseg = new_dhp;
760 ASSERT((dhp == sdp->lockseg) || (dhp == sdp->unlockseg));
774 ASSERT(sdp->unlockseg == dhp);
775 sdp->unlockseg = NULL;
796 ASSERT((dhp == sdp->lockseg) || (dhp == sdp->unlockseg));
806 if ((sdp->lockseg == NULL) || (sdp->unlockseg == NULL)) {
1048 ASSERT(sdp->unlockseg == NULL);
1078 if ((sdp != NULL) && (sdp->lockseg == NULL) && (sdp->unlockseg == NULL))
1329 ASSERT((dhp == sdp->unlockseg) && (lp->sleepers != 0));
1344 if ((sdp->unlockseg == dhp) && (sdp->flag & TRASHPAGE)) {
1346 return (devmap_load(sdp->unlockseg, lp->cookie, PAGESIZE,
1361 err |= devmap_unload(owner->unlockseg, lp->cookie, PAGESIZE);
1460 if ((err = devmap_umem_remap(sdp->unlockseg, winlock_dip,
1487 err = devmap_unload(sdp->unlockseg, lp->cookie, PAGESIZE);
1494 err = devmap_load(sdp->unlockseg, lp->cookie, PAGESIZE,
1528 (void) devmap_unload(owner->unlockseg, lp->cookie, PAGESIZE);
1540 * the right locks), so no need to devmap_unload on unlockseg
1542 if ((err = devmap_umem_remap(owner->unlockseg, winlock_dip,
1557 (void) devmap_load(owner->unlockseg, lp->cookie,
1657 "process tag=%p, lockseg=%p, unlockseg=%p\n",
1660 (void *)sdp->lockseg, (void *)sdp->unlockseg);