Lines Matching refs:pmtx
530 kmutex_t *pmtx = NULL; in seg_pinactive() local
555 pmtx = &seg->s_pmtx; in seg_pinactive()
558 pmtx = &->a_pmtx; in seg_pinactive()
560 mutex_enter(pmtx); in seg_pinactive()
581 ASSERT(pmtx != NULL); in seg_pinactive()
583 mutex_exit(pmtx); in seg_pinactive()
584 pmtx = NULL; in seg_pinactive()
587 if (pcp->p_active == 0 && (pmtx != NULL || in seg_pinactive()
599 if (pmtx != NULL) { in seg_pinactive()
621 if (pmtx != NULL) { in seg_pinactive()
622 mutex_exit(pmtx); in seg_pinactive()
649 if (pmtx != NULL) { in seg_pinactive()
650 mutex_exit(pmtx); in seg_pinactive()
671 if (pmtx != NULL) { in seg_pinactive()
690 pmtx = &seg->s_pmtx; in seg_pinactive()
693 pmtx = &->a_pmtx; in seg_pinactive()
695 if (!mutex_tryenter(pmtx)) { in seg_pinactive()
697 mutex_enter(pmtx); in seg_pinactive()
711 if (pmtx != NULL) { in seg_pinactive()
712 mutex_exit(pmtx); in seg_pinactive()
808 kmutex_t *pmtx; in seg_pinsert() local
866 pmtx = &seg->s_pmtx; in seg_pinsert()
870 pmtx = &->a_pmtx; in seg_pinsert()
873 mutex_enter(pmtx); in seg_pinsert()
879 mutex_exit(pmtx); in seg_pinsert()
905 mutex_exit(pmtx); in seg_pinsert()
1063 kmutex_t *pmtx; in seg_ppurge_async() local
1080 pmtx = &((amp_t *)htag0)->a_pmtx; in seg_ppurge_async()
1083 pmtx = &((seg_t *)htag0)->s_pmtx; in seg_ppurge_async()
1085 if (!mutex_tryenter(pmtx)) { in seg_ppurge_async()
1096 mutex_exit(pmtx); in seg_ppurge_async()
1310 kmutex_t *pmtx; in seg_ppurge() local
1315 pmtx = &seg->s_pmtx; in seg_ppurge()
1318 pmtx = &->a_pmtx; in seg_ppurge()
1320 mutex_enter(pmtx); in seg_ppurge()
1343 mutex_exit(pmtx); in seg_ppurge()