Lines Matching refs:fast_path_evt

3495 	struct lpfc_fast_path_event *fast_path_evt = NULL;  in lpfc_send_scsi_error_event()  local
3505 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3506 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3508 fast_path_evt->un.scsi_evt.event_type = in lpfc_send_scsi_error_event()
3510 fast_path_evt->un.scsi_evt.subcategory = in lpfc_send_scsi_error_event()
3513 fast_path_evt->un.scsi_evt.lun = cmnd->device->lun; in lpfc_send_scsi_error_event()
3514 memcpy(&fast_path_evt->un.scsi_evt.wwpn, in lpfc_send_scsi_error_event()
3516 memcpy(&fast_path_evt->un.scsi_evt.wwnn, in lpfc_send_scsi_error_event()
3520 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3521 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3523 fast_path_evt->un.check_cond_evt.scsi_event.event_type = in lpfc_send_scsi_error_event()
3525 fast_path_evt->un.check_cond_evt.scsi_event.subcategory = in lpfc_send_scsi_error_event()
3527 fast_path_evt->un.check_cond_evt.scsi_event.lun = in lpfc_send_scsi_error_event()
3529 memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwpn, in lpfc_send_scsi_error_event()
3531 memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwnn, in lpfc_send_scsi_error_event()
3533 fast_path_evt->un.check_cond_evt.sense_key = in lpfc_send_scsi_error_event()
3535 fast_path_evt->un.check_cond_evt.asc = cmnd->sense_buffer[12]; in lpfc_send_scsi_error_event()
3536 fast_path_evt->un.check_cond_evt.ascq = cmnd->sense_buffer[13]; in lpfc_send_scsi_error_event()
3546 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3547 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3549 fast_path_evt->un.read_check_error.header.event_type = in lpfc_send_scsi_error_event()
3551 fast_path_evt->un.read_check_error.header.subcategory = in lpfc_send_scsi_error_event()
3553 memcpy(&fast_path_evt->un.read_check_error.header.wwpn, in lpfc_send_scsi_error_event()
3555 memcpy(&fast_path_evt->un.read_check_error.header.wwnn, in lpfc_send_scsi_error_event()
3557 fast_path_evt->un.read_check_error.lun = cmnd->device->lun; in lpfc_send_scsi_error_event()
3558 fast_path_evt->un.read_check_error.opcode = cmnd->cmnd[0]; in lpfc_send_scsi_error_event()
3559 fast_path_evt->un.read_check_error.fcpiparam = in lpfc_send_scsi_error_event()
3564 fast_path_evt->vport = vport; in lpfc_send_scsi_error_event()
3566 list_add_tail(&fast_path_evt->work_evt.evt_listp, &phba->work_list); in lpfc_send_scsi_error_event()
3807 struct lpfc_fast_path_event *fast_path_evt; in lpfc_scsi_cmd_iocb_cmpl() local
3911 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_scsi_cmd_iocb_cmpl()
3912 if (!fast_path_evt) in lpfc_scsi_cmd_iocb_cmpl()
3914 fast_path_evt->un.fabric_evt.event_type = in lpfc_scsi_cmd_iocb_cmpl()
3916 fast_path_evt->un.fabric_evt.subcategory = in lpfc_scsi_cmd_iocb_cmpl()
3920 memcpy(&fast_path_evt->un.fabric_evt.wwpn, in lpfc_scsi_cmd_iocb_cmpl()
3923 memcpy(&fast_path_evt->un.fabric_evt.wwnn, in lpfc_scsi_cmd_iocb_cmpl()
3927 fast_path_evt->vport = vport; in lpfc_scsi_cmd_iocb_cmpl()
3928 fast_path_evt->work_evt.evt = in lpfc_scsi_cmd_iocb_cmpl()
3931 list_add_tail(&fast_path_evt->work_evt.evt_listp, in lpfc_scsi_cmd_iocb_cmpl()