Searched refs:avail_count (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-3.6.0/subsys/net/lib/shell/ |
D | mem.c | 83 atomic_get(&pool->avail_count), pool->name); in context_info() 125 atomic_get(&rx_data->avail_count), rx_data->name); in cmd_net_mem() 128 atomic_get(&tx_data->avail_count), tx_data->name); in cmd_net_mem()
|
/Zephyr-Core-3.6.0/samples/net/sockets/dumb_http_server/src/ |
D | socket_dumb_http.c | 160 atomic_get(&rx_data->avail_count), atomic_get(&tx_data->avail_count)); in main()
|
/Zephyr-Core-3.6.0/tests/net/net_pkt/src/ |
D | main.c | 1167 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count - bufs_to_allocate, in ZTEST() 1172 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count - bufs_to_allocate, in ZTEST() 1176 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count - bufs_to_allocate, in ZTEST() 1180 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count, in ZTEST() 1204 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count in test_net_pkt_shallow_clone_append_buf() 1220 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count in test_net_pkt_shallow_clone_append_buf() 1234 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count in test_net_pkt_shallow_clone_append_buf() 1243 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count, in test_net_pkt_shallow_clone_append_buf() 1248 zassert_equal(atomic_get(&tx_data->avail_count), in test_net_pkt_shallow_clone_append_buf() 1257 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count, in test_net_pkt_shallow_clone_append_buf()
|
/Zephyr-Core-3.6.0/subsys/net/ |
D | buf.c | 338 atomic_dec(&pool->avail_count); in net_buf_alloc_len_debug() 339 __ASSERT_NO_MSG(atomic_get(&pool->avail_count) >= 0); in net_buf_alloc_len_debug() 479 atomic_inc(&pool->avail_count); in net_buf_unref_debug() 480 __ASSERT_NO_MSG(atomic_get(&pool->avail_count) <= pool->buf_count); in net_buf_unref_debug()
|
/Zephyr-Core-3.6.0/tests/bsim/bluetooth/host/l2cap/stress/src/ |
D | main.c | 120 if ((NUM_SEGMENTS - segment_pool.avail_count) > max_seg_allocated) { in alloc_seg_cb()
|
/Zephyr-Core-3.6.0/include/zephyr/net/ |
D | buf.h | 994 atomic_t avail_count; member 1015 IF_ENABLED(CONFIG_NET_BUF_POOL_USAGE, (.avail_count = ATOMIC_INIT(_count),)) \
|
/Zephyr-Core-3.6.0/subsys/net/ip/ |
D | net_pkt.c | 293 return atomic_get(&pool->avail_count); in get_frees()
|