Lines Matching refs:mutex_attr
276 const struct pthread_mutex_attr *mutex_attr, in mutex_init() argument
283 if (mutex_attr == NULL) { in mutex_init()
286 attr = mutex_attr; in mutex_init()
333 pthread_mutex_attr *mutex_attr) in shared_mutex_init() argument
359 if (mutex_attr == NULL) in shared_mutex_init()
360 mutex_attr = &foobar_mutex_attr; in shared_mutex_init()
361 mutex_init_body(pmtx, mutex_attr); in shared_mutex_init()
379 const pthread_mutexattr_t * __restrict mutex_attr) in __Tthr_mutex_init() argument
386 if (mutex_attr != NULL) { in __Tthr_mutex_init()
387 ret = mutex_check_attr(*mutex_attr); in __Tthr_mutex_init()
391 if (mutex_attr == NULL || in __Tthr_mutex_init()
392 (*mutex_attr)->m_pshared == PTHREAD_PROCESS_PRIVATE) { in __Tthr_mutex_init()
394 return (mutex_init(mutex, mutex_attr ? *mutex_attr : NULL, in __Tthr_mutex_init()
401 shared_mutex_init(pmtx, *mutex_attr); in __Tthr_mutex_init()