Searched refs:scsi_set_medium_removal (Results 1 – 5 of 5) sorted by relevance
121 int scsi_set_medium_removal(struct scsi_device *sdev, char state) in scsi_set_medium_removal() function142 EXPORT_SYMBOL(scsi_set_medium_removal);912 return scsi_set_medium_removal(sdev, SCSI_REMOVAL_PREVENT); in scsi_ioctl()914 return scsi_set_medium_removal(sdev, SCSI_REMOVAL_ALLOW); in scsi_ioctl()
286 return scsi_set_medium_removal(cd->device, lock ? in sr_lock_door()
1359 scsi_set_medium_removal(sdev, SCSI_REMOVAL_PREVENT); in sd_open()1391 scsi_set_medium_removal(sdev, SCSI_REMOVAL_ALLOW); in sd_release()
923 retval = scsi_set_medium_removal(STp->device, in do_door_lock()
420 extern int scsi_set_medium_removal(struct scsi_device *, char);