Lines Matching refs:m2
325 struct pthread_mutex *m2;
327 m2 = TAILQ_LAST(&curthread->mq[mutex_qidx(m)], mutex_queue);
328 if (m2 != NULL)
329 m->m_lock.m_ceilings[1] = m2->m_lock.m_ceilings[0];
1034 struct pthread_mutex *m, *m1, *m2;
1059 m2 = TAILQ_NEXT(m, m_qe);
1061 (m2 != NULL && m2->m_lock.m_ceilings[0] < (u_int)ceiling)) {
1068 TAILQ_FOREACH(m2, q, m_qe) {
1069 if (m2->m_lock.m_ceilings[0] > (u_int)ceiling) {
1070 TAILQ_INSERT_BEFORE(m2, m, m_qe);
1072 while (m2 != NULL &&
1073 is_pshared_mutex(m2)) {
1074 m2 = TAILQ_PREV(m2,
1077 if (m2 == NULL) {
1081 TAILQ_INSERT_BEFORE(m2,