Lines Matching refs:qd
29 struct qdata *qd; in child_thread_get() local
34 qd = k_queue_peek_head(q); in child_thread_get()
35 zassert_equal(qd->data, 0); in child_thread_get()
36 qd = k_queue_peek_tail(q); in child_thread_get()
37 zassert_equal(qd->data, (LIST_LEN * 2) - 1, in child_thread_get()
38 "got %d expected %d", qd->data, (LIST_LEN * 2) - 1); in child_thread_get()
41 qd = k_queue_get(q, K_FOREVER); in child_thread_get()
43 zassert_equal(qd->data, i); in child_thread_get()
44 if (qd->allocated) { in child_thread_get()
46 zassert_is_null(qd->snode.next, NULL); in child_thread_get()
54 qd = k_queue_get(q, K_FOREVER); in child_thread_get()
55 zassert_is_null(qd, NULL); in child_thread_get()
147 struct qdata *qd; in ZTEST_USER() local
149 qd = k_queue_get(q, K_NO_WAIT); in ZTEST_USER()
150 zassert_true(qd != NULL); in ZTEST_USER()
151 zassert_equal(qd->data, i); in ZTEST_USER()
181 struct qdata *qd; in ZTEST_USER() local
183 qd = k_queue_get(q, K_NO_WAIT); in ZTEST_USER()
184 zassert_true(qd != NULL); in ZTEST_USER()
185 zassert_equal(qd->data, i); in ZTEST_USER()