Lines Matching refs:p_BmPoolDriverParams
221 … p_BmPool->p_BmPoolDriverParams = (t_BmPoolDriverParams *)XX_Malloc(sizeof(t_BmPoolDriverParams)); in BM_POOL_Config()
222 if (!p_BmPool->p_BmPoolDriverParams) in BM_POOL_Config()
228 memset(p_BmPool->p_BmPoolDriverParams, 0, sizeof(t_BmPoolDriverParams)); in BM_POOL_Config()
248 p_BmPool->p_BmPoolDriverParams->dynamicBpid = DEFAULT_dynamicBpid; in BM_POOL_Config()
249 p_BmPool->p_BmPoolDriverParams->useDepletion = DEFAULT_useDepletion; in BM_POOL_Config()
250 p_BmPool->p_BmPoolDriverParams->useStockpile = DEFAULT_useStockpile; in BM_POOL_Config()
267 SANITY_CHECK_RETURN_ERROR(p_BmPool->p_BmPoolDriverParams, E_INVALID_HANDLE); in BM_POOL_Init()
269 p_BmPool->flags |= (p_BmPool->p_BmPoolDriverParams->dynamicBpid)?BMAN_POOL_FLAG_DYNAMIC_BPID:0; in BM_POOL_Init()
270 p_BmPool->flags |= (p_BmPool->p_BmPoolDriverParams->useStockpile)?BMAN_POOL_FLAG_STOCKPILE:0; in BM_POOL_Init()
272 (p_BmPool->p_BmPoolDriverParams->useDepletion))?BMAN_POOL_FLAG_DEPLETION:0; in BM_POOL_Init()
292 …if(BmSetPoolThresholds(p_BmPool->h_Bm, p_BmPool->bpid, p_BmPool->p_BmPoolDriverParams->depletionTh… in BM_POOL_Init()
312 XX_Free(p_BmPool->p_BmPoolDriverParams); in BM_POOL_Init()
313 p_BmPool->p_BmPoolDriverParams = NULL; in BM_POOL_Init()
339 SANITY_CHECK_RETURN_ERROR(p_BmPool->p_BmPoolDriverParams, E_INVALID_HANDLE); in BM_POOL_ConfigBpid()
342 p_BmPool->p_BmPoolDriverParams->dynamicBpid = FALSE; in BM_POOL_ConfigBpid()
354 SANITY_CHECK_RETURN_ERROR(p_BmPool->p_BmPoolDriverParams, E_INVALID_HANDLE); in BM_POOL_ConfigDepletion()
357 p_BmPool->p_BmPoolDriverParams->useDepletion = TRUE; in BM_POOL_ConfigDepletion()
359 memcpy(&p_BmPool->p_BmPoolDriverParams->depletionThresholds, in BM_POOL_ConfigDepletion()
361 sizeof(p_BmPool->p_BmPoolDriverParams->depletionThresholds)); in BM_POOL_ConfigDepletion()
371 SANITY_CHECK_RETURN_ERROR(p_BmPool->p_BmPoolDriverParams, E_INVALID_HANDLE); in BM_POOL_ConfigStockpile()
378 p_BmPool->p_BmPoolDriverParams->useStockpile = TRUE; in BM_POOL_ConfigStockpile()
395 SANITY_CHECK_RETURN_ERROR(p_BmPool->p_BmPoolDriverParams, E_INVALID_HANDLE); in BM_POOL_ConfigBuffContextMode()
411 SANITY_CHECK_RETURN_VALUE(!p_BmPool->p_BmPoolDriverParams, E_INVALID_HANDLE, NULL); in BM_POOL_GetBuf()
448 SANITY_CHECK_RETURN_ERROR(!p_BmPool->p_BmPoolDriverParams, E_INVALID_STATE); in BM_POOL_PutBuf()
480 SANITY_CHECK_RETURN_ERROR(!p_BmPool->p_BmPoolDriverParams, E_INVALID_STATE); in BM_POOL_FillBufs()
519 SANITY_CHECK_RETURN_VALUE(!p_BmPool->p_BmPoolDriverParams, E_INVALID_HANDLE, 0); in BM_POOL_GetId()
529 SANITY_CHECK_RETURN_VALUE(!p_BmPool->p_BmPoolDriverParams, E_INVALID_HANDLE, 0); in BM_POOL_GetBufferSize()
539 SANITY_CHECK_RETURN_VALUE(!p_BmPool->p_BmPoolDriverParams, E_INVALID_HANDLE, NULL); in BM_POOL_GetBufferContext()
553 SANITY_CHECK_RETURN_VALUE(!p_BmPool->p_BmPoolDriverParams, E_INVALID_HANDLE, 0); in BM_POOL_GetCounter()