Lines Matching refs:fast_path_evt
3490 struct lpfc_fast_path_event *fast_path_evt = NULL; in lpfc_send_scsi_error_event() local
3500 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3501 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3503 fast_path_evt->un.scsi_evt.event_type = in lpfc_send_scsi_error_event()
3505 fast_path_evt->un.scsi_evt.subcategory = in lpfc_send_scsi_error_event()
3508 fast_path_evt->un.scsi_evt.lun = cmnd->device->lun; in lpfc_send_scsi_error_event()
3509 memcpy(&fast_path_evt->un.scsi_evt.wwpn, in lpfc_send_scsi_error_event()
3511 memcpy(&fast_path_evt->un.scsi_evt.wwnn, in lpfc_send_scsi_error_event()
3515 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3516 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3518 fast_path_evt->un.check_cond_evt.scsi_event.event_type = in lpfc_send_scsi_error_event()
3520 fast_path_evt->un.check_cond_evt.scsi_event.subcategory = in lpfc_send_scsi_error_event()
3522 fast_path_evt->un.check_cond_evt.scsi_event.lun = in lpfc_send_scsi_error_event()
3524 memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwpn, in lpfc_send_scsi_error_event()
3526 memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwnn, in lpfc_send_scsi_error_event()
3528 fast_path_evt->un.check_cond_evt.sense_key = in lpfc_send_scsi_error_event()
3530 fast_path_evt->un.check_cond_evt.asc = cmnd->sense_buffer[12]; in lpfc_send_scsi_error_event()
3531 fast_path_evt->un.check_cond_evt.ascq = cmnd->sense_buffer[13]; in lpfc_send_scsi_error_event()
3541 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_send_scsi_error_event()
3542 if (!fast_path_evt) in lpfc_send_scsi_error_event()
3544 fast_path_evt->un.read_check_error.header.event_type = in lpfc_send_scsi_error_event()
3546 fast_path_evt->un.read_check_error.header.subcategory = in lpfc_send_scsi_error_event()
3548 memcpy(&fast_path_evt->un.read_check_error.header.wwpn, in lpfc_send_scsi_error_event()
3550 memcpy(&fast_path_evt->un.read_check_error.header.wwnn, in lpfc_send_scsi_error_event()
3552 fast_path_evt->un.read_check_error.lun = cmnd->device->lun; in lpfc_send_scsi_error_event()
3553 fast_path_evt->un.read_check_error.opcode = cmnd->cmnd[0]; in lpfc_send_scsi_error_event()
3554 fast_path_evt->un.read_check_error.fcpiparam = in lpfc_send_scsi_error_event()
3559 fast_path_evt->vport = vport; in lpfc_send_scsi_error_event()
3561 list_add_tail(&fast_path_evt->work_evt.evt_listp, &phba->work_list); in lpfc_send_scsi_error_event()
3802 struct lpfc_fast_path_event *fast_path_evt; in lpfc_scsi_cmd_iocb_cmpl() local
3909 fast_path_evt = lpfc_alloc_fast_evt(phba); in lpfc_scsi_cmd_iocb_cmpl()
3910 if (!fast_path_evt) in lpfc_scsi_cmd_iocb_cmpl()
3912 fast_path_evt->un.fabric_evt.event_type = in lpfc_scsi_cmd_iocb_cmpl()
3914 fast_path_evt->un.fabric_evt.subcategory = in lpfc_scsi_cmd_iocb_cmpl()
3918 memcpy(&fast_path_evt->un.fabric_evt.wwpn, in lpfc_scsi_cmd_iocb_cmpl()
3921 memcpy(&fast_path_evt->un.fabric_evt.wwnn, in lpfc_scsi_cmd_iocb_cmpl()
3925 fast_path_evt->vport = vport; in lpfc_scsi_cmd_iocb_cmpl()
3926 fast_path_evt->work_evt.evt = in lpfc_scsi_cmd_iocb_cmpl()
3929 list_add_tail(&fast_path_evt->work_evt.evt_listp, in lpfc_scsi_cmd_iocb_cmpl()