Lines Matching refs:spFill
108 if ((p_BmPool->spFill + num) <= p_BmPool->spMaxBufs) in BmPoolRelease()
110 memcpy(PTR_MOVE(p_BmPool->sp, sizeof(struct bm_buffer) * (p_BmPool->spFill)), in BmPoolRelease()
113 p_BmPool->spFill += num; in BmPoolRelease()
121 …bm_buffer *)PTR_MOVE(p_BmPool->sp, sizeof(struct bm_buffer) * (p_BmPool->spFill - p_BmPool->spBufs… in BmPoolRelease()
126 p_BmPool->spFill -= p_BmPool->spBufsCmd; in BmPoolRelease()
145 ((p_BmPool->spFill - num) < p_BmPool->spMinBufs)) in BmPoolAcquire()
147 p_BmPool->spFill += BmPortalAcquire(h_BmPortal, in BmPoolAcquire()
149 … (struct bm_buffer *)PTR_MOVE(p_BmPool->sp, sizeof(struct bm_buffer) * (p_BmPool->spFill)), in BmPoolAcquire()
152 else if (p_BmPool->spFill < num) in BmPoolAcquire()
154 if (!p_BmPool->spFill) in BmPoolAcquire()
157 PTR_MOVE(p_BmPool->sp, sizeof(struct bm_buffer) * (p_BmPool->spFill - num)), in BmPoolAcquire()
159 p_BmPool->spFill -= num; in BmPoolAcquire()