Home
last modified time | relevance | path

Searched refs:pool (Results 1 – 25 of 58) sorted by relevance

123

/subsys/net/lib/shell/
A Dmem.c24 struct net_buf_pool *pool) in slab_pool_found_already() argument
34 if (info->data_pools[i] == pool) { in slab_pool_found_already()
51 struct net_buf_pool *pool; in context_info() local
75 pool = context->data_pool(); in context_info()
77 if (slab_pool_found_already(info, NULL, pool)) { in context_info()
82 PR("%p\t%d\t%ld\tEDATA (%s)\n", pool, pool->buf_count, in context_info()
83 atomic_get(&pool->avail_count), pool->name); in context_info()
85 PR("%p\t%d\tEDATA\n", pool, pool->buf_count); in context_info()
88 info->data_pools[info->pos] = pool; in context_info()
A Dallocs.c58 struct net_buf_pool *pool = net_buf_pool_get(buf->pool_id); in allocs_cb() local
63 str, net_pkt_pool2str(pool), func_alloc, in allocs_cb()
67 buf, str, net_pkt_pool2str(pool), in allocs_cb()
/subsys/portability/cmsis_rtos_v1/
A Dcmsis_mailq.c43 (struct k_mem_slab *)(queue_def->pool), in osMailAlloc()
47 (struct k_mem_slab *)(queue_def->pool), in osMailAlloc()
51 (struct k_mem_slab *)(queue_def->pool), in osMailAlloc()
77 (struct k_mem_slab *)(queue_def->pool), in osMailCAlloc()
81 (struct k_mem_slab *)(queue_def->pool), in osMailCAlloc()
85 (struct k_mem_slab *)(queue_def->pool), in osMailCAlloc()
173 k_mem_slab_free((struct k_mem_slab *)(queue_def->pool), (void *)mail); in osMailFree()
A Dcmsis_mempool.c33 if (k_mem_slab_alloc((struct k_mem_slab *)(osPool->pool), in osPoolAlloc()
49 if (k_mem_slab_alloc((struct k_mem_slab *)(osPool->pool), in osPoolCAlloc()
71 k_mem_slab_free((struct k_mem_slab *)(osPool->pool), (void *)block); in osPoolFree()
A Dcmsis_msgq.c24 k_msgq_init(queue_def->msgq, queue_def->pool, in osMessageCreate()
/subsys/bluetooth/services/ots/
A Dots_obj_manager.c30 struct bt_gatt_ots_pool_item pool[CONFIG_BT_OTS_MAX_OBJ_CNT]; member
168 if (index >= ARRAY_SIZE(obj_manager->pool)) { in bt_gatt_ots_obj_manager_obj_get()
172 if (!obj_manager->pool[index].is_allocated) { in bt_gatt_ots_obj_manager_obj_get()
176 *object = &obj_manager->pool[index].val; in bt_gatt_ots_obj_manager_obj_get()
185 for (uint64_t i = 0; i < ARRAY_SIZE(obj_manager->pool); i++) { in bt_gatt_ots_obj_manager_obj_add()
187 &obj_manager->pool[i]; in bt_gatt_ots_obj_manager_obj_add()
231 return PART_OF_ARRAY(obj_manager->pool, item); in bt_gatt_ots_obj_manager_obj_contains()
/subsys/usb/device_next/class/
A DKconfig.hid14 int "Number of buffers in the IN pool"
18 Number of buffers in the IN pool per HID instance.
21 int "Number of buffers in the OUT pool"
25 Number of buffers in the OUT pool per HID instance.
A DKconfig.cdc_acm33 bool "Use dedicated buffer pool"
36 Use a dedicated buffer pool whose size is based on the number of CDC
38 implementation uses the UDC driver's pool.
/subsys/portability/cmsis_rtos_v2/
A Dmempool.c63 mslab->pool = k_calloc(block_count, block_size); in osMemoryPoolNew()
64 if (mslab->pool == NULL) { in osMemoryPoolNew()
72 mslab->pool = attr->mp_mem; in osMemoryPoolNew()
76 int rc = k_mem_slab_init(&mslab->z_mslab, mslab->pool, block_size, block_count); in osMemoryPoolNew()
82 k_free(mslab->pool); in osMemoryPoolNew()
240 k_free(mslab->pool); in osMemoryPoolDelete()
A Dmsgq.c61 msgq->pool = k_calloc(msg_count, msg_size); in osMessageQueueNew()
62 if (msgq->pool == NULL) { in osMessageQueueNew()
76 msgq->pool = attr->mq_mem; in osMessageQueueNew()
80 k_msgq_init(&msgq->z_msgq, msgq->pool, msg_size, msg_count); in osMessageQueueNew()
279 k_free(msgq->pool); in osMessageQueueDelete()
/subsys/bluetooth/host/
A Dhci_raw.c112 struct net_buf_pool *pool; in bt_buf_get_tx() local
117 pool = &hci_cmd_pool; in bt_buf_get_tx()
120 pool = &hci_acl_pool; in bt_buf_get_tx()
124 pool = &hci_iso_pool; in bt_buf_get_tx()
132 buf = net_buf_alloc(pool, timeout); in bt_buf_get_tx()
/subsys/net/ip/
A Dnet_pkt.c295 if (pool == &rx_bufs) { in net_pkt_pool2str()
297 } else if (pool == &tx_bufs) { in net_pkt_pool2str()
353 return pool->name; in get_name()
362 return pool->pool_size; in get_size()
375 return net_pkt_pool2str(pool); in pool2str()
419 pool2str(pool), get_name(pool), get_frees(pool), in net_pkt_get_reserve_data_debug()
929 struct net_buf_pool *pool, argument
994 pool2str(pool), get_name(pool), get_frees(pool),
1052 pool2str(pool), get_name(pool), get_frees(pool),
1304 if (!pool) {
[all …]
/subsys/zbus/
A DKconfig47 bool "Use fixed data size for msg_subscriber buffers pool"
53 bool "Use isolated pools instead of only using the global pool."
82 bool "Use a pool of runtime observers nodes"
90 int "Runtime observer pool size"
112 int "ZBus requested heap pool size."
118 Configures the available heap memory pool for ZBus.
A Dzbus.c29 static inline struct net_buf *_zbus_create_net_buf(struct net_buf_pool *pool, size_t size, in _zbus_create_net_buf() argument
32 return net_buf_alloc_len(pool, size, timeout); 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() argument
49 return net_buf_alloc(pool, timeout); in _zbus_create_net_buf()
168 struct net_buf_pool *pool = in _zbus_vded_exec() local
172 buf = _zbus_create_net_buf(pool, zbus_chan_msg_size(chan), sys_timepoint_timeout(end_time)); in _zbus_vded_exec()
/subsys/rtio/
A Drtio_init.c21 mpsc_push(&sqe_pool->free_q, &sqe_pool->pool[i].q); in rtio_init()
27 mpsc_push(&cqe_pool->free_q, &cqe_pool->pool[i].q); in rtio_init()
A DKconfig35 bool "Include system memory blocks as an optional backing read memory pool"
40 from the allocated memory pool associated with the RTIO context.
A DKconfig.workq32 to issue, the bigger this pool should be.
/subsys/bluetooth/controller/ll_sw/
A Dull_internal.h126 uint8_t pool[MROUND(_size) * (_count)]; \
131 uint8_t pool[sizeof(memq_link_t) * (_count + _extra_links)]; \
141 mem_init(mem_pool_##_name.pool, mem_##_name.size, \
144 mem_init(mem_link_##_name.pool, sizeof(memq_link_t), \
/subsys/net/lib/tls_credentials/
A DKconfig.shell38 int "TLS credentials shell memory pool size"
42 The size of the memory pool used by the TLS credentials shell.
/subsys/bluetooth/controller/
A DKconfig.dtm52 int "IQ Report pool size"
55 Maximum number of the DTM IQ Reports in pool. It depends on the upper tester
/subsys/bluetooth/host/classic/
A Dgoep.c137 static struct net_buf *goep_rfcomm_alloc_buf(struct bt_obex *obex, struct net_buf_pool *pool) in goep_rfcomm_alloc_buf() argument
146 return bt_goep_create_pdu(goep, pool); in goep_rfcomm_alloc_buf()
436 static struct net_buf *goep_l2cap_alloc_buf(struct bt_obex *obex, struct net_buf_pool *pool) in goep_l2cap_alloc_buf() argument
445 return bt_goep_create_pdu(goep, pool); in goep_l2cap_alloc_buf()
654 struct net_buf *bt_goep_create_pdu(struct bt_goep *goep, struct net_buf_pool *pool) in bt_goep_create_pdu() argument
665 buf = bt_rfcomm_create_pdu(pool); in bt_goep_create_pdu()
667 buf = bt_conn_create_pdu(pool, sizeof(struct bt_l2cap_hdr)); in bt_goep_create_pdu()
/subsys/bluetooth/controller/util/
A Dmem.c144 uint8_t MALIGN(4) pool[BLOCK_COUNT][BLOCK_SIZE]; in mem_ut()
150 mem_init(pool, BLOCK_SIZE, BLOCK_COUNT, &mem_free); in mem_ut()
/subsys/bluetooth/host/classic/shell/
A Drfcomm.c37 NET_BUF_POOL_FIXED_DEFINE(pool, 1, DATA_MTU, CONFIG_BT_CONN_TX_USER_DATA_SIZE, NULL);
207 buf = bt_rfcomm_create_pdu(&pool); in cmd_send()
/subsys/net/lib/wifi_credentials/
A DKconfig92 int "Wi-Fi enterprise security certificates memory pool size"
96 The size of the memory pool used by the Wi-Fi enterprise security certificates.
/subsys/canbus/isotp/
A DKconfig81 This value defines the size of a single block in the pool. The number of
112 int "Size of the memory pool where buffers are allocated from"
115 This value defines the size of the memory pool where the buffers

Completed in 30 milliseconds

123