Lines Matching refs:slab
5320 int k_mem_slab_init(struct k_mem_slab *slab, void *buffer,
5345 int k_mem_slab_alloc(struct k_mem_slab *slab, void **mem,
5357 void k_mem_slab_free(struct k_mem_slab *slab, void *mem);
5369 static inline uint32_t k_mem_slab_num_used_get(struct k_mem_slab *slab) in k_mem_slab_num_used_get() argument
5371 return slab->info.num_used; in k_mem_slab_num_used_get()
5384 static inline uint32_t k_mem_slab_max_used_get(struct k_mem_slab *slab) in k_mem_slab_max_used_get() argument
5387 return slab->info.max_used; in k_mem_slab_max_used_get()
5389 ARG_UNUSED(slab); in k_mem_slab_max_used_get()
5404 static inline uint32_t k_mem_slab_num_free_get(struct k_mem_slab *slab) in k_mem_slab_num_free_get() argument
5406 return slab->info.num_blocks - slab->info.num_used; in k_mem_slab_num_free_get()
5421 int k_mem_slab_runtime_stats_get(struct k_mem_slab *slab, struct sys_memory_stats *stats);
5434 int k_mem_slab_runtime_stats_reset_max(struct k_mem_slab *slab);