Lines Matching refs:pbl_pool
3412 struct lpfc_pbl_pool *pbl_pool; in lpfc_create_multixri_pools() local
3454 pbl_pool = &multixri_pool->pbl_pool; in lpfc_create_multixri_pools()
3455 spin_lock_init(&pbl_pool->lock); in lpfc_create_multixri_pools()
3457 spin_lock(&pbl_pool->lock); in lpfc_create_multixri_pools()
3458 INIT_LIST_HEAD(&pbl_pool->list); in lpfc_create_multixri_pools()
3461 list_move_tail(&lpfc_ncmd->list, &pbl_pool->list); in lpfc_create_multixri_pools()
3463 pbl_pool->count++; in lpfc_create_multixri_pools()
3467 pbl_pool->count, i); in lpfc_create_multixri_pools()
3468 spin_unlock(&pbl_pool->lock); in lpfc_create_multixri_pools()
3498 struct lpfc_pbl_pool *pbl_pool; in lpfc_destroy_multixri_pools() local
3520 pbl_pool = &multixri_pool->pbl_pool; in lpfc_destroy_multixri_pools()
3521 spin_lock(&pbl_pool->lock); in lpfc_destroy_multixri_pools()
3525 pbl_pool->count, i); in lpfc_destroy_multixri_pools()
3528 &pbl_pool->list, list) { in lpfc_destroy_multixri_pools()
3532 pbl_pool->count--; in lpfc_destroy_multixri_pools()
3535 INIT_LIST_HEAD(&pbl_pool->list); in lpfc_destroy_multixri_pools()
3536 pbl_pool->count = 0; in lpfc_destroy_multixri_pools()
3538 spin_unlock(&pbl_pool->lock); in lpfc_destroy_multixri_pools()