Home | History | Annotate | Download | only in block

Lines Matching full:locked

1321 static int cdrom_set_locked(BlockDriverState *bs, int locked)
1325 if (ioctl(s->fd, CDROM_LOCKDOOR, locked) < 0) {
1379 /* make sure the door isnt locked at this time */
1410 /* make sure the door isnt locked at this time */
1442 static int cdrom_set_locked(BlockDriverState *bs, int locked)
1448 if (ioctl(s->fd, (locked ? CDIOCPREVENT : CDIOCALLOW)) < 0) {