Searched refs:MemPool (Results 1 – 2 of 2) sorted by relevance
76 …MemPool_t *MemPool, int ItemSize, void *PreallocatedMemory, int PreallocatedMemorySize, int Alignm… in OSA_MemoryPoolCreate() argument93 status = OSA_MutexCreate((osa_mutex_handle_t)MemPool->Lock); in OSA_MemoryPoolCreate()99 InitStack(&MemPool->Stack); in OSA_MemoryPoolCreate()100 MemPool->ItemSize = ItemSize; in OSA_MemoryPoolCreate()101 MemPool->Alignment = Alignment; in OSA_MemoryPoolCreate()109 PushOnStack(&MemPool->Stack, Node); in OSA_MemoryPoolCreate()110 ptr += MemPool->ItemSize; in OSA_MemoryPoolCreate()111 PreallocatedMemorySize -= MemPool->ItemSize; in OSA_MemoryPoolCreate()114 return (MemoryPool_t)MemPool; in OSA_MemoryPoolCreate()120 MemPool_t *MemPool; in OSA_MemoryPoolAllocate() local[all …]
67 …MemPool_t *MemPool, int ItemSize, void *PreallocatedMemory, int PreallocatedMemorySize, int Alignm…