Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/ethernet/eth_ivshmem_queue/src/
Dmain.c37 static inline int queue_tx(struct eth_ivshmem_queue *q, const void *data, size_t len) in queue_tx() function
74 zassert_ok(queue_tx(&q1, &x, sizeof(x))); in ZTEST()
88 zassert_ok(queue_tx(&q1, &q1_tx_data, sizeof(q1_tx_data))); in ZTEST()
93 zassert_ok(queue_tx(&q2, &q2_tx_data, sizeof(q2_tx_data))); in ZTEST()
131 zassert_ok(queue_tx(&q1, &i, sizeof(i))); in ZTEST()
137 zassert_equal(queue_tx(&q1, &x, sizeof(x)), -ENOBUFS); in ZTEST()
149 zassert_ok(queue_tx(&q1, &i, sizeof(i))); in ZTEST()
153 zassert_equal(queue_tx(&q1, &x, sizeof(x)), -ENOBUFS); in ZTEST()
162 zassert_ok(queue_tx(&q1, large_message, sizeof(large_message))); in ZTEST()
166 zassert_equal(queue_tx(&q1, large_message, sizeof(large_message)), -ENOBUFS); in ZTEST()
[all …]