Lines Matching refs:fast_path_evt

3567 	struct lpfc_fast_path_event *fast_path_evt = NULL;  in lpfc_send_scsi_error_event()  local
3577 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3578 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3580 fast_path_evt->un.scsi_evt.event_type = in lpfc_send_scsi_error_event()
3582 fast_path_evt->un.scsi_evt.subcategory = in lpfc_send_scsi_error_event()
3585 fast_path_evt->un.scsi_evt.lun = cmnd->device->lun; in lpfc_send_scsi_error_event()
3586 memcpy(&fast_path_evt->un.scsi_evt.wwpn, in lpfc_send_scsi_error_event()
3588 memcpy(&fast_path_evt->un.scsi_evt.wwnn, in lpfc_send_scsi_error_event()
3592 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3593 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3595 fast_path_evt->un.check_cond_evt.scsi_event.event_type = in lpfc_send_scsi_error_event()
3597 fast_path_evt->un.check_cond_evt.scsi_event.subcategory = in lpfc_send_scsi_error_event()
3599 fast_path_evt->un.check_cond_evt.scsi_event.lun = in lpfc_send_scsi_error_event()
3601 memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwpn, in lpfc_send_scsi_error_event()
3603 memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwnn, in lpfc_send_scsi_error_event()
3605 fast_path_evt->un.check_cond_evt.sense_key = in lpfc_send_scsi_error_event()
3607 fast_path_evt->un.check_cond_evt.asc = cmnd->sense_buffer[12]; in lpfc_send_scsi_error_event()
3608 fast_path_evt->un.check_cond_evt.ascq = cmnd->sense_buffer[13]; in lpfc_send_scsi_error_event()
3618 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3619 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3621 fast_path_evt->un.read_check_error.header.event_type = in lpfc_send_scsi_error_event()
3623 fast_path_evt->un.read_check_error.header.subcategory = in lpfc_send_scsi_error_event()
3625 memcpy(&fast_path_evt->un.read_check_error.header.wwpn, in lpfc_send_scsi_error_event()
3627 memcpy(&fast_path_evt->un.read_check_error.header.wwnn, in lpfc_send_scsi_error_event()
3629 fast_path_evt->un.read_check_error.lun = cmnd->device->lun; in lpfc_send_scsi_error_event()
3630 fast_path_evt->un.read_check_error.opcode = cmnd->cmnd[0]; in lpfc_send_scsi_error_event()
3631 fast_path_evt->un.read_check_error.fcpiparam = in lpfc_send_scsi_error_event()
3636 fast_path_evt->vport = vport; in lpfc_send_scsi_error_event()
3638 list_add_tail(&fast_path_evt->work_evt.evt_listp, &phba->work_list); in lpfc_send_scsi_error_event()
4012 struct lpfc_fast_path_event *fast_path_evt; in lpfc_fcp_io_cmd_wqe_cmpl() local
4127 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_fcp_io_cmd_wqe_cmpl()
4128 if (!fast_path_evt) in lpfc_fcp_io_cmd_wqe_cmpl()
4130 fast_path_evt->un.fabric_evt.event_type = in lpfc_fcp_io_cmd_wqe_cmpl()
4132 fast_path_evt->un.fabric_evt.subcategory = in lpfc_fcp_io_cmd_wqe_cmpl()
4136 memcpy(&fast_path_evt->un.fabric_evt.wwpn, in lpfc_fcp_io_cmd_wqe_cmpl()
4139 memcpy(&fast_path_evt->un.fabric_evt.wwnn, in lpfc_fcp_io_cmd_wqe_cmpl()
4143 fast_path_evt->vport = vport; in lpfc_fcp_io_cmd_wqe_cmpl()
4144 fast_path_evt->work_evt.evt = in lpfc_fcp_io_cmd_wqe_cmpl()
4147 list_add_tail(&fast_path_evt->work_evt.evt_listp, in lpfc_fcp_io_cmd_wqe_cmpl()
4342 struct lpfc_fast_path_event *fast_path_evt; in lpfc_scsi_cmd_iocb_cmpl() local
4446 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_scsi_cmd_iocb_cmpl()
4447 if (!fast_path_evt) in lpfc_scsi_cmd_iocb_cmpl()
4449 fast_path_evt->un.fabric_evt.event_type = in lpfc_scsi_cmd_iocb_cmpl()
4451 fast_path_evt->un.fabric_evt.subcategory = in lpfc_scsi_cmd_iocb_cmpl()
4455 memcpy(&fast_path_evt->un.fabric_evt.wwpn, in lpfc_scsi_cmd_iocb_cmpl()
4458 memcpy(&fast_path_evt->un.fabric_evt.wwnn, in lpfc_scsi_cmd_iocb_cmpl()
4462 fast_path_evt->vport = vport; in lpfc_scsi_cmd_iocb_cmpl()
4463 fast_path_evt->work_evt.evt = in lpfc_scsi_cmd_iocb_cmpl()
4466 list_add_tail(&fast_path_evt->work_evt.evt_listp, in lpfc_scsi_cmd_iocb_cmpl()