Home
last modified time | relevance | path

Searched refs:scsi_event (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_nl.h137 struct lpfc_scsi_event_header scsi_event; member
144 struct lpfc_scsi_event_header scsi_event; member
Dlpfc_scsi.c3523 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()
5232 struct lpfc_scsi_event_header scsi_event; in lpfc_device_reset_handler() local
5254 scsi_event.event_type = FC_REG_SCSI_EVENT; in lpfc_device_reset_handler()
5255 scsi_event.subcategory = LPFC_EVENT_LUNRESET; in lpfc_device_reset_handler()
5256 scsi_event.lun = lun_id; in lpfc_device_reset_handler()
5257 memcpy(scsi_event.wwpn, &pnode->nlp_portname, sizeof(struct lpfc_name)); in lpfc_device_reset_handler()
[all …]
/kernel/linux/linux-5.10/include/scsi/
Dscsi_device.h80 struct scsi_event { struct
422 extern struct scsi_event *sdev_evt_alloc(enum scsi_device_event evt_type,
424 extern void sdev_evt_send(struct scsi_device *sdev, struct scsi_event *evt);
/kernel/linux/linux-5.10/drivers/scsi/
Dscsi_lib.c2347 static void scsi_evt_emit(struct scsi_device *sdev, struct scsi_event *evt) in scsi_evt_emit()
2408 struct scsi_event *evt; in scsi_evt_thread()
2420 evt = list_entry(this, struct scsi_event, node); in scsi_evt_thread()
2435 void sdev_evt_send(struct scsi_device *sdev, struct scsi_event *evt) in sdev_evt_send()
2463 struct scsi_event *sdev_evt_alloc(enum scsi_device_event evt_type, in sdev_evt_alloc()
2466 struct scsi_event *evt = kzalloc(sizeof(struct scsi_event), gfpflags); in sdev_evt_alloc()
2503 struct scsi_event *evt = sdev_evt_alloc(evt_type, gfpflags); in sdev_evt_send_simple()
Dscsi_sysfs.c472 struct scsi_event *evt; in scsi_device_dev_release_usercontext()
474 evt = list_entry(this, struct scsi_event, node); in scsi_device_dev_release_usercontext()