Searched refs:bufs_to_allocate (Results 1 – 1 of 1) sorted by relevance
1174 const int bufs_to_allocate = 3; in ZTEST() local1175 const size_t pkt_size = CONFIG_NET_BUF_DATA_SIZE * bufs_to_allocate; in ZTEST()1185 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count - bufs_to_allocate, in ZTEST()1190 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count - bufs_to_allocate, in ZTEST()1194 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count - bufs_to_allocate, in ZTEST()1205 const int bufs_to_allocate = 3; in test_net_pkt_shallow_clone_append_buf() local1208 zassert_true(bufs_frag + bufs_to_allocate < CONFIG_NET_BUF_DATA_SIZE, in test_net_pkt_shallow_clone_append_buf()1211 const size_t pkt_size = CONFIG_NET_BUF_DATA_SIZE * bufs_to_allocate; in test_net_pkt_shallow_clone_append_buf()1223 - bufs_to_allocate, "Incorrect net buf allocation"); in test_net_pkt_shallow_clone_append_buf()1239 - bufs_to_allocate - bufs_frag, "Incorrect net buf allocation"); in test_net_pkt_shallow_clone_append_buf()[all …]