Lines Matching refs:k_mem_slab

30 	struct k_mem_slab *slab;  in k_mem_slab_stats_raw()
33 slab = CONTAINER_OF(obj_core, struct k_mem_slab, obj_core); in k_mem_slab_stats_raw()
45 struct k_mem_slab *slab; in k_mem_slab_stats_query()
49 slab = CONTAINER_OF(obj_core, struct k_mem_slab, obj_core); in k_mem_slab_stats_query()
68 struct k_mem_slab *slab; in k_mem_slab_stats_reset()
71 slab = CONTAINER_OF(obj_core, struct k_mem_slab, obj_core); in k_mem_slab_stats_reset()
104 static int create_free_list(struct k_mem_slab *slab) in create_free_list()
140 offsetof(struct k_mem_slab, obj_core)); in init_mem_slab_obj_core_list()
148 STRUCT_SECTION_FOREACH(k_mem_slab, slab) { in init_mem_slab_obj_core_list()
171 int k_mem_slab_init(struct k_mem_slab *slab, void *buffer, in k_mem_slab_init()
202 SYS_PORT_TRACING_OBJ_INIT(k_mem_slab, slab, rc); in k_mem_slab_init()
207 static bool slab_ptr_is_good(struct k_mem_slab *slab, const void *ptr) in slab_ptr_is_good()
221 int k_mem_slab_alloc(struct k_mem_slab *slab, void **mem, k_timeout_t timeout) in k_mem_slab_alloc()
226 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_mem_slab, alloc, slab, timeout); in k_mem_slab_alloc()
250 SYS_PORT_TRACING_OBJ_FUNC_BLOCKING(k_mem_slab, alloc, slab, timeout); in k_mem_slab_alloc()
258 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_mem_slab, alloc, slab, timeout, result); in k_mem_slab_alloc()
263 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_mem_slab, alloc, slab, timeout, result); in k_mem_slab_alloc()
270 void k_mem_slab_free(struct k_mem_slab *slab, void *mem) in k_mem_slab_free()
280 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_mem_slab, free, slab); in k_mem_slab_free()
285 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_mem_slab, free, slab); in k_mem_slab_free()
297 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_mem_slab, free, slab); in k_mem_slab_free()
302 int k_mem_slab_runtime_stats_get(struct k_mem_slab *slab, struct sys_memory_stats *stats) in k_mem_slab_runtime_stats_get()
326 int k_mem_slab_runtime_stats_reset_max(struct k_mem_slab *slab) in k_mem_slab_runtime_stats_reset_max()