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