Home
last modified time | relevance | path

Searched refs:CHECK_ERR (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/perf/util/
H A Dmutex.c18 #define CHECK_ERR(err) check_err(__func__, err) macro
24 CHECK_ERR(pthread_mutexattr_init(&attr)); in __mutex_init()
34 CHECK_ERR(pthread_mutexattr_destroy(&attr)); in __mutex_init()
49 CHECK_ERR(pthread_mutex_destroy(&mtx->lock)); in mutex_destroy()
55 CHECK_ERR(pthread_mutex_lock(&mtx->lock)); in mutex_lock()
61 CHECK_ERR(pthread_mutex_unlock(&mtx->lock)); in mutex_unlock()
75 CHECK_ERR(ret); in mutex_trylock()
83 CHECK_ERR(pthread_condattr_init(&attr)); in __cond_init()
88 CHECK_ERR(pthread_condattr_destroy(&attr)); in __cond_init()
103 CHECK_ERR(pthread_cond_destroy(&cnd->cond)); in cond_destroy()
[all …]