Home
last modified time | relevance | path

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

/Zephyr-latest/tests/net/net_pkt/src/
Dmain.c1166 const int bufs_to_allocate = 3; in ZTEST() local
1167 const size_t pkt_size = CONFIG_NET_BUF_DATA_SIZE * bufs_to_allocate; in ZTEST()
1177 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count - bufs_to_allocate, in ZTEST()
1182 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count - bufs_to_allocate, in ZTEST()
1186 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count - bufs_to_allocate, in ZTEST()
1197 const int bufs_to_allocate = 3; in test_net_pkt_shallow_clone_append_buf() local
1200 zassert_true(bufs_frag + bufs_to_allocate < CONFIG_NET_BUF_DATA_SIZE, in test_net_pkt_shallow_clone_append_buf()
1203 const size_t pkt_size = CONFIG_NET_BUF_DATA_SIZE * bufs_to_allocate; in test_net_pkt_shallow_clone_append_buf()
1215 - bufs_to_allocate, "Incorrect net buf allocation"); in test_net_pkt_shallow_clone_append_buf()
1231 - bufs_to_allocate - bufs_frag, "Incorrect net buf allocation"); in test_net_pkt_shallow_clone_append_buf()
[all …]