Lines Matching refs:ret
55 int ret;
74 ret = mtx_init(&queue->submit.mutex, mtx_plain);
75 if (ret == thrd_error) {
80 ret = cnd_init(&queue->submit.push);
81 if (ret == thrd_error) {
86 ret = cnd_init(&queue->submit.pop);
87 if (ret == thrd_error) {
277 int ret = cnd_wait(&queue->submit.pop, &queue->submit.mutex);
278 if (ret == thrd_error) {
466 int ret = cnd_wait(&queue->submit.push, &queue->submit.mutex);
467 if (ret == thrd_error) {
521 int ret;
527 ret = thrd_create(&queue->submit.thread,
530 if (ret == thrd_error)