Lines Matching refs:cq_event
866 struct lpfc_cq_event *cq_event; in lpfc_sli4_free_sp_events() local
876 cq_event, struct lpfc_cq_event, list); in lpfc_sli4_free_sp_events()
879 switch (bf_get(lpfc_wcqe_c_code, &cq_event->cqe.wcqe_cmpl)) { in lpfc_sli4_free_sp_events()
881 rspiocbq = container_of(cq_event, struct lpfc_iocbq, in lpfc_sli4_free_sp_events()
882 cq_event); in lpfc_sli4_free_sp_events()
887 dmabuf = container_of(cq_event, struct hbq_dmabuf, in lpfc_sli4_free_sp_events()
888 cq_event); in lpfc_sli4_free_sp_events()
5960 struct lpfc_cq_event *cq_event; in lpfc_sli4_async_event_proc() local
5972 cq_event, struct lpfc_cq_event, list); in lpfc_sli4_async_event_proc()
5977 switch (bf_get(lpfc_trailer_code, &cq_event->cqe.mcqe_cmpl)) { in lpfc_sli4_async_event_proc()
5980 &cq_event->cqe.acqe_link); in lpfc_sli4_async_event_proc()
5983 lpfc_sli4_async_fip_evt(phba, &cq_event->cqe.acqe_fip); in lpfc_sli4_async_event_proc()
5987 &cq_event->cqe.acqe_dcbx); in lpfc_sli4_async_event_proc()
5991 &cq_event->cqe.acqe_grp5); in lpfc_sli4_async_event_proc()
5994 lpfc_sli4_async_fc_evt(phba, &cq_event->cqe.acqe_fc); in lpfc_sli4_async_event_proc()
5997 lpfc_sli4_async_sli_evt(phba, &cq_event->cqe.acqe_sli); in lpfc_sli4_async_event_proc()
6004 &cq_event->cqe.mcqe_cmpl)); in lpfc_sli4_async_event_proc()
6009 lpfc_sli4_cq_event_release(phba, cq_event); in lpfc_sli4_async_event_proc()
10032 struct lpfc_cq_event *cq_event; in lpfc_sli4_cq_event_pool_create() local
10036 cq_event = kmalloc(sizeof(struct lpfc_cq_event), GFP_KERNEL); in lpfc_sli4_cq_event_pool_create()
10037 if (!cq_event) in lpfc_sli4_cq_event_pool_create()
10039 list_add_tail(&cq_event->list, in lpfc_sli4_cq_event_pool_create()
10062 struct lpfc_cq_event *cq_event, *next_cq_event; in lpfc_sli4_cq_event_pool_destroy() local
10064 list_for_each_entry_safe(cq_event, next_cq_event, in lpfc_sli4_cq_event_pool_destroy()
10066 list_del(&cq_event->list); in lpfc_sli4_cq_event_pool_destroy()
10067 kfree(cq_event); in lpfc_sli4_cq_event_pool_destroy()
10084 struct lpfc_cq_event *cq_event = NULL; in __lpfc_sli4_cq_event_alloc() local
10086 list_remove_head(&phba->sli4_hba.sp_cqe_event_pool, cq_event, in __lpfc_sli4_cq_event_alloc()
10088 return cq_event; in __lpfc_sli4_cq_event_alloc()
10104 struct lpfc_cq_event *cq_event; in lpfc_sli4_cq_event_alloc() local
10108 cq_event = __lpfc_sli4_cq_event_alloc(phba); in lpfc_sli4_cq_event_alloc()
10110 return cq_event; in lpfc_sli4_cq_event_alloc()
10123 struct lpfc_cq_event *cq_event) in __lpfc_sli4_cq_event_release() argument
10125 list_add_tail(&cq_event->list, &phba->sli4_hba.sp_cqe_event_pool); in __lpfc_sli4_cq_event_release()
10138 struct lpfc_cq_event *cq_event) in lpfc_sli4_cq_event_release() argument
10142 __lpfc_sli4_cq_event_release(phba, cq_event); in lpfc_sli4_cq_event_release()
10157 struct lpfc_cq_event *cq_event; in lpfc_sli4_cq_event_release_all() local
10175 list_remove_head(&cq_event_list, cq_event, in lpfc_sli4_cq_event_release_all()
10177 lpfc_sli4_cq_event_release(phba, cq_event); in lpfc_sli4_cq_event_release_all()