Home
last modified time | relevance | path

Searched refs:net_buf_simple_tailroom (Results 1 – 25 of 29) sorted by relevance

12

/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/
Dop_agg.c72 if (net_buf_simple_tailroom(&srcs) < 2) { in bt_mesh_op_agg_send()
89 if (net_buf_simple_tailroom(agg_ctx.sdu) < (msg->len + 2)) { in bt_mesh_op_agg_encode_msg()
95 if (net_buf_simple_tailroom(agg_ctx.sdu) < (msg->len + 1)) { in bt_mesh_op_agg_encode_msg()
Ddfu_metadata.c54 if (net_buf_simple_tailroom(buf) < md_len_min) { in bt_mesh_dfu_metadata_encode()
Dop_agg_cli.c195 return net_buf_simple_tailroom(agg->sdu); in bt_mesh_op_agg_cli_seq_tailroom()
Dhealth_srv.c49 uint8_t fault_count = net_buf_simple_tailroom(msg) - 4; in health_get_registered()
83 fault_count = net_buf_simple_tailroom(msg); in health_get_current()
Dlarge_comp_data_cli.c61 MIN(net_buf_simple_tailroom(rsp->data), buf->len)); in data_status()
Dproxy_msg.c80 if (net_buf_simple_tailroom(&role->buf) < len - 1) { in bt_mesh_proxy_msg_recv()
Daccess.c262 if (net_buf_simple_tailroom(buf) < (model_size + BT_MESH_MIC_SHORT)) { in metadata_add_model()
304 if (net_buf_simple_tailroom(buf) < (((offset == 0) ? 2 : (offset == 1) ? 1 : 0) in bt_mesh_metadata_get_page_0()
383 if (net_buf_simple_tailroom(buf) < (elem_size + BT_MESH_MIC_SHORT)) { in comp_add_elem()
1932 if (len > net_buf_simple_tailroom(buf)) { in read_comp_cb()
2062 net_buf_simple_add_mem(buf, &stored_buf.data, MIN(net_buf_simple_tailroom(buf), 2)); in bt_mesh_models_metadata_read()
2069 MIN(net_buf_simple_tailroom(buf), stored_buf.len - offset)); in bt_mesh_models_metadata_read()
Dnet.c451 if (ctl && net_buf_simple_tailroom(buf) < 8) { in net_header_encode()
454 } else if (net_buf_simple_tailroom(buf) < 4) { in net_header_encode()
Ddfu_srv.c161 if (net_buf_simple_tailroom(&rsp) + BT_MESH_MIC_SHORT < entry_len) { in handle_info_get()
Dtransport.c678 if (net_buf_simple_tailroom(msg) < BT_MESH_MIC_SHORT) { in bt_mesh_trans_send()
713 if (!tx->ctx->send_rel || net_buf_simple_tailroom(msg) < 8) { in bt_mesh_trans_send()
Dtransport_legacy.c639 if (net_buf_simple_tailroom(msg) < BT_MESH_MIC_SHORT) { in bt_mesh_trans_send()
674 if (!tx->ctx->send_rel || net_buf_simple_tailroom(msg) < 8) { in bt_mesh_trans_send()
Ddfd_srv.c182 for (i = 0; i < cnt && net_buf_simple_tailroom(&rsp) >= 5 + BT_MESH_MIC_SHORT; i++) { in handle_receivers_get()
Drpr_srv.c1202 net_buf_simple_tailroom(srv.scan.adv_data)) { in adv_handle_ext_scan()
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/host/att/read_fill_buf/testlib/
Datt_read.c48 MIN(read_len, net_buf_simple_tailroom(ctx->result_data)); in att_read_cb()
/Zephyr-Core-3.4.0/subsys/bluetooth/audio/
Dpacs.c88 if (net_buf_simple_tailroom(buf) < ltv_len) { in pac_data_add()
120 if (net_buf_simple_tailroom(buf) < sizeof(*pac_codec)) { in build_pac_records()
129 if (net_buf_simple_tailroom(buf) < sizeof(*cc)) { in build_pac_records()
142 if (net_buf_simple_tailroom(buf) < sizeof(*meta)) { in build_pac_records()
Dmcc.c3107 if (len > net_buf_simple_tailroom(&otc_obj_buf)) { in on_icon_content()
3113 MIN(net_buf_simple_tailroom(&otc_obj_buf), len)); in on_icon_content()
3190 if (len > net_buf_simple_tailroom(&otc_obj_buf)) { in on_track_segments_content()
3196 MIN(net_buf_simple_tailroom(&otc_obj_buf), len)); in on_track_segments_content()
3236 if (len > net_buf_simple_tailroom(&otc_obj_buf)) { in on_current_track_content()
3242 MIN(net_buf_simple_tailroom(&otc_obj_buf), len)); in on_current_track_content()
3268 if (len > net_buf_simple_tailroom(&otc_obj_buf)) { in on_next_track_content()
3274 MIN(net_buf_simple_tailroom(&otc_obj_buf), len)); in on_next_track_content()
3327 if (len > net_buf_simple_tailroom(&otc_obj_buf)) { in on_parent_group_content()
3333 MIN(net_buf_simple_tailroom(&otc_obj_buf), len)); in on_parent_group_content()
[all …]
Dtbs_client.c697 (net_buf_simple_tailroom(&inst->net_buf) < length)) { in handle_string_long_read()
702 length = net_buf_simple_tailroom(&inst->net_buf); in handle_string_long_read()
735 if (net_buf_simple_tailroom(&inst->net_buf) < 1) { in handle_string_long_read()
1001 (net_buf_simple_tailroom(&inst->net_buf) < length)) { in read_current_calls_cb()
1159 (net_buf_simple_tailroom(&inst->net_buf) < length)) { in read_call_state_cb()
Dbap_unicast_client.c1430 if (net_buf_simple_tailroom(buf) < length) { in unicast_client_ase_ntf_read_func()
3188 if (net_buf_simple_tailroom(buf) < length) { in unicast_client_ase_read_func()
3800 if (net_buf_simple_tailroom(buf) < length) { in unicast_client_read_func()
/Zephyr-Core-3.4.0/subsys/bluetooth/mesh/shell/
Ddfu.c176 if (net_buf_simple_tailroom(&dfu_comp_data) < 10) { in cmd_dfu_comp_add()
178 net_buf_simple_tailroom(&dfu_comp_data)); in cmd_dfu_comp_add()
217 if (net_buf_simple_tailroom(&dfu_comp_data) < 4 + sig_model_count * 2 + in cmd_dfu_comp_elem_add()
220 net_buf_simple_tailroom(&dfu_comp_data)); in cmd_dfu_comp_elem_add()
Dshell.c1004 msg.data, net_buf_simple_tailroom(&msg) - 4); in cmd_net_send()
/Zephyr-Core-3.4.0/subsys/net/
Dbuf_simple.c62 __ASSERT_NO_MSG(net_buf_simple_tailroom(buf) >= len); in net_buf_simple_add()
540 size_t net_buf_simple_tailroom(struct net_buf_simple *buf) in net_buf_simple_tailroom() function
/Zephyr-Core-3.4.0/subsys/bluetooth/services/ots/
Dots_dir_list.c329 while (net_buf_simple_tailroom(&dir_list->net_buf) >= rec_len) { in bt_ots_dir_list_content_get()
/Zephyr-Core-3.4.0/tests/bsim/bluetooth/mesh/src/
Dmesh_test.c416 if (net_buf_simple_tailroom(&buf) < mic_len) { in bt_mesh_test_send_async()
/Zephyr-Core-3.4.0/include/zephyr/net/
Dbuf.h830 size_t net_buf_simple_tailroom(struct net_buf_simple *buf);
2257 return net_buf_simple_tailroom(&buf->b); in net_buf_tailroom()
/Zephyr-Core-3.4.0/subsys/bluetooth/host/
Dscan.c837 if (net_buf_simple_tailroom(&per_adv_sync->reassembly) < evt->length) { in bt_hci_le_per_adv_report_common()

12