pub unsafe extern "C" fn k_mem_slab_num_used_get(
slab: *mut k_mem_slab,
) -> u32
Expand description
@brief Get the number of used blocks in a memory slab.
This routine gets the number of memory blocks that are currently allocated in @a slab.
@param slab Address of the memory slab.
@return Number of allocated memory blocks.