Lines Matching refs:evtp
156 struct lpfc_work_evt *evtp;
223 evtp = &ndlp->dev_loss_evt;
225 if (!list_empty(&evtp->evt_listp)) {
254 evtp->evt_arg1 = lpfc_nlp_get(ndlp);
257 if (evtp->evt_arg1) {
258 evtp->evt = LPFC_EVT_DEV_LOSS;
259 list_add_tail(&evtp->evt_listp, &phba->work_list);
743 * @evtp: Event data structure.
751 struct lpfc_work_evt *evtp)
759 fast_evt_data = container_of(evtp, struct lpfc_fast_path_event,
819 struct lpfc_work_evt *evtp = NULL;
828 list_remove_head((&phba->work_list), evtp, typeof(*evtp),
833 switch (evtp->evt) {
835 ndlp = (struct lpfc_nodelist *) (evtp->evt_arg1);
846 ndlp = (struct lpfc_nodelist *)(evtp->evt_arg1);
860 ndlp = (struct lpfc_nodelist *)(evtp->evt_arg1);
872 *(int *) (evtp->evt_arg1) = lpfc_online(phba);
874 *(int *) (evtp->evt_arg1) = 0;
875 complete((struct completion *)(evtp->evt_arg2));
880 *(int *)(evtp->evt_arg1) = 0;
881 complete((struct completion *)(evtp->evt_arg2));
886 *(int *)(evtp->evt_arg1) =
889 complete((struct completion *)(evtp->evt_arg2));
896 *(int *)(evtp->evt_arg1) =
899 complete((struct completion *)(evtp->evt_arg2));
903 *(int *)(evtp->evt_arg1)
907 complete((struct completion *)(evtp->evt_arg2));
910 lpfc_send_fastpath_evt(phba, evtp);
919 kfree(evtp);
1125 struct lpfc_work_evt *evtp;
1132 evtp = kmalloc(sizeof(struct lpfc_work_evt), GFP_ATOMIC);
1133 if (!evtp)
1136 evtp->evt_arg1 = arg1;
1137 evtp->evt_arg2 = arg2;
1138 evtp->evt = evt;
1141 list_add_tail(&evtp->evt_listp, &phba->work_list);