Searched refs:user_data_size (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/lib/net_buf/ |
D | buf.c | 65 size_t struct_size = ROUND_UP(sizeof(struct net_buf) + pool->user_data_size, in net_buf_id() 75 size_t struct_size = ROUND_UP(sizeof(struct net_buf) + pool->user_data_size, in pool_get_uninit() 83 buf->user_data_size = pool->user_data_size; in pool_get_uninit() 341 memset(buf->user_data, 0, buf->user_data_size); in net_buf_alloc_len_debug() 550 __ASSERT(buf->user_data_size == clone->user_data_size, "Unexpected user data size"); in net_buf_clone() 552 memcpy(clone->user_data, buf->user_data, clone->user_data_size); in net_buf_clone() 566 if (dst->user_data_size < src->user_data_size) { in net_buf_user_data_copy() 570 memcpy(dst->user_data, src->user_data, src->user_data_size); in net_buf_user_data_copy()
|
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/userdata/src/ |
D | main_l2cap_userdata.c | 211 for (int i = 0; i < buf->user_data_size; i++) { in print_user_data() 251 (void)memset(buf->user_data, FILL, buf->user_data_size); in test_central_main()
|
/Zephyr-latest/tests/lib/net_buf/buf/src/ |
D | main.c | 803 zassert_equal(USER_DATA_FIXED, fixed_pool.user_data_size, in ZTEST() 805 zassert_equal(USER_DATA_FIXED, buf->user_data_size, in ZTEST() 814 zassert_equal(USER_DATA_HEAP, bufs_pool.user_data_size, in ZTEST() 816 zassert_equal(USER_DATA_HEAP, buf->user_data_size, in ZTEST() 825 zassert_equal(USER_DATA_VAR, var_pool.user_data_size, in ZTEST() 827 zassert_equal(USER_DATA_VAR, buf->user_data_size, in ZTEST()
|
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/ |
D | smp.c | 85 req_nb->user_data_size); in smp_alloc_rsp()
|
/Zephyr-latest/include/zephyr/ |
D | net_buf.h | 1023 uint8_t user_data_size; member 1092 uint8_t user_data_size; member 1126 .user_data_size = _ud_size, \
|
/Zephyr-latest/doc/services/net_buf/ |
D | index.rst | 25 NET_BUF_POOL_DEFINE(pool_name, buf_count, buf_size, user_data_size, NULL);
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | l2cap_br.c | 315 if (buf->user_data_size < sizeof(struct closure)) { in bt_l2cap_br_send_cb() 317 buf->user_data_size, in bt_l2cap_br_send_cb()
|
/Zephyr-latest/subsys/bluetooth/host/ |
D | l2cap.c | 737 if (pdu->user_data_size < sizeof(struct closure)) { in bt_l2cap_send_pdu() 739 pdu->user_data_size, in bt_l2cap_send_pdu()
|
D | iso.c | 807 if (buf->user_data_size < CONFIG_BT_CONN_TX_USER_DATA_SIZE) { in conn_iso_send() 808 LOG_ERR("not enough room in user_data %d < %d pool %u", buf->user_data_size, in conn_iso_send()
|
D | conn.c | 975 memset(buf->user_data, 0, buf->user_data_size); in acl_get_and_clear_cb()
|