Lines Matching refs:ma
94 check_type (const char *mas, pthread_mutexattr_t *ma) in check_type() argument
103 if (ma != NULL) in check_type()
105 e = pthread_mutexattr_gettype (ma, &ma_type); in check_type()
122 e = pthread_mutex_init (m, ma); in check_type()
142 if (pthread_mutex_init (m, ma) != 0) in check_type()
280 if (pthread_mutex_init (m, ma) != 0) in check_type()
379 pthread_mutexattr_t ma; in do_test() local
380 if (pthread_mutexattr_init (&ma) != 0) in do_test()
385 if (pthread_mutexattr_settype (&ma, PTHREAD_MUTEX_RECURSIVE) != 0) in do_test()
391 if (pthread_mutexattr_setprotocol (&ma, PTHREAD_PRIO_INHERIT)) in do_test()
398 res |= check_type ("recursive", &ma); in do_test()
399 if (pthread_mutexattr_destroy (&ma) != 0) in do_test()
405 if (pthread_mutexattr_init (&ma) != 0) in do_test()
410 if (pthread_mutexattr_settype (&ma, PTHREAD_MUTEX_ERRORCHECK) != 0) in do_test()
416 if (pthread_mutexattr_setprotocol (&ma, PTHREAD_PRIO_INHERIT)) in do_test()
423 res |= check_type ("error-checking", &ma); in do_test()
424 if (pthread_mutexattr_destroy (&ma) != 0) in do_test()