Searched refs:evtp (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/scsi/lpfc/ |
H A D | lpfc_hbadisc.c | 111 struct lpfc_work_evt *evtp; lpfc_dev_loss_tmo_callbk() local 156 evtp = &ndlp->dev_loss_evt; lpfc_dev_loss_tmo_callbk() 158 if (!list_empty(&evtp->evt_listp)) { lpfc_dev_loss_tmo_callbk() 173 evtp->evt_arg1 = lpfc_nlp_get(ndlp); lpfc_dev_loss_tmo_callbk() 176 if (evtp->evt_arg1) { lpfc_dev_loss_tmo_callbk() 177 evtp->evt = LPFC_EVT_DEV_LOSS; lpfc_dev_loss_tmo_callbk() 178 list_add_tail(&evtp->evt_listp, &phba->work_list); lpfc_dev_loss_tmo_callbk() 435 * @evtp: Event data structure. 443 struct lpfc_work_evt *evtp) lpfc_send_fastpath_evt() 451 fast_evt_data = container_of(evtp, struct lpfc_fast_path_event, lpfc_send_fastpath_evt() 510 struct lpfc_work_evt *evtp = NULL; lpfc_work_list_done() local 518 list_remove_head((&phba->work_list), evtp, typeof(*evtp), lpfc_work_list_done() 522 switch (evtp->evt) { lpfc_work_list_done() 524 ndlp = (struct lpfc_nodelist *) (evtp->evt_arg1); lpfc_work_list_done() 533 ndlp = (struct lpfc_nodelist *)(evtp->evt_arg1); lpfc_work_list_done() 548 *(int *) (evtp->evt_arg1) = lpfc_online(phba); lpfc_work_list_done() 550 *(int *) (evtp->evt_arg1) = 0; lpfc_work_list_done() 551 complete((struct completion *)(evtp->evt_arg2)); lpfc_work_list_done() 556 *(int *)(evtp->evt_arg1) = 0; lpfc_work_list_done() 557 complete((struct completion *)(evtp->evt_arg2)); lpfc_work_list_done() 562 *(int *)(evtp->evt_arg1) = lpfc_work_list_done() 565 complete((struct completion *)(evtp->evt_arg2)); lpfc_work_list_done() 572 *(int *)(evtp->evt_arg1) = lpfc_work_list_done() 575 complete((struct completion *)(evtp->evt_arg2)); lpfc_work_list_done() 579 *(int *)(evtp->evt_arg1) lpfc_work_list_done() 583 complete((struct completion *)(evtp->evt_arg2)); lpfc_work_list_done() 586 lpfc_send_fastpath_evt(phba, evtp); lpfc_work_list_done() 595 kfree(evtp); lpfc_work_list_done() 773 struct lpfc_work_evt *evtp; lpfc_workq_post_event() local 780 evtp = kmalloc(sizeof(struct lpfc_work_evt), GFP_ATOMIC); lpfc_workq_post_event() 781 if (!evtp) lpfc_workq_post_event() 784 evtp->evt_arg1 = arg1; lpfc_workq_post_event() 785 evtp->evt_arg2 = arg2; lpfc_workq_post_event() 786 evtp->evt = evt; lpfc_workq_post_event() 789 list_add_tail(&evtp->evt_listp, &phba->work_list); lpfc_workq_post_event() 442 lpfc_send_fastpath_evt(struct lpfc_hba *phba, struct lpfc_work_evt *evtp) lpfc_send_fastpath_evt() argument
|
H A D | lpfc_els.c | 2914 struct lpfc_work_evt *evtp; lpfc_cancel_retry_delay_tmo() local 2926 evtp = &nlp->els_retry_evt; lpfc_cancel_retry_delay_tmo() 2927 lpfc_nlp_put((struct lpfc_nodelist *)evtp->evt_arg1); lpfc_cancel_retry_delay_tmo() 2974 struct lpfc_work_evt *evtp = &ndlp->els_retry_evt; lpfc_els_retry_delay() local 2977 if (!list_empty(&evtp->evt_listp)) { lpfc_els_retry_delay() 2985 evtp->evt_arg1 = lpfc_nlp_get(ndlp); lpfc_els_retry_delay() 2986 if (evtp->evt_arg1) { lpfc_els_retry_delay() 2987 evtp->evt = LPFC_EVT_ELS_RETRY; lpfc_els_retry_delay() 2988 list_add_tail(&evtp->evt_listp, &phba->work_list); lpfc_els_retry_delay()
|
Completed in 436 milliseconds