Lines Matching refs:fast_path_evt
3563 struct lpfc_fast_path_event *fast_path_evt = NULL; in lpfc_send_scsi_error_event() local
3573 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3574 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3576 fast_path_evt->un.scsi_evt.event_type = in lpfc_send_scsi_error_event()
3578 fast_path_evt->un.scsi_evt.subcategory = in lpfc_send_scsi_error_event()
3581 fast_path_evt->un.scsi_evt.lun = cmnd->device->lun; in lpfc_send_scsi_error_event()
3582 memcpy(&fast_path_evt->un.scsi_evt.wwpn, in lpfc_send_scsi_error_event()
3584 memcpy(&fast_path_evt->un.scsi_evt.wwnn, in lpfc_send_scsi_error_event()
3588 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3589 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3591 fast_path_evt->un.check_cond_evt.scsi_event.event_type = in lpfc_send_scsi_error_event()
3593 fast_path_evt->un.check_cond_evt.scsi_event.subcategory = in lpfc_send_scsi_error_event()
3595 fast_path_evt->un.check_cond_evt.scsi_event.lun = in lpfc_send_scsi_error_event()
3597 memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwpn, in lpfc_send_scsi_error_event()
3599 memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwnn, in lpfc_send_scsi_error_event()
3601 fast_path_evt->un.check_cond_evt.sense_key = in lpfc_send_scsi_error_event()
3603 fast_path_evt->un.check_cond_evt.asc = cmnd->sense_buffer[12]; in lpfc_send_scsi_error_event()
3604 fast_path_evt->un.check_cond_evt.ascq = cmnd->sense_buffer[13]; in lpfc_send_scsi_error_event()
3614 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3615 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3617 fast_path_evt->un.read_check_error.header.event_type = in lpfc_send_scsi_error_event()
3619 fast_path_evt->un.read_check_error.header.subcategory = in lpfc_send_scsi_error_event()
3621 memcpy(&fast_path_evt->un.read_check_error.header.wwpn, in lpfc_send_scsi_error_event()
3623 memcpy(&fast_path_evt->un.read_check_error.header.wwnn, in lpfc_send_scsi_error_event()
3625 fast_path_evt->un.read_check_error.lun = cmnd->device->lun; in lpfc_send_scsi_error_event()
3626 fast_path_evt->un.read_check_error.opcode = cmnd->cmnd[0]; in lpfc_send_scsi_error_event()
3627 fast_path_evt->un.read_check_error.fcpiparam = in lpfc_send_scsi_error_event()
3632 fast_path_evt->vport = vport; in lpfc_send_scsi_error_event()
3634 list_add_tail(&fast_path_evt->work_evt.evt_listp, &phba->work_list); in lpfc_send_scsi_error_event()
3906 struct lpfc_fast_path_event *fast_path_evt; in lpfc_scsi_cmd_iocb_cmpl() local
3992 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_scsi_cmd_iocb_cmpl()
3993 if (!fast_path_evt) in lpfc_scsi_cmd_iocb_cmpl()
3995 fast_path_evt->un.fabric_evt.event_type = in lpfc_scsi_cmd_iocb_cmpl()
3997 fast_path_evt->un.fabric_evt.subcategory = in lpfc_scsi_cmd_iocb_cmpl()
4001 memcpy(&fast_path_evt->un.fabric_evt.wwpn, in lpfc_scsi_cmd_iocb_cmpl()
4004 memcpy(&fast_path_evt->un.fabric_evt.wwnn, in lpfc_scsi_cmd_iocb_cmpl()
4008 fast_path_evt->vport = vport; in lpfc_scsi_cmd_iocb_cmpl()
4009 fast_path_evt->work_evt.evt = in lpfc_scsi_cmd_iocb_cmpl()
4012 list_add_tail(&fast_path_evt->work_evt.evt_listp, in lpfc_scsi_cmd_iocb_cmpl()