Lines Matching defs:cq_event
925 struct lpfc_cq_event *cq_event;
935 cq_event, struct lpfc_cq_event, list);
938 switch (bf_get(lpfc_wcqe_c_code, &cq_event->cqe.wcqe_cmpl)) {
940 rspiocbq = container_of(cq_event, struct lpfc_iocbq,
941 cq_event);
946 dmabuf = container_of(cq_event, struct hbq_dmabuf,
947 cq_event);
7310 struct lpfc_cq_event *cq_event;
7322 cq_event, struct lpfc_cq_event, list);
7327 switch (bf_get(lpfc_trailer_code, &cq_event->cqe.mcqe_cmpl)) {
7330 &cq_event->cqe.acqe_link);
7333 lpfc_sli4_async_fip_evt(phba, &cq_event->cqe.acqe_fip);
7337 &cq_event->cqe.acqe_dcbx);
7341 &cq_event->cqe.acqe_grp5);
7344 lpfc_sli4_async_fc_evt(phba, &cq_event->cqe.acqe_fc);
7347 lpfc_sli4_async_sli_evt(phba, &cq_event->cqe.acqe_sli);
7357 &cq_event->cqe.mcqe_cmpl));
7362 lpfc_sli4_cq_event_release(phba, cq_event);
11524 struct lpfc_cq_event *cq_event;
11528 cq_event = kmalloc(sizeof(struct lpfc_cq_event), GFP_KERNEL);
11529 if (!cq_event)
11531 list_add_tail(&cq_event->list,
11554 struct lpfc_cq_event *cq_event, *next_cq_event;
11556 list_for_each_entry_safe(cq_event, next_cq_event,
11558 list_del(&cq_event->list);
11559 kfree(cq_event);
11576 struct lpfc_cq_event *cq_event = NULL;
11578 list_remove_head(&phba->sli4_hba.sp_cqe_event_pool, cq_event,
11580 return cq_event;
11596 struct lpfc_cq_event *cq_event;
11600 cq_event = __lpfc_sli4_cq_event_alloc(phba);
11602 return cq_event;
11608 * @cq_event: pointer to the completion queue event to be freed.
11615 struct lpfc_cq_event *cq_event)
11617 list_add_tail(&cq_event->list, &phba->sli4_hba.sp_cqe_event_pool);
11623 * @cq_event: pointer to the completion queue event to be freed.
11630 struct lpfc_cq_event *cq_event)
11634 __lpfc_sli4_cq_event_release(phba, cq_event);
11649 struct lpfc_cq_event *cq_event;
11667 list_remove_head(&cq_event_list, cq_event,
11669 lpfc_sli4_cq_event_release(phba, cq_event);