Searched refs:epd_pool (Results 1 – 3 of 3) sorted by relevance
3443 struct lpfc_epd_pool *epd_pool; in lpfc_create_expedite_pool() local3446 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[all …]
21747 struct lpfc_epd_pool *epd_pool; in lpfc_release_io_buf() local21767 epd_pool = &phba->epd_pool; in lpfc_release_io_buf()21768 spin_lock_irqsave(&epd_pool->lock, iflag); in lpfc_release_io_buf()21769 list_add_tail(&lpfc_ncmd->list, &epd_pool->list); in lpfc_release_io_buf()21770 epd_pool->count++; in lpfc_release_io_buf()21771 spin_unlock_irqrestore(&epd_pool->lock, iflag); in lpfc_release_io_buf()21885 struct lpfc_epd_pool *epd_pool; in lpfc_get_io_buf_from_expedite_pool() local21887 epd_pool = &phba->epd_pool; in lpfc_get_io_buf_from_expedite_pool()21890 spin_lock_irqsave(&epd_pool->lock, iflag); in lpfc_get_io_buf_from_expedite_pool()21891 if (epd_pool->count > 0) { in lpfc_get_io_buf_from_expedite_pool()[all …]
987 struct lpfc_epd_pool epd_pool; member