Lines Matching refs:fast_path_evt
3603 struct lpfc_fast_path_event *fast_path_evt = NULL; in lpfc_send_scsi_error_event() local
3613 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3614 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3616 fast_path_evt->un.scsi_evt.event_type = in lpfc_send_scsi_error_event()
3618 fast_path_evt->un.scsi_evt.subcategory = in lpfc_send_scsi_error_event()
3621 fast_path_evt->un.scsi_evt.lun = cmnd->device->lun; in lpfc_send_scsi_error_event()
3622 memcpy(&fast_path_evt->un.scsi_evt.wwpn, in lpfc_send_scsi_error_event()
3624 memcpy(&fast_path_evt->un.scsi_evt.wwnn, in lpfc_send_scsi_error_event()
3628 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3629 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3631 fast_path_evt->un.check_cond_evt.scsi_event.event_type = in lpfc_send_scsi_error_event()
3633 fast_path_evt->un.check_cond_evt.scsi_event.subcategory = in lpfc_send_scsi_error_event()
3635 fast_path_evt->un.check_cond_evt.scsi_event.lun = in lpfc_send_scsi_error_event()
3637 memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwpn, in lpfc_send_scsi_error_event()
3639 memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwnn, in lpfc_send_scsi_error_event()
3641 fast_path_evt->un.check_cond_evt.sense_key = in lpfc_send_scsi_error_event()
3643 fast_path_evt->un.check_cond_evt.asc = cmnd->sense_buffer[12]; in lpfc_send_scsi_error_event()
3644 fast_path_evt->un.check_cond_evt.ascq = cmnd->sense_buffer[13]; in lpfc_send_scsi_error_event()
3654 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3655 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3657 fast_path_evt->un.read_check_error.header.event_type = in lpfc_send_scsi_error_event()
3659 fast_path_evt->un.read_check_error.header.subcategory = in lpfc_send_scsi_error_event()
3661 memcpy(&fast_path_evt->un.read_check_error.header.wwpn, in lpfc_send_scsi_error_event()
3663 memcpy(&fast_path_evt->un.read_check_error.header.wwnn, in lpfc_send_scsi_error_event()
3665 fast_path_evt->un.read_check_error.lun = cmnd->device->lun; in lpfc_send_scsi_error_event()
3666 fast_path_evt->un.read_check_error.opcode = cmnd->cmnd[0]; in lpfc_send_scsi_error_event()
3667 fast_path_evt->un.read_check_error.fcpiparam = in lpfc_send_scsi_error_event()
3672 fast_path_evt->vport = vport; in lpfc_send_scsi_error_event()
3674 list_add_tail(&fast_path_evt->work_evt.evt_listp, &phba->work_list); in lpfc_send_scsi_error_event()
3958 struct lpfc_fast_path_event *fast_path_evt; in lpfc_scsi_cmd_iocb_cmpl() local
4044 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_scsi_cmd_iocb_cmpl()
4045 if (!fast_path_evt) in lpfc_scsi_cmd_iocb_cmpl()
4047 fast_path_evt->un.fabric_evt.event_type = in lpfc_scsi_cmd_iocb_cmpl()
4049 fast_path_evt->un.fabric_evt.subcategory = in lpfc_scsi_cmd_iocb_cmpl()
4053 memcpy(&fast_path_evt->un.fabric_evt.wwpn, in lpfc_scsi_cmd_iocb_cmpl()
4056 memcpy(&fast_path_evt->un.fabric_evt.wwnn, in lpfc_scsi_cmd_iocb_cmpl()
4060 fast_path_evt->vport = vport; in lpfc_scsi_cmd_iocb_cmpl()
4061 fast_path_evt->work_evt.evt = in lpfc_scsi_cmd_iocb_cmpl()
4064 list_add_tail(&fast_path_evt->work_evt.evt_listp, in lpfc_scsi_cmd_iocb_cmpl()