Lines Matching refs:cq_event
840 struct lpfc_cq_event *cq_event; in lpfc_sli4_free_sp_events() local
850 cq_event, struct lpfc_cq_event, list); in lpfc_sli4_free_sp_events()
853 switch (bf_get(lpfc_wcqe_c_code, &cq_event->cqe.wcqe_cmpl)) { in lpfc_sli4_free_sp_events()
855 rspiocbq = container_of(cq_event, struct lpfc_iocbq, in lpfc_sli4_free_sp_events()
856 cq_event); in lpfc_sli4_free_sp_events()
861 dmabuf = container_of(cq_event, struct hbq_dmabuf, in lpfc_sli4_free_sp_events()
862 cq_event); in lpfc_sli4_free_sp_events()
4602 struct lpfc_cq_event *cq_event; in lpfc_sli4_async_event_proc() local
4613 cq_event, struct lpfc_cq_event, list); in lpfc_sli4_async_event_proc()
4616 switch (bf_get(lpfc_trailer_code, &cq_event->cqe.mcqe_cmpl)) { in lpfc_sli4_async_event_proc()
4619 &cq_event->cqe.acqe_link); in lpfc_sli4_async_event_proc()
4622 lpfc_sli4_async_fip_evt(phba, &cq_event->cqe.acqe_fip); in lpfc_sli4_async_event_proc()
4626 &cq_event->cqe.acqe_dcbx); in lpfc_sli4_async_event_proc()
4630 &cq_event->cqe.acqe_grp5); in lpfc_sli4_async_event_proc()
4633 lpfc_sli4_async_fc_evt(phba, &cq_event->cqe.acqe_fc); in lpfc_sli4_async_event_proc()
4636 lpfc_sli4_async_sli_evt(phba, &cq_event->cqe.acqe_sli); in lpfc_sli4_async_event_proc()
4642 &cq_event->cqe.mcqe_cmpl)); in lpfc_sli4_async_event_proc()
4646 lpfc_sli4_cq_event_release(phba, cq_event); in lpfc_sli4_async_event_proc()
7860 struct lpfc_cq_event *cq_event; in lpfc_sli4_cq_event_pool_create() local
7864 cq_event = kmalloc(sizeof(struct lpfc_cq_event), GFP_KERNEL); in lpfc_sli4_cq_event_pool_create()
7865 if (!cq_event) in lpfc_sli4_cq_event_pool_create()
7867 list_add_tail(&cq_event->list, in lpfc_sli4_cq_event_pool_create()
7890 struct lpfc_cq_event *cq_event, *next_cq_event; in lpfc_sli4_cq_event_pool_destroy() local
7892 list_for_each_entry_safe(cq_event, next_cq_event, in lpfc_sli4_cq_event_pool_destroy()
7894 list_del(&cq_event->list); in lpfc_sli4_cq_event_pool_destroy()
7895 kfree(cq_event); in lpfc_sli4_cq_event_pool_destroy()
7912 struct lpfc_cq_event *cq_event = NULL; in __lpfc_sli4_cq_event_alloc() local
7914 list_remove_head(&phba->sli4_hba.sp_cqe_event_pool, cq_event, in __lpfc_sli4_cq_event_alloc()
7916 return cq_event; in __lpfc_sli4_cq_event_alloc()
7932 struct lpfc_cq_event *cq_event; in lpfc_sli4_cq_event_alloc() local
7936 cq_event = __lpfc_sli4_cq_event_alloc(phba); in lpfc_sli4_cq_event_alloc()
7938 return cq_event; in lpfc_sli4_cq_event_alloc()
7951 struct lpfc_cq_event *cq_event) in __lpfc_sli4_cq_event_release() argument
7953 list_add_tail(&cq_event->list, &phba->sli4_hba.sp_cqe_event_pool); in __lpfc_sli4_cq_event_release()
7966 struct lpfc_cq_event *cq_event) in lpfc_sli4_cq_event_release() argument
7970 __lpfc_sli4_cq_event_release(phba, cq_event); in lpfc_sli4_cq_event_release()