Home
last modified time | relevance | path

Searched refs:scsi_event (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/lpfc/
H A Dlpfc_nl.h137 struct lpfc_scsi_event_header scsi_event; member
144 struct lpfc_scsi_event_header scsi_event; member
H A 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 in lpfc_device_reset_handler()
5303 struct lpfc_scsi_event_header scsi_event; lpfc_target_reset_handler() local
5378 struct lpfc_scsi_event_header scsi_event; lpfc_bus_reset_handler() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/lpfc/
H A Dlpfc_nl.h137 struct lpfc_scsi_event_header scsi_event; member
144 struct lpfc_scsi_event_header scsi_event; member
H A Dlpfc_scsi.c3595 fast_path_evt->un.check_cond_evt.scsi_event.event_type = in lpfc_send_scsi_error_event()
3597 fast_path_evt->un.check_cond_evt.scsi_event.subcategory = in lpfc_send_scsi_error_event()
3599 fast_path_evt->un.check_cond_evt.scsi_event.lun = in lpfc_send_scsi_error_event()
3601 memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwpn, in lpfc_send_scsi_error_event()
3603 memcpy(&fast_path_evt->un.check_cond_evt.scsi_event.wwnn, in lpfc_send_scsi_error_event()
5979 struct lpfc_scsi_event_header scsi_event; in lpfc_device_reset_handler() local
6005 scsi_event.event_type = FC_REG_SCSI_EVENT; in lpfc_device_reset_handler()
6006 scsi_event.subcategory = LPFC_EVENT_LUNRESET; in lpfc_device_reset_handler()
6007 scsi_event.lun = lun_id; in lpfc_device_reset_handler()
6008 memcpy(scsi_event in lpfc_device_reset_handler()
6057 struct lpfc_scsi_event_header scsi_event; lpfc_target_reset_handler() local
[all...]
/kernel/linux/linux-5.10/include/scsi/
H A 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-6.6/include/scsi/
H A Dscsi_device.h82 struct scsi_event { struct
469 extern struct scsi_event *sdev_evt_alloc(enum scsi_device_event evt_type,
471 extern void sdev_evt_send(struct scsi_device *sdev, struct scsi_event *evt);
/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_lib.c2352 * Send a single uevent (scsi_event) to the associated scsi_device.
2354 static void scsi_evt_emit(struct scsi_device *sdev, struct scsi_event *evt) in scsi_evt_emit()
2415 struct scsi_event *evt; in scsi_evt_thread()
2427 evt = list_entry(this, struct scsi_event, node); in scsi_evt_thread()
2442 void sdev_evt_send(struct scsi_device *sdev, struct scsi_event *evt) in sdev_evt_send()
2468 * Allocates and returns a new scsi_event.
2470 struct scsi_event *sdev_evt_alloc(enum scsi_device_event evt_type, in sdev_evt_alloc()
2473 struct scsi_event *evt = kzalloc(sizeof(struct scsi_event), gfpflags); in sdev_evt_alloc()
2510 struct scsi_event *ev in sdev_evt_send_simple()
[all...]
H A 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()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_lib.c2447 * Send a single uevent (scsi_event) to the associated scsi_device.
2449 static void scsi_evt_emit(struct scsi_device *sdev, struct scsi_event *evt) in scsi_evt_emit()
2510 struct scsi_event *evt; in scsi_evt_thread()
2522 evt = list_entry(this, struct scsi_event, node); in scsi_evt_thread()
2537 void sdev_evt_send(struct scsi_device *sdev, struct scsi_event *evt) in sdev_evt_send()
2563 * Allocates and returns a new scsi_event.
2565 struct scsi_event *sdev_evt_alloc(enum scsi_device_event evt_type, in sdev_evt_alloc()
2568 struct scsi_event *evt = kzalloc(sizeof(struct scsi_event), gfpflags); in sdev_evt_alloc()
2605 struct scsi_event *ev in sdev_evt_send_simple()
[all...]
H A Dscsi_sysfs.c469 struct scsi_event *evt; in scsi_device_dev_release()
471 evt = list_entry(this, struct scsi_event, node); in scsi_device_dev_release()

Completed in 27 milliseconds