zephyr::raw

Function k_mem_slab_max_used_get

source
pub unsafe extern "C" fn k_mem_slab_max_used_get(
    slab: *mut k_mem_slab,
) -> u32
Expand description

@brief Get the number of maximum used blocks so far in a memory slab.

This routine gets the maximum number of memory blocks that were allocated in @a slab.

@param slab Address of the memory slab.

@return Maximum number of allocated memory blocks.