Searched refs:scsi_set_medium_removal (Results 1 – 5 of 5) sorted by relevance
124 int scsi_set_medium_removal(struct scsi_device *sdev, char state) in scsi_set_medium_removal() function145 EXPORT_SYMBOL(scsi_set_medium_removal);915 return scsi_set_medium_removal(sdev, SCSI_REMOVAL_PREVENT); in scsi_ioctl()917 return scsi_set_medium_removal(sdev, SCSI_REMOVAL_ALLOW); in scsi_ioctl()
289 return scsi_set_medium_removal(cd->device, lock ? in sr_lock_door()
1431 scsi_set_medium_removal(sdev, SCSI_REMOVAL_PREVENT); in sd_open()1462 scsi_set_medium_removal(sdev, SCSI_REMOVAL_ALLOW); in sd_release()
926 retval = scsi_set_medium_removal(STp->device, in do_door_lock()
449 extern int scsi_set_medium_removal(struct scsi_device *, char);