Home
last modified time | relevance | path

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

/Zephyr-latest/tests/lib/net_buf/buf/src/
Dmain.c835 struct net_buf *buf_user_data_small, *buf_user_data_big; in ZTEST() local
838 buf_user_data_small = net_buf_alloc_len(&bufs_pool, 1, K_NO_WAIT); in ZTEST()
839 zassert_not_null(buf_user_data_small, "Failed to get buffer"); in ZTEST()
840 src_user_data = net_buf_user_data(buf_user_data_small); in ZTEST()
849 zassert_ok(net_buf_user_data_copy(buf_user_data_big, buf_user_data_small)); in ZTEST()
853 zassert_not_ok(net_buf_user_data_copy(buf_user_data_small, buf_user_data_big), in ZTEST()
859 zassert_ok(net_buf_user_data_copy(buf_user_data_small, buf_user_data_small), in ZTEST()
863 net_buf_unref(buf_user_data_small); in ZTEST()