_mutex_owned
if ((error = _mutex_owned(curthread, mp)) != 0)
int _mutex_owned(struct pthread *, const struct pthread_mutex *) __hidden;