Home | History | Annotate | Download | only in block

Lines Matching full:locked

1201 static int cdrom_set_locked(BlockDriverState *bs, int locked)
1205 if (ioctl(s->fd, CDROM_LOCKDOOR, locked) < 0) {
1259 /* make sure the door isnt locked at this time */
1290 /* make sure the door isnt locked at this time */
1322 static int cdrom_set_locked(BlockDriverState *bs, int locked)
1328 if (ioctl(s->fd, (locked ? CDIOCPREVENT : CDIOCALLOW)) < 0) {