Lines Matching refs:pma
113 pthread_mutexattr_t *pma[6];
172 ret = pthread_mutex_init(&(td->mtx), pma[td->id % 6]);
252 /* Initialize the 6 pma objects */
253 pma[0] = NULL;
254 pma[1] = &ma[0];
255 ret = pthread_mutexattr_init(pma[1]);
261 pma[2] = pma[0];
262 pma[4] = pma[0];
263 pma[3] = pma[1];
264 pma[5] = pma[1];
271 pma[i + 2] = &ma[i + 1];
272 ret = pthread_mutexattr_init(pma[i + 2]);
276 ret = pthread_mutexattr_settype(pma[i + 2], types[i]);