Lines Matching refs:bm_buffer
80 struct bm_buffer *bufs, in BmPoolRelease()
110 memcpy(PTR_MOVE(p_BmPool->sp, sizeof(struct bm_buffer) * (p_BmPool->spFill)), in BmPoolRelease()
112 sizeof(struct bm_buffer) * num); in BmPoolRelease()
121 …(struct bm_buffer *)PTR_MOVE(p_BmPool->sp, sizeof(struct bm_buffer) * (p_BmPool->spFill - p_BmPool… in BmPoolRelease()
134 struct bm_buffer *bufs, uint8_t num, uint32_t flags) in BmPoolAcquire()
149 … (struct bm_buffer *)PTR_MOVE(p_BmPool->sp, sizeof(struct bm_buffer) * (p_BmPool->spFill)), in BmPoolAcquire()
157 PTR_MOVE(p_BmPool->sp, sizeof(struct bm_buffer) * (p_BmPool->spFill - num)), in BmPoolAcquire()
158 sizeof(struct bm_buffer) * num); in BmPoolAcquire()
303 … p_BmPool->sp = (struct bm_buffer *)XX_Malloc(sizeof(struct bm_buffer) * p_BmPool->spMaxBufs); in BM_POOL_Init()
309 memset(p_BmPool->sp, 0, sizeof(struct bm_buffer) * p_BmPool->spMaxBufs); in BM_POOL_Init()
405 struct bm_buffer bufs[1]; in BM_POOL_GetBuf()
445 struct bm_buffer bufs[1]; in BM_POOL_PutBuf()