Home
last modified time | relevance | path

Searched refs:memLength (Results 1 – 5 of 5) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/components/osa/
Dfsl_os_abstraction_zephyr.c153 void *OSA_MemoryAllocate(uint32_t memLength) in OSA_MemoryAllocate() argument
156 void *p = k_malloc(memLength); in OSA_MemoryAllocate()
160 (void)memset(p, 0, memLength); in OSA_MemoryAllocate()
174 void *OSA_MemoryAllocateAlign(uint32_t memLength, uint32_t alignbytes) in OSA_MemoryAllocateAlign() argument
177 void *p = k_aligned_alloc(alignbytes, memLength); in OSA_MemoryAllocateAlign()
181 (void)memset(p, 0, memLength); in OSA_MemoryAllocateAlign()
Dfsl_os_abstraction_free_rtos.c147 void *OSA_MemoryAllocate(uint32_t memLength) in OSA_MemoryAllocate() argument
151 void *p = (void *)pvPortMalloc(memLength); in OSA_MemoryAllocate()
155 (void)memset(p, 0, memLength); in OSA_MemoryAllocate()
177 void *OSA_MemoryAllocateAlign(uint32_t memLength, uint32_t alignbytes) in OSA_MemoryAllocateAlign() argument
183 alignedsize = (uint32_t)(unsigned int)OSA_MEM_SIZE_ALIGN(memLength, alignbytes); in OSA_MemoryAllocateAlign()
184 if (alignedsize < memLength) in OSA_MemoryAllocateAlign()
Dfsl_os_abstraction_bm.c202 void *OSA_MemoryAllocate(uint32_t memLength) in OSA_MemoryAllocate() argument
204 void *p = (void *)malloc(memLength); in OSA_MemoryAllocate()
208 (void)memset(p, 0, memLength); in OSA_MemoryAllocate()
225 void *OSA_MemoryAllocateAlign(uint32_t memLength, uint32_t alignbytes) in OSA_MemoryAllocateAlign() argument
231 alignedsize = (uint32_t)(unsigned int)OSA_MEM_SIZE_ALIGN(memLength, alignbytes); in OSA_MemoryAllocateAlign()
232 if (alignedsize < memLength) in OSA_MemoryAllocateAlign()
Dfsl_os_abstraction_threadx.c131 void *OSA_MemoryAllocate(uint32_t memLength) in OSA_MemoryAllocate() argument
146 void *OSA_MemoryAllocateAlign(uint32_t memLength, uint32_t alignbytes) in OSA_MemoryAllocateAlign() argument
152 alignedsize = (uint32_t)(unsigned int)OSA_MEM_SIZE_ALIGN(memLength, alignbytes); in OSA_MemoryAllocateAlign()
153 if (alignedsize < memLength) in OSA_MemoryAllocateAlign()
Dfsl_os_abstraction.h493 void *OSA_MemoryAllocate(uint32_t memLength);
517 void *OSA_MemoryAllocateAlign(uint32_t memLength, uint32_t alignbytes);