Lines Matching refs:scsi_event
3776 fast_path_evt->un.check_cond_evt.scsi_event.event_type = in lpfc_send_scsi_error_event()
3778 fast_path_evt->un.check_cond_evt.scsi_event.subcategory = in lpfc_send_scsi_error_event()
3780 fast_path_evt->un.check_cond_evt.scsi_event.lun = in lpfc_send_scsi_error_event()
3782 memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwpn, in lpfc_send_scsi_error_event()
3784 memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwnn, in lpfc_send_scsi_error_event()
6354 struct lpfc_scsi_event_header scsi_event; in lpfc_device_reset_handler() local
6377 scsi_event.event_type = FC_REG_SCSI_EVENT; in lpfc_device_reset_handler()
6378 scsi_event.subcategory = LPFC_EVENT_LUNRESET; in lpfc_device_reset_handler()
6379 scsi_event.lun = lun_id; in lpfc_device_reset_handler()
6380 memcpy(scsi_event.wwpn, &pnode->nlp_portname, sizeof(struct lpfc_name)); in lpfc_device_reset_handler()
6381 memcpy(scsi_event.wwnn, &pnode->nlp_nodename, sizeof(struct lpfc_name)); in lpfc_device_reset_handler()
6384 sizeof(scsi_event), (char *)&scsi_event, LPFC_NL_VENDOR_ID); in lpfc_device_reset_handler()
6428 struct lpfc_scsi_event_header scsi_event; in lpfc_target_reset_handler() local
6462 scsi_event.event_type = FC_REG_SCSI_EVENT; in lpfc_target_reset_handler()
6463 scsi_event.subcategory = LPFC_EVENT_TGTRESET; in lpfc_target_reset_handler()
6464 scsi_event.lun = 0; in lpfc_target_reset_handler()
6465 memcpy(scsi_event.wwpn, &pnode->nlp_portname, sizeof(struct lpfc_name)); in lpfc_target_reset_handler()
6466 memcpy(scsi_event.wwnn, &pnode->nlp_nodename, sizeof(struct lpfc_name)); in lpfc_target_reset_handler()
6469 sizeof(scsi_event), (char *)&scsi_event, LPFC_NL_VENDOR_ID); in lpfc_target_reset_handler()
6546 struct lpfc_scsi_event_header scsi_event; in lpfc_bus_reset_handler() local
6551 scsi_event.event_type = FC_REG_SCSI_EVENT; in lpfc_bus_reset_handler()
6552 scsi_event.subcategory = LPFC_EVENT_BUSRESET; in lpfc_bus_reset_handler()
6553 scsi_event.lun = 0; in lpfc_bus_reset_handler()
6554 memcpy(scsi_event.wwpn, &vport->fc_portname, sizeof(struct lpfc_name)); in lpfc_bus_reset_handler()
6555 memcpy(scsi_event.wwnn, &vport->fc_nodename, sizeof(struct lpfc_name)); in lpfc_bus_reset_handler()
6558 sizeof(scsi_event), (char *)&scsi_event, LPFC_NL_VENDOR_ID); in lpfc_bus_reset_handler()