Searched refs:scsi_device_get (Results 1 – 19 of 19) sorted by relevance
528 int scsi_device_get(struct scsi_device *sdev) in scsi_device_get() function543 EXPORT_SYMBOL(scsi_device_get);574 if (!scsi_device_get(next)) in __scsi_iterate_devices()688 if (sdev && scsi_device_get(sdev)) in scsi_device_lookup_by_target()748 if (sdev && scsi_device_get(sdev)) in scsi_device_lookup()
601 if (scsi_device_get(ch->device)) { in ch_open()943 ret = scsi_device_get(sd); in ch_probe()
1169 if (scsi_device_get(sdev) == 0) { in scsi_probe_and_add_lun()1326 if (scsi_device_get(sdev)) { in scsi_report_lun_scan()
1018 if (unlikely(scsi_device_get(sdev))) in spi_dv_device()1108 if (unlikely(scsi_device_get(sdev))) { in spi_schedule_dv_device()
350 if (scsi_device_get(sdkp->device)) { in sd_zbc_prepare_zone_append()
173 if (scsi_device_get(cd->device)) { in scsi_cd_get()
768 if (scsi_device_get(sdev)) in sdev_store_delete()
372 if (scsi_device_get(sdev)) in scsi_single_lun_run()
304 retval = scsi_device_get(sdp->device); in sg_open()
679 if (scsi_device_get(sdkp->device) == 0) in scsi_disk_get()
4314 if (!scsi_device_get(sdev)) { in pmcraid_worker_function()
257 if (scsi_device_get(STp->device)) in scsi_tape_get()
3349 if (!scsi_device_get(sdev)) { in ipr_add_remove_thread()
363 if (scsi_device_get(sd)) { in pscsi_create_type_disk()406 if (scsi_device_get(sd)) { in pscsi_create_type_nondisk()
899 if (WARN_ON_ONCE(!pg) || scsi_device_get(sdev)) in alua_rtpg_queue()
4486 if (scsi_device_get(sdev) == 0) { in ata_scsi_remove_dev()4689 if (scsi_device_get(sdev)) in ata_scsi_dev_rescan()
232 if (scsi_device_get(sdev)) in zfcp_erp_setup_act()
1378 rc = scsi_device_get(sdev); in cxlflash_disk_attach()
8534 ret = scsi_device_get(sdp); in ufshcd_set_dev_pwr_mode()