Lines Matching refs:fast_path_evt
3583 struct lpfc_fast_path_event *fast_path_evt = NULL; in lpfc_send_scsi_error_event() local
3593 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3594 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3596 fast_path_evt->un.scsi_evt.event_type = in lpfc_send_scsi_error_event()
3598 fast_path_evt->un.scsi_evt.subcategory = in lpfc_send_scsi_error_event()
3601 fast_path_evt->un.scsi_evt.lun = cmnd->device->lun; in lpfc_send_scsi_error_event()
3602 memcpy(&fast_path_evt->un.scsi_evt.wwpn, in lpfc_send_scsi_error_event()
3604 memcpy(&fast_path_evt->un.scsi_evt.wwnn, in lpfc_send_scsi_error_event()
3608 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3609 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3611 fast_path_evt->un.check_cond_evt.scsi_event.event_type = in lpfc_send_scsi_error_event()
3613 fast_path_evt->un.check_cond_evt.scsi_event.subcategory = in lpfc_send_scsi_error_event()
3615 fast_path_evt->un.check_cond_evt.scsi_event.lun = in lpfc_send_scsi_error_event()
3617 memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwpn, in lpfc_send_scsi_error_event()
3619 memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwnn, in lpfc_send_scsi_error_event()
3621 fast_path_evt->un.check_cond_evt.sense_key = in lpfc_send_scsi_error_event()
3623 fast_path_evt->un.check_cond_evt.asc = cmnd->sense_buffer[12]; in lpfc_send_scsi_error_event()
3624 fast_path_evt->un.check_cond_evt.ascq = cmnd->sense_buffer[13]; in lpfc_send_scsi_error_event()
3634 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3635 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3637 fast_path_evt->un.read_check_error.header.event_type = in lpfc_send_scsi_error_event()
3639 fast_path_evt->un.read_check_error.header.subcategory = in lpfc_send_scsi_error_event()
3641 memcpy(&fast_path_evt->un.read_check_error.header.wwpn, in lpfc_send_scsi_error_event()
3643 memcpy(&fast_path_evt->un.read_check_error.header.wwnn, in lpfc_send_scsi_error_event()
3645 fast_path_evt->un.read_check_error.lun = cmnd->device->lun; in lpfc_send_scsi_error_event()
3646 fast_path_evt->un.read_check_error.opcode = cmnd->cmnd[0]; in lpfc_send_scsi_error_event()
3647 fast_path_evt->un.read_check_error.fcpiparam = in lpfc_send_scsi_error_event()
3652 fast_path_evt->vport = vport; in lpfc_send_scsi_error_event()
3654 list_add_tail(&fast_path_evt->work_evt.evt_listp, &phba->work_list); in lpfc_send_scsi_error_event()
4028 struct lpfc_fast_path_event *fast_path_evt; in lpfc_fcp_io_cmd_wqe_cmpl() local
4149 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_fcp_io_cmd_wqe_cmpl()
4150 if (!fast_path_evt) in lpfc_fcp_io_cmd_wqe_cmpl()
4152 fast_path_evt->un.fabric_evt.event_type = in lpfc_fcp_io_cmd_wqe_cmpl()
4154 fast_path_evt->un.fabric_evt.subcategory = in lpfc_fcp_io_cmd_wqe_cmpl()
4158 memcpy(&fast_path_evt->un.fabric_evt.wwpn, in lpfc_fcp_io_cmd_wqe_cmpl()
4161 memcpy(&fast_path_evt->un.fabric_evt.wwnn, in lpfc_fcp_io_cmd_wqe_cmpl()
4165 fast_path_evt->vport = vport; in lpfc_fcp_io_cmd_wqe_cmpl()
4166 fast_path_evt->work_evt.evt = in lpfc_fcp_io_cmd_wqe_cmpl()
4169 list_add_tail(&fast_path_evt->work_evt.evt_listp, in lpfc_fcp_io_cmd_wqe_cmpl()
4363 struct lpfc_fast_path_event *fast_path_evt; in lpfc_scsi_cmd_iocb_cmpl() local
4467 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_scsi_cmd_iocb_cmpl()
4468 if (!fast_path_evt) in lpfc_scsi_cmd_iocb_cmpl()
4470 fast_path_evt->un.fabric_evt.event_type = in lpfc_scsi_cmd_iocb_cmpl()
4472 fast_path_evt->un.fabric_evt.subcategory = in lpfc_scsi_cmd_iocb_cmpl()
4476 memcpy(&fast_path_evt->un.fabric_evt.wwpn, in lpfc_scsi_cmd_iocb_cmpl()
4479 memcpy(&fast_path_evt->un.fabric_evt.wwnn, in lpfc_scsi_cmd_iocb_cmpl()
4483 fast_path_evt->vport = vport; in lpfc_scsi_cmd_iocb_cmpl()
4484 fast_path_evt->work_evt.evt = in lpfc_scsi_cmd_iocb_cmpl()
4487 list_add_tail(&fast_path_evt->work_evt.evt_listp, in lpfc_scsi_cmd_iocb_cmpl()