diff --git a/include/zephyr/kernel.h b/include/zephyr/kernel.h index 1cc2fba01a778..381341050ba6f 100644 --- a/include/zephyr/kernel.h +++ b/include/zephyr/kernel.h @@ -5664,6 +5664,8 @@ int k_mem_slab_alloc(struct k_mem_slab *slab, void **mem, * This routine releases a previously allocated memory block back to its * associated memory slab. * + * @funcprops \isr_ok + * * @param slab Address of the memory slab. * @param mem Pointer to the memory block (as returned by k_mem_slab_alloc()). */ @@ -5675,6 +5677,8 @@ void k_mem_slab_free(struct k_mem_slab *slab, void *mem); * This routine gets the number of memory blocks that are currently * allocated in @a slab. * + * @funcprops \isr_ok + * * @param slab Address of the memory slab. * * @return Number of allocated memory blocks. @@ -5690,6 +5694,8 @@ static inline uint32_t k_mem_slab_num_used_get(struct k_mem_slab *slab) * This routine gets the maximum number of memory blocks that were * allocated in @a slab. * + * @funcprops \isr_ok + * * @param slab Address of the memory slab. * * @return Maximum number of allocated memory blocks. @@ -5710,6 +5716,8 @@ static inline uint32_t k_mem_slab_max_used_get(struct k_mem_slab *slab) * This routine gets the number of memory blocks that are currently * unallocated in @a slab. * + * @funcprops \isr_ok + * * @param slab Address of the memory slab. * * @return Number of unallocated memory blocks. @@ -5724,6 +5732,8 @@ static inline uint32_t k_mem_slab_num_free_get(struct k_mem_slab *slab) * * This routine gets the runtime memory usage stats for the slab @a slab. * + * @funcprops \isr_ok + * * @param slab Address of the memory slab * @param stats Pointer to memory into which to copy memory usage statistics * @@ -5739,6 +5749,8 @@ int k_mem_slab_runtime_stats_get(struct k_mem_slab *slab, struct sys_memory_stat * This routine resets the maximum memory usage for the slab @a slab to its * current usage. * + * @funcprops \isr_ok + * * @param slab Address of the memory slab * * @retval 0 Success