kernel/mem_pool.c
/**
 *
 * @brief Initialize kernel memory pool subsystem
 *
 * Perform any initialization of memory pool that wasn't done at build time.
 *
 * @return N/A
 */
@brief Initialize kernel memory pool subsystem
Perform any initialization of memory pool that wasn't done at build time.

@return N/A
@brief Initialize kernel memory pool subsystem Perform any initialization of memory pool that wasn ' t done at build time . @return N / A
static int init_static_pools(struct device *unused)
{
	ARG_UNUSED(unused);
	struct k_mem_pool *pool;
	for (pool = _k_mem_pool_list_start;
	     pool < _k_mem_pool_list_end;
	     pool++) {
		init_one_memory_pool(pool);
	}
	return 0;
}
static int init_static_pools ( struct device * unused ) { ARG_UNUSED ( unused ) ; struct k_mem_pool * pool ; for ( pool = _k_mem_pool_list_start ; pool < _k_mem_pool_list_end ; pool ++ ) { init_one_memory_pool ( pool ) ; } return 0 ; }
@brief Initialize kernel memory pool subsystem
 Perform any initialization of memory pool that wasn't done at build time.
@brief Initialize kernel memory pool subsystem Perform any initialization of memory pool that wasn ' t done at build time .
/* perform initialization for each memory pool */