Lines Matching refs:mattr

208 _pthread_mutexattr_getprotocol(const pthread_mutexattr_t * __restrict mattr,  in _pthread_mutexattr_getprotocol()  argument
213 if (mattr == NULL || *mattr == NULL) in _pthread_mutexattr_getprotocol()
216 *protocol = (*mattr)->m_protocol; in _pthread_mutexattr_getprotocol()
222 _pthread_mutexattr_setprotocol(pthread_mutexattr_t *mattr, int protocol) in _pthread_mutexattr_setprotocol() argument
226 if (mattr == NULL || *mattr == NULL || in _pthread_mutexattr_setprotocol()
230 (*mattr)->m_protocol = protocol; in _pthread_mutexattr_setprotocol()
231 (*mattr)->m_ceiling = THR_MAX_RR_PRIORITY; in _pthread_mutexattr_setprotocol()
237 _pthread_mutexattr_getprioceiling(const pthread_mutexattr_t * __restrict mattr, in _pthread_mutexattr_getprioceiling() argument
242 if (mattr == NULL || *mattr == NULL) in _pthread_mutexattr_getprioceiling()
244 else if ((*mattr)->m_protocol != PTHREAD_PRIO_PROTECT) in _pthread_mutexattr_getprioceiling()
247 *prioceiling = (*mattr)->m_ceiling; in _pthread_mutexattr_getprioceiling()
253 _pthread_mutexattr_setprioceiling(pthread_mutexattr_t *mattr, int prioceiling) in _pthread_mutexattr_setprioceiling() argument
257 if (mattr == NULL || *mattr == NULL) in _pthread_mutexattr_setprioceiling()
259 else if ((*mattr)->m_protocol != PTHREAD_PRIO_PROTECT) in _pthread_mutexattr_setprioceiling()
262 (*mattr)->m_ceiling = prioceiling; in _pthread_mutexattr_setprioceiling()
268 _thr_mutexattr_getrobust(pthread_mutexattr_t *mattr, int *robust) in _thr_mutexattr_getrobust() argument
272 if (mattr == NULL || *mattr == NULL) { in _thr_mutexattr_getrobust()
276 *robust = (*mattr)->m_robust; in _thr_mutexattr_getrobust()
282 _thr_mutexattr_setrobust(pthread_mutexattr_t *mattr, int robust) in _thr_mutexattr_setrobust() argument
286 if (mattr == NULL || *mattr == NULL) { in _thr_mutexattr_setrobust()
293 (*mattr)->m_robust = robust; in _thr_mutexattr_setrobust()