Lines Matching refs:fast_path_evt
3570 struct lpfc_fast_path_event *fast_path_evt = NULL; in lpfc_send_scsi_error_event() local
3580 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3581 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3583 fast_path_evt->un.scsi_evt.event_type = in lpfc_send_scsi_error_event()
3585 fast_path_evt->un.scsi_evt.subcategory = in lpfc_send_scsi_error_event()
3588 fast_path_evt->un.scsi_evt.lun = cmnd->device->lun; in lpfc_send_scsi_error_event()
3589 memcpy(&fast_path_evt->un.scsi_evt.wwpn, in lpfc_send_scsi_error_event()
3591 memcpy(&fast_path_evt->un.scsi_evt.wwnn, in lpfc_send_scsi_error_event()
3595 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3596 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3598 fast_path_evt->un.check_cond_evt.scsi_event.event_type = in lpfc_send_scsi_error_event()
3600 fast_path_evt->un.check_cond_evt.scsi_event.subcategory = in lpfc_send_scsi_error_event()
3602 fast_path_evt->un.check_cond_evt.scsi_event.lun = in lpfc_send_scsi_error_event()
3604 memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwpn, in lpfc_send_scsi_error_event()
3606 memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwnn, in lpfc_send_scsi_error_event()
3608 fast_path_evt->un.check_cond_evt.sense_key = in lpfc_send_scsi_error_event()
3610 fast_path_evt->un.check_cond_evt.asc = cmnd->sense_buffer[12]; in lpfc_send_scsi_error_event()
3611 fast_path_evt->un.check_cond_evt.ascq = cmnd->sense_buffer[13]; in lpfc_send_scsi_error_event()
3621 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3622 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3624 fast_path_evt->un.read_check_error.header.event_type = in lpfc_send_scsi_error_event()
3626 fast_path_evt->un.read_check_error.header.subcategory = in lpfc_send_scsi_error_event()
3628 memcpy(&fast_path_evt->un.read_check_error.header.wwpn, in lpfc_send_scsi_error_event()
3630 memcpy(&fast_path_evt->un.read_check_error.header.wwnn, in lpfc_send_scsi_error_event()
3632 fast_path_evt->un.read_check_error.lun = cmnd->device->lun; in lpfc_send_scsi_error_event()
3633 fast_path_evt->un.read_check_error.opcode = cmnd->cmnd[0]; in lpfc_send_scsi_error_event()
3634 fast_path_evt->un.read_check_error.fcpiparam = in lpfc_send_scsi_error_event()
3639 fast_path_evt->vport = vport; in lpfc_send_scsi_error_event()
3641 list_add_tail(&fast_path_evt->work_evt.evt_listp, &phba->work_list); in lpfc_send_scsi_error_event()
3871 struct lpfc_fast_path_event *fast_path_evt; in lpfc_scsi_cmd_iocb_cmpl() local
3958 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_scsi_cmd_iocb_cmpl()
3959 if (!fast_path_evt) in lpfc_scsi_cmd_iocb_cmpl()
3961 fast_path_evt->un.fabric_evt.event_type = in lpfc_scsi_cmd_iocb_cmpl()
3963 fast_path_evt->un.fabric_evt.subcategory = in lpfc_scsi_cmd_iocb_cmpl()
3967 memcpy(&fast_path_evt->un.fabric_evt.wwpn, in lpfc_scsi_cmd_iocb_cmpl()
3970 memcpy(&fast_path_evt->un.fabric_evt.wwnn, in lpfc_scsi_cmd_iocb_cmpl()
3974 fast_path_evt->vport = vport; in lpfc_scsi_cmd_iocb_cmpl()
3975 fast_path_evt->work_evt.evt = in lpfc_scsi_cmd_iocb_cmpl()
3978 list_add_tail(&fast_path_evt->work_evt.evt_listp, in lpfc_scsi_cmd_iocb_cmpl()