zephyr::raw

Function k_mem_slab_runtime_stats_get

Source
pub unsafe extern "C" fn k_mem_slab_runtime_stats_get(
    slab: *mut k_mem_slab,
    stats: *mut sys_memory_stats,
) -> i32
Expand description

@brief Get the memory stats for a memory slab

This routine gets the runtime memory usage stats for the slab @a slab.

@param slab Address of the memory slab @param stats Pointer to memory into which to copy memory usage statistics

@retval 0 Success @retval -EINVAL Any parameter points to NULL