Lines Matching defs:evt_type
2552 switch (evt->evt_type) {
2598 enum scsi_device_event evt_type;
2603 for (evt_type = SDEV_EVT_FIRST; evt_type <= SDEV_EVT_LAST; evt_type++)
2604 if (test_and_clear_bit(evt_type, sdev->pending_events))
2605 sdev_evt_send_simple(sdev, evt_type, GFP_KERNEL);
2643 if (!test_bit(evt->evt_type, sdev->supported_events)) {
2658 * @evt_type: type of event to allocate
2663 struct scsi_event *sdev_evt_alloc(enum scsi_device_event evt_type,
2670 evt->evt_type = evt_type;
2673 /* evt_type-specific initialization, if any */
2674 switch (evt_type) {
2695 * @evt_type: type of event to send
2701 enum scsi_device_event evt_type, gfp_t gfpflags)
2703 struct scsi_event *evt = sdev_evt_alloc(evt_type, gfpflags);
2706 evt_type);