zephyr::raw

Function k_mem_slab_runtime_stats_reset_max

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

@brief Reset the maximum memory usage for a slab

This routine resets the maximum memory usage for the slab @a slab to its current usage.

@param slab Address of the memory slab

@retval 0 Success @retval -EINVAL Memory slab is NULL