Lines Matching refs:epd_pool
3443 struct lpfc_epd_pool *epd_pool; in lpfc_create_expedite_pool() local
3446 epd_pool = &phba->epd_pool; in lpfc_create_expedite_pool()
3449 spin_lock_init(&epd_pool->lock); in lpfc_create_expedite_pool()
3451 spin_lock(&epd_pool->lock); in lpfc_create_expedite_pool()
3452 INIT_LIST_HEAD(&epd_pool->list); in lpfc_create_expedite_pool()
3455 list_move_tail(&lpfc_ncmd->list, &epd_pool->list); in lpfc_create_expedite_pool()
3458 epd_pool->count++; in lpfc_create_expedite_pool()
3459 if (epd_pool->count >= XRI_BATCH) in lpfc_create_expedite_pool()
3462 spin_unlock(&epd_pool->lock); in lpfc_create_expedite_pool()
3478 struct lpfc_epd_pool *epd_pool; in lpfc_destroy_expedite_pool() local
3481 epd_pool = &phba->epd_pool; in lpfc_destroy_expedite_pool()
3485 spin_lock(&epd_pool->lock); in lpfc_destroy_expedite_pool()
3487 &epd_pool->list, list) { in lpfc_destroy_expedite_pool()
3492 epd_pool->count--; in lpfc_destroy_expedite_pool()
3494 spin_unlock(&epd_pool->lock); in lpfc_destroy_expedite_pool()