Home
last modified time | relevance | path

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

/Zephyr-latest/tests/lib/mpsc_pbuf/src/
Dmain.c950 struct test_data_var *tdv2; in ZTEST() local
952 tdv2 = (struct test_data_var *)mpsc_pbuf_alloc(&buffer, in ZTEST()
955 tdv2->hdr.len = wlen; in ZTEST()
956 tdv2->hdr.data = id++; in ZTEST()
957 mpsc_pbuf_commit(&buffer, (union mpsc_pbuf_generic *)tdv2); in ZTEST()
968 struct test_data_var *tdv2; in ZTEST() local
970 tdv2 = (struct test_data_var *)mpsc_pbuf_claim(&buffer); in ZTEST()
971 if (!tdv2) { in ZTEST()
975 validate_packet(tdv2); in ZTEST()
976 mpsc_pbuf_free(&buffer, (union mpsc_pbuf_generic *)tdv2); in ZTEST()