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