Home
last modified time | relevance | path

Searched refs:pool_id (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/subsys/portability/cmsis_rtos_v1/
Dcmsis_mempool.c28 void *osPoolAlloc(osPoolId pool_id) in osPoolAlloc() argument
30 osPoolDef_t *osPool = (osPoolDef_t *)pool_id; in osPoolAlloc()
44 void *osPoolCAlloc(osPoolId pool_id) in osPoolCAlloc() argument
46 osPoolDef_t *osPool = (osPoolDef_t *)pool_id; in osPoolCAlloc()
61 osStatus osPoolFree(osPoolId pool_id, void *block) in osPoolFree() argument
63 osPoolDef_t *osPool = (osPoolDef_t *)pool_id; in osPoolFree()
/Zephyr-latest/tests/benchmarks/thread_metric/src/
Dtm_porting_layer_zephyr.c191 int tm_memory_pool_create(int pool_id) in tm_memory_pool_create() argument
195 status = k_mem_slab_init(&test_slab[pool_id], &test_slab_buffer[pool_id][0], 128, 8); in tm_memory_pool_create()
205 int tm_memory_pool_allocate(int pool_id, unsigned char **memory_ptr) in tm_memory_pool_allocate() argument
209 status = k_mem_slab_alloc(&test_slab[pool_id], (void **)memory_ptr, K_NO_WAIT); in tm_memory_pool_allocate()
219 int tm_memory_pool_deallocate(int pool_id, unsigned char *memory_ptr) in tm_memory_pool_deallocate() argument
221 k_mem_slab_free(&test_slab[pool_id], (void *)memory_ptr); in tm_memory_pool_deallocate()
Dtm_api.h91 int tm_memory_pool_create(int pool_id);
92 int tm_memory_pool_allocate(int pool_id, unsigned char **memory_ptr);
93 int tm_memory_pool_deallocate(int pool_id, unsigned char *memory_ptr);
/Zephyr-latest/lib/net_buf/
Dbuf.c57 static int pool_id(struct net_buf_pool *pool) in pool_id() function
64 struct net_buf_pool *pool = net_buf_pool_get(buf->pool_id); in net_buf_id()
82 buf->pool_id = pool_id(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()
151 struct net_buf_pool *pool = net_buf_pool_get(buf->pool_id); in fixed_data_alloc()
213 struct net_buf_pool *pool = net_buf_pool_get(buf->pool_id); in data_alloc()
220 struct net_buf_pool *pool = net_buf_pool_get(buf->pool_id); in data_ref()
474 buf->pool_id, buf->frags); in net_buf_unref_debug()
483 pool = net_buf_pool_get(buf->pool_id); in net_buf_unref_debug()
[all …]
/Zephyr-latest/subsys/net/lib/shell/
Dallocs.c58 struct net_buf_pool *pool = net_buf_pool_get(buf->pool_id); in allocs_cb()
/Zephyr-latest/include/zephyr/portability/
Dcmsis_os.h573 void *osPoolAlloc (osPoolId pool_id);
579 void *osPoolCAlloc (osPoolId pool_id);
586 osStatus osPoolFree (osPoolId pool_id, void *block);
/Zephyr-latest/subsys/net/ip/
Dnet_pkt.c333 frag_size, net_buf_pool_get(frag->pool_id)); in net_pkt_print_frags()
571 pool2str(net_buf_pool_get(frag->pool_id)),
572 get_name(net_buf_pool_get(frag->pool_id)),
573 get_frees(net_buf_pool_get(frag->pool_id)), frag,
665 pool2str(net_buf_pool_get(frag->pool_id)),
666 get_name(net_buf_pool_get(frag->pool_id)),
667 get_frees(net_buf_pool_get(frag->pool_id)),
691 pool2str(net_buf_pool_get(frag->pool_id)),
692 get_name(net_buf_pool_get(frag->pool_id)),
693 get_frees(net_buf_pool_get(frag->pool_id)),
/Zephyr-latest/tests/benchmarks/thread_metric/
Dthread_metric_readme.txt201 int tm_memory_pool_create(int pool_id);
206 int tm_memory_pool_allocate(int pool_id, unsigned char **memory_ptr);
213 int tm_memory_pool_deallocate(int pool_id, unsigned char *memory_ptr);
/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()
/Zephyr-latest/drivers/usb/udc/
Dudc_common.c27 struct net_buf_pool *const buf_pool = net_buf_pool_get(buf->pool_id); in udc_pool_data_alloc()
43 struct net_buf_pool *buf_pool = net_buf_pool_get(buf->pool_id); in udc_pool_data_unref()
/Zephyr-latest/include/zephyr/
Dnet_buf.h1020 uint8_t pool_id; member
1471 struct net_buf_pool *pool = net_buf_pool_get(buf->pool_id); in net_buf_destroy()
/Zephyr-latest/drivers/ethernet/
Ddsa_ksz8xxx.c857 buf = net_buf_alloc_len(net_buf_pool_get(pkt->buffer->pool_id), in dsa_ksz8xxx_xmit_pkt()
/Zephyr-latest/subsys/bluetooth/host/
Datt.c281 __ASSERT_NO_MSG(net_buf_pool_get(buf->pool_id) == &att_pool); in bt_att_get_tx_meta_data()
1175 frag = net_buf_alloc(net_buf_pool_get(data->buf->pool_id), in find_type_cb()
1383 frag = net_buf_alloc(net_buf_pool_get(buf->pool_id), in att_chan_read()
Dl2cap.c741 pdu->pool_id); in bt_l2cap_send_pdu()
Diso.c809 CONFIG_BT_CONN_TX_USER_DATA_SIZE, buf->pool_id); in conn_iso_send()
Dhci_core.c387 if (net_buf_pool_get(buf->pool_id) != &hci_cmd_pool) { in bt_hci_cmd_send_sync()
/Zephyr-latest/subsys/bluetooth/host/classic/
Dl2cap_br.c319 buf->pool_id); in bt_l2cap_br_send_cb()