Searched refs:block_count (Results 1 – 5 of 5) sorted by relevance
68 uint32_t block_count, in sl_memory_create_pool() argument81 EFM_ASSERT(block_count > 0u); in sl_memory_create_pool()100 status = sl_memory_reserve_block((block_size * block_count), in sl_memory_create_pool()115 size_free_list_bytes = SLI_POOL_BITS_TO_BYTE(block_count); in sl_memory_create_pool()128 full_word_nbr = block_count / SLI_DEF_INT_32_NBR_BITS; in sl_memory_create_pool()132 partial_word_nbr_bits = block_count % SLI_DEF_INT_32_NBR_BITS; in sl_memory_create_pool()141 pool_handle->block_count = block_count; in sl_memory_create_pool()150 block_count * block_size); in sl_memory_create_pool()158 block_count * block_size, in sl_memory_create_pool()187 full_word_nbr = pool_handle->block_count / SLI_DEF_INT_32_NBR_BITS; in sl_memory_delete_pool()[all …]
52 uint32_t block_count, in sl_memory_create_pool() argument62 EFM_ASSERT(block_count != 0); in sl_memory_create_pool()72 pool_handle->block_count = block_count; in sl_memory_create_pool()76 pool_size = pool_handle->block_size * pool_handle->block_count; in sl_memory_create_pool()103 for (uint16_t i = 0; i < (block_count - 1); i++) { in sl_memory_create_pool()199 …k <= ((size_t)pool_handle->block_address + (pool_handle->block_size * pool_handle->block_count)))); in sl_memory_pool_free()
95 return pool_handle->block_count; in sl_memory_pool_get_total_block_count()109 used_block_count = pool_handle->block_count - sl_memory_pool_get_free_block_count(pool_handle); in sl_memory_pool_get_used_block_count()
565 size_t block_count; ///< Max quantity of blocks in the pool. member827 uint32_t block_count,
142 uint32_t block_count; member