Lines Matching refs:cq_event

842 	struct lpfc_cq_event *cq_event;  in lpfc_sli4_free_sp_events()  local
852 cq_event, struct lpfc_cq_event, list); in lpfc_sli4_free_sp_events()
855 switch (bf_get(lpfc_wcqe_c_code, &cq_event->cqe.wcqe_cmpl)) { in lpfc_sli4_free_sp_events()
857 rspiocbq = container_of(cq_event, struct lpfc_iocbq, in lpfc_sli4_free_sp_events()
858 cq_event); in lpfc_sli4_free_sp_events()
863 dmabuf = container_of(cq_event, struct hbq_dmabuf, in lpfc_sli4_free_sp_events()
864 cq_event); in lpfc_sli4_free_sp_events()
4622 struct lpfc_cq_event *cq_event; in lpfc_sli4_async_event_proc() local
4633 cq_event, struct lpfc_cq_event, list); in lpfc_sli4_async_event_proc()
4636 switch (bf_get(lpfc_trailer_code, &cq_event->cqe.mcqe_cmpl)) { in lpfc_sli4_async_event_proc()
4639 &cq_event->cqe.acqe_link); in lpfc_sli4_async_event_proc()
4642 lpfc_sli4_async_fip_evt(phba, &cq_event->cqe.acqe_fip); in lpfc_sli4_async_event_proc()
4646 &cq_event->cqe.acqe_dcbx); in lpfc_sli4_async_event_proc()
4650 &cq_event->cqe.acqe_grp5); in lpfc_sli4_async_event_proc()
4653 lpfc_sli4_async_fc_evt(phba, &cq_event->cqe.acqe_fc); in lpfc_sli4_async_event_proc()
4656 lpfc_sli4_async_sli_evt(phba, &cq_event->cqe.acqe_sli); in lpfc_sli4_async_event_proc()
4662 &cq_event->cqe.mcqe_cmpl)); in lpfc_sli4_async_event_proc()
4666 lpfc_sli4_cq_event_release(phba, cq_event); in lpfc_sli4_async_event_proc()
7881 struct lpfc_cq_event *cq_event; in lpfc_sli4_cq_event_pool_create() local
7885 cq_event = kmalloc(sizeof(struct lpfc_cq_event), GFP_KERNEL); in lpfc_sli4_cq_event_pool_create()
7886 if (!cq_event) in lpfc_sli4_cq_event_pool_create()
7888 list_add_tail(&cq_event->list, in lpfc_sli4_cq_event_pool_create()
7911 struct lpfc_cq_event *cq_event, *next_cq_event; in lpfc_sli4_cq_event_pool_destroy() local
7913 list_for_each_entry_safe(cq_event, next_cq_event, in lpfc_sli4_cq_event_pool_destroy()
7915 list_del(&cq_event->list); in lpfc_sli4_cq_event_pool_destroy()
7916 kfree(cq_event); in lpfc_sli4_cq_event_pool_destroy()
7933 struct lpfc_cq_event *cq_event = NULL; in __lpfc_sli4_cq_event_alloc() local
7935 list_remove_head(&phba->sli4_hba.sp_cqe_event_pool, cq_event, in __lpfc_sli4_cq_event_alloc()
7937 return cq_event; in __lpfc_sli4_cq_event_alloc()
7953 struct lpfc_cq_event *cq_event; in lpfc_sli4_cq_event_alloc() local
7957 cq_event = __lpfc_sli4_cq_event_alloc(phba); in lpfc_sli4_cq_event_alloc()
7959 return cq_event; in lpfc_sli4_cq_event_alloc()
7972 struct lpfc_cq_event *cq_event) in __lpfc_sli4_cq_event_release() argument
7974 list_add_tail(&cq_event->list, &phba->sli4_hba.sp_cqe_event_pool); in __lpfc_sli4_cq_event_release()
7987 struct lpfc_cq_event *cq_event) in lpfc_sli4_cq_event_release() argument
7991 __lpfc_sli4_cq_event_release(phba, cq_event); in lpfc_sli4_cq_event_release()