Searched refs:scsi_set_medium_removal (Results 1 – 5 of 5) sorted by relevance
142 int scsi_set_medium_removal(struct scsi_device *sdev, char state) in scsi_set_medium_removal() function163 EXPORT_SYMBOL(scsi_set_medium_removal);235 return scsi_set_medium_removal(sdev, SCSI_REMOVAL_PREVENT); in scsi_ioctl_common()237 return scsi_set_medium_removal(sdev, SCSI_REMOVAL_ALLOW); in scsi_ioctl_common()
280 return scsi_set_medium_removal(cd->device, lock ? in sr_lock_door()
1458 scsi_set_medium_removal(sdev, SCSI_REMOVAL_PREVENT); in sd_open()1490 scsi_set_medium_removal(sdev, SCSI_REMOVAL_ALLOW); in sd_release()
924 retval = scsi_set_medium_removal(STp->device, in do_door_lock()
402 extern int scsi_set_medium_removal(struct scsi_device *, char);