Searched refs:z_mslab (Results 1 – 2 of 2) sorted by relevance
71 int rc = k_mem_slab_init(&mslab->z_mslab, mslab->pool, block_size, block_count); in osMemoryPoolNew()111 (struct k_mem_slab *)(&mslab->z_mslab), in osMemoryPoolAlloc()115 (struct k_mem_slab *)(&mslab->z_mslab), in osMemoryPoolAlloc()119 (struct k_mem_slab *)(&mslab->z_mslab), in osMemoryPoolAlloc()146 k_mem_slab_free((struct k_mem_slab *)(&mslab->z_mslab), (void *)block); in osMemoryPoolFree()175 return mslab->z_mslab.info.num_blocks; in osMemoryPoolGetCapacity()189 return mslab->z_mslab.info.block_size; in osMemoryPoolGetBlockSize()203 return k_mem_slab_num_used_get(&mslab->z_mslab); in osMemoryPoolGetCount()217 return k_mem_slab_num_free_get(&mslab->z_mslab); in osMemoryPoolGetSpace()
53 struct k_mem_slab z_mslab; member