/Zephyr-Core-2.7.6/lib/gui/lvgl/ |
D | Kconfig.memory | 16 prompt "Memory pool" 19 Memory pool to use for lvgl allocated objects 34 bool "Kernel space lvgl pool" 36 Use a dedicated memory pool in kernel space to allocate lvgl objects 40 bool "User space lvgl pool" 42 Use a dedicated memory pool in user space to allocate lvgl objects on 49 int "Minimum memory pool block size" 52 Size of the smallest block in the memory pool in bytes 55 int "Maximum memory pool block size" 58 Size of the largest block in the memory pool in bytes [all …]
|
/Zephyr-Core-2.7.6/drivers/display/ |
D | Kconfig.mcux_elcdif | 13 int "Number of memory pool blocks" 16 Number of blocks in the frame buffer memory pool. 19 hex "Minimum memory pool block size" 22 Minimum block size in the frame buffer memory pool. 25 hex "Maximum memory pool block size" 28 Maximum block size in the frame buffer memory pool. 31 int "Alignment of memory pool blocks" 34 Byte alignment in the frame buffer memory pool.
|
/Zephyr-Core-2.7.6/subsys/portability/cmsis_rtos_v2/ |
D | mempool.c | 26 * @brief Create and Initialize a memory pool. 58 "memory slab/pool size exceeds dynamic maximum"); in osMemoryPoolNew() 60 mslab->pool = k_calloc(block_count, block_size); in osMemoryPoolNew() 61 if (mslab->pool == NULL) { in osMemoryPoolNew() 67 mslab->pool = attr->mp_mem; in osMemoryPoolNew() 71 k_mem_slab_init(&mslab->z_mslab, mslab->pool, block_size, block_count); in osMemoryPoolNew() 84 * @brief Allocate a memory block from a memory pool. 123 * @brief Return an allocated memory block back to a specific memory pool. 134 * osErrorResource: the memory pool specified by parameter mp_id in osMemoryPoolFree() 135 * is in an invalid memory pool state. in osMemoryPoolFree() [all …]
|
D | wrapper.h | 50 void *pool; member 57 void *pool; member
|
/Zephyr-Core-2.7.6/subsys/portability/cmsis_rtos_v1/ |
D | cmsis_mempool.c | 14 * @brief Create and Initialize a memory pool. 26 * @brief Allocate a memory block from a memory pool. 33 if (k_mem_slab_alloc((struct k_mem_slab *)(osPool->pool), in osPoolAlloc() 42 * @brief Allocate a memory block from a memory pool and set it to zero. 49 if (k_mem_slab_alloc((struct k_mem_slab *)(osPool->pool), in osPoolCAlloc() 59 * @brief Return an allocated memory block back to a specific memory pool. 66 * osErrorValue: block does not belong to the memory pool. in osPoolFree() 71 k_mem_slab_free((struct k_mem_slab *)(osPool->pool), (void *)&block); in osPoolFree()
|
D | cmsis_mailq.c | 43 (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()
|
/Zephyr-Core-2.7.6/subsys/net/ |
D | buf.c | 45 /* Linker-defined symbol bound to the static pool structs */ 53 static int pool_id(struct net_buf_pool *pool) in pool_id() argument 55 return pool - _net_buf_pool_list; in pool_id() 60 struct net_buf_pool *pool = net_buf_pool_get(buf->pool_id); in net_buf_id() local 62 return buf - pool->__bufs; in net_buf_id() 65 static inline struct net_buf *pool_get_uninit(struct net_buf_pool *pool, in pool_get_uninit() argument 70 buf = &pool->__bufs[pool->buf_count - uninit_count]; in pool_get_uninit() 72 buf->pool_id = pool_id(pool); in pool_get_uninit() 99 struct k_heap *pool = buf_pool->alloc->alloc_data; in mem_pool_data_alloc() local 103 void *b = k_heap_alloc(pool, 1 + *size, timeout); in mem_pool_data_alloc() [all …]
|
D | Kconfig | 59 bool "Network buffer pool usage tracking" 61 Enable network buffer pool tracking. This means that: 62 * amount of free buffers in the pool is remembered 63 * total size of the pool is calculated 64 * pool name is stored and can be shown in debugging prints
|
/Zephyr-Core-2.7.6/drivers/entropy/ |
D | Kconfig.stm32 | 23 int "Thread-mode random number pool size" 29 Please note, that size of the pool must be a power of 2. 32 int "Thread-mode random number pool low-water threshold" 41 int "ISR-mode random number pool size" 47 Please note, that size of the pool must be a power of 2. 50 int "ISR-mode random number pool low-water threshold"
|
D | Kconfig.nrf5 | 35 int "Thread-mode random number pool size" 41 Please note, that size of the pool must be a power of 2. 44 int "Thread-mode random number pool low-water threshold" 53 int "ISR-mode random number pool size" 59 Please note, that size of the pool must be a power of 2. 62 int "ISR-mode random number pool low-water threshold"
|
D | entropy_cc13xx_cc26xx.c | 33 struct ring_buf pool; member 120 cnt = ring_buf_get(&data->pool, buf, len); in entropy_cc13xx_cc26xx_get_entropy() 149 cnt = ring_buf_put(&data->pool, (uint8_t *)num, sizeof(num)); in entropy_cc13xx_cc26xx_isr() 151 /* When pool is full disable interrupt and stop reading numbers */ in entropy_cc13xx_cc26xx_isr() 186 cnt = ring_buf_get(&data->pool, buf, len); in entropy_cc13xx_cc26xx_get_entropy_isr() 208 ring_buf_put(&data->pool, (uint8_t *)num, in entropy_cc13xx_cc26xx_get_entropy_isr() 217 cnt = ring_buf_get(&data->pool, buf, len); in entropy_cc13xx_cc26xx_get_entropy_isr() 294 ring_buf_init(&data->pool, sizeof(data->data), data->data); in entropy_cc13xx_cc26xx_init() 311 /* Enabled the TRNG while in sleep mode to keep the entropy pool full. After in entropy_cc13xx_cc26xx_init() 312 * the pool is full the TRNG will enter idle mode when random numbers are no in entropy_cc13xx_cc26xx_init()
|
/Zephyr-Core-2.7.6/tests/kernel/mem_heap/mheap_api_concept/src/ |
D | test_mheap_api.c | 25 zassert_not_null(ptr, "bytes allocation failed from system pool"); in tIsr_malloc_and_free() 36 zassert_is_null(ptr, "bytes allocation failed from system pool"); in thread_entry() 48 * @details The test allocates 4 blocks from heap memory pool 64 * semantics. Memory is allocated from the heap memory pool. in test_mheap_malloc_free() 80 * from the heap memory pool. in test_mheap_malloc_free() 167 * @brief Validate allocation and free from system heap memory pool. 169 * @details Set heap memory as resource pool. It will success when alloc 170 * a block of memory smaller than the pool and will fail when alloc 171 * a block of memory larger than the pool. 187 zassert_not_null(ptr, "bytes allocation failed from system pool"); in test_sys_heap_mem_pool_assign() [all …]
|
/Zephyr-Core-2.7.6/drivers/video/ |
D | Kconfig | 23 int "Size of the largest buffer in the video pool" 27 int "Number of maximum sized buffer in the video pool" 31 int "Alignment of the video pool’s buffer"
|
/Zephyr-Core-2.7.6/doc/reference/networking/ |
D | net_buf.rst | 21 Network buffers are created by first defining a pool of them: 27 The pool is a static variable, so if it's needed to be exported to 30 Once the pool has been defined, buffers can be allocated from it with: 36 There is no explicit initialization function for the pool or its 50 compile-time defined when declaring the buffer pool. 129 acquired from a free buffers pool by calling :c:func:`net_buf_alloc()`, 133 automatically placed back to the free buffers pool.
|
/Zephyr-Core-2.7.6/subsys/bluetooth/services/ots/ |
D | ots_obj_manager.c | 30 struct bt_gatt_ots_pool_item pool[CONFIG_BT_OTS_MAX_OBJ_CNT]; member 170 if (index >= ARRAY_SIZE(obj_manager->pool)) { in bt_gatt_ots_obj_manager_obj_get() 174 if (!obj_manager->pool[index].is_allocated) { in bt_gatt_ots_obj_manager_obj_get() 178 *object = &obj_manager->pool[index].val; in bt_gatt_ots_obj_manager_obj_get() 187 for (uint64_t i = 0; i < ARRAY_SIZE(obj_manager->pool); i++) { in bt_gatt_ots_obj_manager_obj_add() 189 &obj_manager->pool[i]; in bt_gatt_ots_obj_manager_obj_add() 233 return PART_OF_ARRAY(obj_manager->pool, item); in bt_gatt_ots_obj_manager_obj_contains()
|
/Zephyr-Core-2.7.6/tests/subsys/portability/cmsis_rtos_v2/src/ |
D | mempool.c | 58 /* The memory pool should be completely available at this point */ in mempool_common_tests() 70 /* The memory pool should be completely in use at this point */ in mempool_common_tests() 100 * @brief Test dynamic memory pool allocation and free 116 * @brief Test memory pool allocation and free 124 /* Create memory pool with invalid block size */ in test_mempool()
|
/Zephyr-Core-2.7.6/doc/guides/portability/ |
D | cmsis_rtos_v2.rst | 59 ``osErrorResource`` (the memory pool specified by 60 parameter mp_id is in an invalid memory pool state) is 64 ``osErrorResource`` (the memory pool specified by 65 parameter mp_id is in an invalid memory pool state) is
|
/Zephyr-Core-2.7.6/include/net/ |
D | buf.h | 968 * @brief Network buffer pool representation. 970 * This struct is used to represent a pool of network buffers. 976 /** Number of buffers in pool */ 983 /** Amount of available buffers in the pool. */ 986 /** Total size of the pool. */ 989 /** Name of the pool. Used when printing pool information. */ 1033 * @brief Define a new pool for buffers using the heap for the data. 1037 * accessed from the pool through net_buf_alloc. The pool is defined as a 1044 * This kind of pool does not support blocking on the data allocation, so 1051 * process of returning the buffer to the pool. [all …]
|
/Zephyr-Core-2.7.6/kernel/include/ |
D | kernel_internal.h | 71 * @brief Allocate aligned memory from the current thread's resource pool 73 * Threads may be assigned a resource pool, which will be used to allocate 82 * RAM in the pool or there is no pool to draw memory from 87 * @brief Allocate some memory from the current thread's resource pool 89 * Threads may be assigned a resource pool, which will be used to allocate 97 * RAM in the pool or there is no pool to draw memory from
|
/Zephyr-Core-2.7.6/subsys/bluetooth/host/ |
D | hci_raw.c | 104 struct net_buf_pool *pool; in bt_buf_get_tx() local 109 pool = &hci_cmd_pool; in bt_buf_get_tx() 112 pool = &hci_acl_pool; in bt_buf_get_tx() 116 pool = &hci_iso_pool; in bt_buf_get_tx() 125 pool = &hci_cmd_pool; in bt_buf_get_tx() 129 pool = &hci_acl_pool; in bt_buf_get_tx() 134 pool = &hci_iso_pool; in bt_buf_get_tx() 153 buf = net_buf_alloc(pool, timeout); in bt_buf_get_tx()
|
/Zephyr-Core-2.7.6/subsys/net/ip/ |
D | net_pkt.c | 276 const char *net_pkt_pool2str(struct net_buf_pool *pool) in net_pkt_pool2str() argument 278 if (pool == &rx_bufs) { in net_pkt_pool2str() 280 } else if (pool == &tx_bufs) { in net_pkt_pool2str() 290 static inline int16_t get_frees(struct net_buf_pool *pool) in get_frees() argument 293 return atomic_get(&pool->avail_count); in get_frees() 301 static inline const char *get_name(struct net_buf_pool *pool) in get_name() argument 304 return pool->name; in get_name() 310 static inline int16_t get_size(struct net_buf_pool *pool) in get_size() argument 313 return pool->pool_size; in get_size() 324 static inline const char *pool2str(struct net_buf_pool *pool) in pool2str() argument [all …]
|
/Zephyr-Core-2.7.6/tests/lib/gui/lvgl/ |
D | testcase.yaml | 13 libraries.gui.lvgl.dynamic.pool.user: 21 libraries.gui.lvgl.dynamic.pool.kernel:
|
/Zephyr-Core-2.7.6/subsys/logging/ |
D | Kconfig.processing | 119 read only memory section and not from pool used for string duplicates. 134 int "Number of buffers in the pool used by log_strdup()" 145 bool "Enable profiling of pool used for log_strdup()" 147 When enabled, maximal utilization of the pool is tracked. It can
|
/Zephyr-Core-2.7.6/include/portability/ |
D | cmsis_os.h | 151 /// Pool ID identifies the memory pool (pointer to a memory pool control block). 201 uint32_t pool_sz; ///< number of items (elements) in the pool 203 void *pool; ///< pointer to memory for pool member 211 void *pool; ///< memory array for messages member 220 void *pool; ///< memory array for mail member 536 // ==== Memory Pool Management Functions ==== 538 #if (defined (osFeature_Pool) && (osFeature_Pool != 0)) // Memory Pool Management available 540 /// \brief Define a Memory Pool. 541 /// \param name name of the memory pool. 542 /// \param no maximum number of blocks (objects) in the memory pool. [all …]
|
D | cmsis_os2.h | 222 /* / \details Memory Pool ID identifies the memory pool. */ 281 /* / Attributes structure for memory pool. */ 283 const char *name; /* /< name of the memory pool */ 636 /* ==== Memory Pool Management Functions ==== */ 638 /* / Create and Initialize a Memory Pool object. */ 639 /* / \param[in] block_count maximum number of memory blocks in memory pool. */ 641 /* / \param[in] attr memory pool attributes; NULL: default values. */ 642 /* / \return memory pool ID for reference by other functions or NULL in case of error. */ 645 /* / Get name of a Memory Pool object. */ 646 /* / \param[in] mp_id memory pool ID obtained by \ref osMemoryPoolNew. */ [all …]
|