Home
last modified time | relevance | path

Searched refs:net_buf_pool (Results 1 – 25 of 40) sorted by relevance

12

/Zephyr-latest/lib/net_buf/
Dbuf.c46 STRUCT_SECTION_START_EXTERN(net_buf_pool);
48 struct net_buf_pool *net_buf_pool_get(int id) in net_buf_pool_get()
50 struct net_buf_pool *pool; in net_buf_pool_get()
52 STRUCT_SECTION_GET(net_buf_pool, id, &pool); in net_buf_pool_get()
57 static int pool_id(struct net_buf_pool *pool) in pool_id()
59 return pool - TYPE_SECTION_START(net_buf_pool); in pool_id()
64 struct net_buf_pool *pool = net_buf_pool_get(buf->pool_id); in net_buf_id()
72 static inline struct net_buf *pool_get_uninit(struct net_buf_pool *pool, in pool_get_uninit()
109 struct net_buf_pool *buf_pool = net_buf_pool_get(buf->pool_id); in mem_pool_data_alloc()
129 struct net_buf_pool *buf_pool = net_buf_pool_get(buf->pool_id); in mem_pool_data_unref()
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Dbuf.c169 struct net_buf_pool *bt_buf_get_evt_pool(void) in bt_buf_get_evt_pool()
174 struct net_buf_pool *bt_buf_get_acl_in_pool(void) in bt_buf_get_acl_in_pool()
179 struct net_buf_pool *bt_buf_get_hci_rx_pool(void) in bt_buf_get_hci_rx_pool()
186 struct net_buf_pool *bt_buf_get_discardable_pool(void) in bt_buf_get_discardable_pool()
193 struct net_buf_pool *bt_buf_get_num_complete_pool(void) in bt_buf_get_num_complete_pool()
Dconn_internal.h537 struct net_buf *bt_conn_create_pdu_timeout_debug(struct net_buf_pool *pool,
549 struct net_buf *bt_conn_create_pdu_timeout(struct net_buf_pool *pool,
Dl2cap_internal.h204 struct net_buf *bt_l2cap_create_pdu_timeout(struct net_buf_pool *pool,
Dhci_raw.c116 struct net_buf_pool *pool; in bt_buf_get_tx()
/Zephyr-latest/subsys/net/lib/shell/
Dmem.c17 struct net_buf_pool *data_pools[CONFIG_NET_MAX_CONTEXTS];
24 struct net_buf_pool *pool) in slab_pool_found_already()
51 struct net_buf_pool *pool; in context_info()
103 struct net_buf_pool *rx_data, *tx_data; in cmd_net_mem()
Dallocs.c58 struct net_buf_pool *pool = net_buf_pool_get(buf->pool_id); in allocs_cb()
/Zephyr-latest/tests/bluetooth/host/cs/mocks/
Dnet_buf.c17 DEFINE_FAKE_VALUE_FUNC(struct net_buf *, net_buf_alloc_fixed, struct net_buf_pool *, k_timeout_t);
Dnet_buf.h21 DECLARE_FAKE_VALUE_FUNC(struct net_buf *, net_buf_alloc_fixed, struct net_buf_pool *, k_timeout_t);
/Zephyr-latest/include/zephyr/mgmt/mcumgr/transport/
Dsmp_shell.h24 struct net_buf_pool *buf_pool;
/Zephyr-latest/include/zephyr/drivers/usb/
Dudc_buf.h116 static STRUCT_SECTION_ITERABLE(net_buf_pool, pname) = \
149 static STRUCT_SECTION_ITERABLE(net_buf_pool, pname) = \
/Zephyr-latest/include/zephyr/
Dnet_buf.h1078 struct net_buf_pool { struct
1178 static STRUCT_SECTION_ITERABLE(net_buf_pool, _name) = \
1232 static STRUCT_SECTION_ITERABLE(net_buf_pool, _name) = \
1273 static STRUCT_SECTION_ITERABLE(net_buf_pool, _name) = \
1309 struct net_buf_pool *net_buf_pool_get(int id);
1345 struct net_buf * __must_check net_buf_alloc_fixed_debug(struct net_buf_pool *pool,
1352 struct net_buf * __must_check net_buf_alloc_fixed(struct net_buf_pool *pool,
1359 static inline struct net_buf * __must_check net_buf_alloc(struct net_buf_pool *pool, in net_buf_alloc()
1386 struct net_buf * __must_check net_buf_alloc_len_debug(struct net_buf_pool *pool,
1394 struct net_buf * __must_check net_buf_alloc_len(struct net_buf_pool *pool,
[all …]
/Zephyr-latest/tests/bluetooth/host/conn/mocks/
Dmock-sections.ld22 net_buf_pool : ALIGN(4) section
/Zephyr-latest/include/zephyr/bluetooth/classic/
Drfcomm.h187 struct net_buf *bt_rfcomm_create_pdu(struct net_buf_pool *pool);
Dsdp.h549 struct net_buf_pool *pool;
/Zephyr-latest/drivers/modem/
Dmodem_cmd_handler.h115 struct net_buf_pool *buf_pool;
290 struct net_buf_pool *buf_pool;
/Zephyr-latest/subsys/net/ip/
Dnet_pkt.c290 const char *net_pkt_pool2str(struct net_buf_pool *pool) in net_pkt_pool2str()
301 static inline int16_t get_frees(struct net_buf_pool *pool) in get_frees()
347 static inline const char *get_name(struct net_buf_pool *pool) in get_name()
356 static inline int16_t get_size(struct net_buf_pool *pool) in get_size()
370 static inline const char *pool2str(struct net_buf_pool *pool) in pool2str()
377 struct net_buf *net_pkt_get_reserve_data_debug(struct net_buf_pool *pool, in net_pkt_get_reserve_data_debug()
383 struct net_buf *net_pkt_get_reserve_data(struct net_buf_pool *pool, in net_pkt_get_reserve_data_debug()
505 static inline struct net_buf_pool *get_data_pool(struct net_context *context) in get_data_pool()
837 struct net_buf_pool **rx_data,
838 struct net_buf_pool **tx_data)
[all …]
Dtp.h135 struct net_buf *tp_nbuf_alloc(struct net_buf_pool *pool, size_t len,
/Zephyr-latest/samples/net/sockets/dumb_http_server/src/
Dsocket_dumb_http.c156 struct net_buf_pool *rx_data, *tx_data; in main()
/Zephyr-latest/subsys/zbus/
Dzbus.c29 static inline struct net_buf *_zbus_create_net_buf(struct net_buf_pool *pool, size_t size, in _zbus_create_net_buf()
42 static inline struct net_buf *_zbus_create_net_buf(struct net_buf_pool *pool, size_t size, in _zbus_create_net_buf()
168 struct net_buf_pool *pool = in _zbus_vded_exec()
/Zephyr-latest/subsys/bluetooth/host/classic/
Dl2cap_br_internal.h214 struct net_buf *bt_l2cap_create_pdu_timeout(struct net_buf_pool *pool,
/Zephyr-latest/include/zephyr/linker/
Dcommon-ram.ld92 ITERABLE_SECTION_RAM(net_buf_pool, Z_LINK_ITERABLE_SUBALIGN)
/Zephyr-latest/include/zephyr/zbus/
Dzbus.h63 struct net_buf_pool *msg_subscriber_pool;
769 struct net_buf_pool *pool) in zbus_chan_set_msg_sub_pool()
/Zephyr-latest/include/zephyr/net/
Dnet_pkt.h1551 struct net_buf *net_pkt_get_reserve_data_debug(struct net_buf_pool *pool,
1645 struct net_buf *net_pkt_get_reserve_data(struct net_buf_pool *pool,
1804 struct net_buf_pool **rx_data,
1805 struct net_buf_pool **tx_data);
1827 const char *net_pkt_pool2str(struct net_buf_pool *pool);
/Zephyr-latest/tests/lib/net_buf/buf/src/
Dmain.c77 struct net_buf_pool *pool = net_buf_pool_get(buf->pool_id); in buf_destroy()
86 struct net_buf_pool *pool = net_buf_pool_get(buf->pool_id); in fixed_destroy()
95 struct net_buf_pool *pool = net_buf_pool_get(buf->pool_id); in var_destroy()

12