Lines Matching refs:sdev_gendev
153 put_device(&sdev->sdev_gendev); in scsi_mq_requeue_cmd()
206 put_device(&device->sdev_gendev); in __scsi_queue_insert()
586 put_device(&sdev->sdev_gendev); in scsi_requeue_command()
722 put_device(&sdev->sdev_gendev); in scsi_end_request()
1219 put_device(&sdev->sdev_gendev); in scsi_init_io()
1440 put_device(&sdev->sdev_gendev); in scsi_prep_return()
1472 if (unlikely(!get_device(&sdev->sdev_gendev))) { in scsi_prep_fn()
2057 put_device(&sdev->sdev_gendev); in scsi_mq_put_budget()
2065 if (!get_device(&sdev->sdev_gendev)) in scsi_mq_get_budget()
2073 put_device(&sdev->sdev_gendev); in scsi_mq_get_budget()
2388 if (!sdev || !get_device(&sdev->sdev_gendev)) in scsi_device_from_queue()
2831 scsi_rescan_device(&sdev->sdev_gendev); in scsi_evt_emit()
2859 kobject_uevent_env(&sdev->sdev_gendev.kobj, KOBJ_CHANGE, envp); in scsi_evt_emit()