Home
last modified time | relevance | path

Searched refs:net_buf_alloc (Results 1 – 25 of 94) sorted by relevance

1234

/Zephyr-latest/subsys/bluetooth/host/
Dbuf.c111 buf = net_buf_alloc(&evt_pool, timeout); in bt_buf_get_rx()
113 buf = net_buf_alloc(&acl_in_pool, timeout); in bt_buf_get_rx()
116 buf = net_buf_alloc(&hci_rx_pool, timeout); in bt_buf_get_rx()
151 buf = net_buf_alloc(&sync_evt_pool, timeout); in bt_buf_get_evt()
155 buf = net_buf_alloc(&discardable_pool, timeout); in bt_buf_get_evt()
Dhci_raw.c98 buf = net_buf_alloc(&hci_rx_pool, timeout); in bt_buf_get_rx()
168 buf = net_buf_alloc(pool, timeout); in bt_buf_get_tx()
/Zephyr-latest/tests/bluetooth/at/src/
Dmain.c56 buf = net_buf_alloc(&at_pool, K_FOREVER); in ZTEST()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/einprogress/src/
Dtester.c64 sdu = net_buf_alloc(&test_pool, K_NO_WAIT); in entrypoint_tester()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/userdata/src/
Dmain_l2cap_userdata.c45 return net_buf_alloc(&buf_pool, K_NO_WAIT); in alloc_buf_cb()
243 buf = net_buf_alloc(&buf_pool, K_NO_WAIT); in test_central_main()
/Zephyr-latest/tests/lib/cobs/src/
Dmain.c27 fixture->test_data = net_buf_alloc(&test_pool, K_NO_WAIT); in cobs_test_setup()
28 fixture->encoded = net_buf_alloc(&test_pool, K_NO_WAIT); in cobs_test_setup()
29 fixture->decoded = net_buf_alloc(&test_pool, K_NO_WAIT); in cobs_test_setup()
/Zephyr-latest/doc/services/net_buf/
Dindex.rst34 buf = net_buf_alloc(&pool_name, timeout);
37 buffers, rather this is done implicitly as :c:func:`net_buf_alloc` gets
126 acquired from a free buffers pool by calling :c:func:`net_buf_alloc()`,
/Zephyr-latest/subsys/bluetooth/services/ots/
Dots_l2cap.c59 buf = net_buf_alloc(&ot_chan_tx_pool, K_FOREVER); in ots_l2cap_send()
84 return net_buf_alloc(&ot_chan_rx_pool, K_FOREVER); in l2cap_alloc_buf()
/Zephyr-latest/subsys/usb/device/class/netusb/
Dfunction_rndis.c450 buf = net_buf_alloc(&rndis_tx_pool, K_NO_WAIT); in rndis_init_handle()
510 buf = net_buf_alloc(&rndis_tx_pool, K_NO_WAIT); in rndis_query_handle()
661 buf = net_buf_alloc(&rndis_tx_pool, K_NO_WAIT); in rndis_set_handle()
717 buf = net_buf_alloc(&rndis_tx_pool, K_NO_WAIT); in rndis_reset_handle()
745 buf = net_buf_alloc(&rndis_tx_pool, K_NO_WAIT); in rndis_keepalive_handle()
771 buf = net_buf_alloc(&rndis_cmd_pool, K_NO_WAIT); in queue_encapsulated_cmd()
/Zephyr-latest/samples/bluetooth/cap_initiator/src/
Dcap_initiator_tx.c71 buf = net_buf_alloc(&tx_pool, K_FOREVER); in tx_thread_func()
/Zephyr-latest/samples/bluetooth/bap_unicast_client/src/
Dstream_tx.c84 buf = net_buf_alloc(&tx_pool, K_FOREVER); in tx_thread_func()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/credits/src/
Dmain.c54 struct net_buf *buf = net_buf_alloc(&sdu_pool, K_NO_WAIT); in l2cap_chan_send()
74 return net_buf_alloc(&sdu_pool, K_NO_WAIT); in alloc_buf_cb()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/general/src/
Dmain_l2cap_ecred.c93 return net_buf_alloc(&rx_data_pool, K_FOREVER); in chan_alloc_buf_cb()
384 buf = net_buf_alloc(&tx_data_pool_0, K_NO_WAIT); in send_sdu()
386 buf = net_buf_alloc(&tx_data_pool_1, K_NO_WAIT); in send_sdu()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dbap_stream_tx.c95 buf = net_buf_alloc(&tx_pool, K_FOREVER); in tx_thread_func()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/tester/src/
Dmain.c59 buf = net_buf_alloc(&hci_cmd_pool, K_FOREVER); in bt_hci_cmd_create()
466 buf = net_buf_alloc(&acl_tx_pool, K_FOREVER); in alloc_l2cap_pdu()
559 struct net_buf *buf = net_buf_alloc(&acl_tx_pool, K_FOREVER); in send_l2cap_sdu()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/many_conns/src/
Dmain.c70 struct net_buf *buf = net_buf_alloc(&sdu_tx_pool, K_NO_WAIT); in l2cap_chan_send()
87 return net_buf_alloc(&sdu_rx_pool, K_NO_WAIT); in alloc_buf_cb()
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_bap_audio_stream.c103 buf = net_buf_alloc(&tx_pool, K_SECONDS(1)); in tx_thread_func()
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/
Dtester.c60 buf = net_buf_alloc(&hci_cmd_pool, K_FOREVER); in bt_hci_cmd_create()
494 buf = net_buf_alloc(&acl_tx_pool, K_FOREVER); in alloc_l2cap_pdu()
592 struct net_buf *buf = net_buf_alloc(&acl_tx_pool, K_FOREVER); in send_l2cap_sdu()
/Zephyr-latest/subsys/mgmt/mcumgr/transport/src/
Dsmp.c48 return net_buf_alloc(&pkt_pool, K_NO_WAIT); in smp_packet_alloc()
Dsmp_shell.c153 data->buf = net_buf_alloc(data->buf_pool, K_NO_WAIT); in smp_shell_rx_bytes()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/send_on_connect/src/
Dmain_l2cap_send_on_connect.c35 buf = net_buf_alloc(&buf_pool, K_NO_WAIT); in chan_connected_cb()
/Zephyr-latest/tests/bsim/bluetooth/host/iso/frag/src/
Dbroadcaster.c38 buf = net_buf_alloc(&tx_pool, K_NO_WAIT); in send_data()
/Zephyr-latest/samples/bluetooth/iso_central/src/
Dmain.c63 buf = net_buf_alloc(&tx_pool, K_NO_WAIT); in iso_timer_timeout()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/stress/src/
Dmain.c84 struct net_buf *buf = net_buf_alloc(&sdu_tx_pool, K_NO_WAIT); in l2cap_chan_send()
112 return net_buf_alloc(&sdu_rx_pool, K_NO_WAIT); in alloc_buf_cb()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/dut/src/
Dmain.c34 return net_buf_alloc(&sdu_rx_pool, K_NO_WAIT); in alloc_buf_cb()

1234