Searched refs:buf_count (Results 1 – 8 of 8) sorted by relevance
/Zephyr-Core-3.7.0/lib/os/ |
D | printk.c | 72 unsigned int buf_count; member 78 k_str_out(ctx->buf, ctx->buf_count); in buf_flush() 79 ctx->buf_count = 0U; in buf_flush() 86 ctx->buf[ctx->buf_count] = c; in buf_char_out() 87 ++ctx->buf_count; in buf_char_out() 88 if (ctx->buf_count == CONFIG_PRINTK_BUFFER_SIZE) { in buf_char_out() 123 if (ctx.buf_count) { in vprintk()
|
/Zephyr-Core-3.7.0/subsys/net/lib/shell/ |
D | mem.c | 82 PR("%p\t%d\t%ld\tEDATA (%s)\n", pool, pool->buf_count, in context_info() 85 PR("%p\t%d\tEDATA\n", pool, pool->buf_count); in context_info() 125 PR("%p\t%d\t%ld\tRX DATA (%s)\n", rx_data, rx_data->buf_count, in cmd_net_mem() 128 PR("%p\t%d\t%ld\tTX DATA (%s)\n", tx_data, tx_data->buf_count, in cmd_net_mem() 135 PR("%p\t%d\tRX DATA\n", rx_data, rx_data->buf_count); in cmd_net_mem() 136 PR("%p\t%d\tTX DATA\n", tx_data, tx_data->buf_count); in cmd_net_mem()
|
/Zephyr-Core-3.7.0/tests/net/buf/src/ |
D | main.c | 108 struct net_buf *bufs[bufs_pool.buf_count]; in ZTEST() 112 for (i = 0; i < bufs_pool.buf_count; i++) { in ZTEST() 136 for (i = 0; i < bufs_pool.buf_count - 1; i++) { in ZTEST() 148 zassert_equal(destroy_called, bufs_pool.buf_count, in ZTEST() 167 zassert_equal(destroy_called, bufs_pool.buf_count, in test_3_thread() 187 for (i = 0; i < bufs_pool.buf_count - 1; i++) { in ZTEST() 212 struct net_buf *frags[bufs_pool.buf_count - 1]; in ZTEST() 226 for (i = 0; i < bufs_pool.buf_count - 2; i++) { in ZTEST() 245 zassert_equal(i, bufs_pool.buf_count - 1, "Incorrect fragment count"); in ZTEST() 270 zassert_equal(1 + i + removed, bufs_pool.buf_count, in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/tests/net/net_pkt/src/ |
D | main.c | 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() 1190 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count, in ZTEST() 1214 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count in test_net_pkt_shallow_clone_append_buf() 1230 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count in test_net_pkt_shallow_clone_append_buf() 1244 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count in test_net_pkt_shallow_clone_append_buf() 1253 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count, in test_net_pkt_shallow_clone_append_buf() 1259 tx_data->buf_count - bufs_frag, "Leak detected"); in test_net_pkt_shallow_clone_append_buf() 1267 zassert_equal(atomic_get(&tx_data->avail_count), tx_data->buf_count, in test_net_pkt_shallow_clone_append_buf()
|
/Zephyr-Core-3.7.0/subsys/net/ |
D | buf.c | 77 size_t byte_offset = (pool->buf_count - uninit_count) * struct_size; in pool_get_uninit() 257 if (pool->uninit_count < pool->buf_count) { in net_buf_alloc_len_debug() 486 __ASSERT_NO_MSG(atomic_get(&pool->avail_count) <= pool->buf_count); in net_buf_unref_debug()
|
/Zephyr-Core-3.7.0/doc/connectivity/networking/api/ |
D | net_buf.rst | 25 NET_BUF_POOL_DEFINE(pool_name, buf_count, buf_size, user_data_size, NULL);
|
/Zephyr-Core-3.7.0/include/zephyr/net/ |
D | buf.h | 1086 const uint16_t buf_count; member 1124 .buf_count = _count, \
|
/Zephyr-Core-3.7.0/doc/services/device_mgmt/smp_groups/ |
D | smp_group_0.rst | 680 (str)"buf_count" : (uint) 714 | "buf_count" | Number of SMP buffers supported. |
|