Lines Matching refs:disk

74  * disk types.
88 * opposite side of the disk, leaving the sector IDs alone (i.e. Commodore's
156 #define DCL_DEBUG /* debug disk change line */
336 * Maximum disk size (in kilobytes).
337 * This default is used whenever the current disk size is unknown.
374 | | | | | | | Spindown offset (where disk stops)
404 * Frequency of disk change checks */
422 * tells if the disk is in Commodore 1581 format, which means side 0 sectors
423 * are located on side 1 of the disk but with a side 0 ID, and vice-versa.
424 * This is the same as the Sharp MZ-80 5.25" CP/M disk format, except that the
709 * disk change.
713 * last_checked is the date of the last check which showed 'no disk change'
717 * 2. No floppy disk is in the drive. This is done in order to ensure that
718 * requests are quickly flushed in case there is no disk in the drive. It
719 * follows that FD_DISK_CHANGE can only be cleared if there is a disk in
724 * each seek. If a disk is present, the disk change line should also be
725 * cleared on each seek. Thus, if FD_DISK_NEWCHANGE is clear, but the disk
726 * change line is set, this means either that no disk is in the drive, or
738 DPRINT("WARNING disk change called early\n");
741 DPRINT("probing disk change on unselected drive\n");
747 "checking disk change line for drive %d\n", drive);
749 debug_dcl(UDP->flags, "disk change line=%x\n", fd_inb(FD_DIR) & 0x80);
765 DPRINT("Disk type is undefined after disk change\n");
806 "calling disk change from set_dor\n");
932 * cycle through all N_DRIVE floppy drives, for disk change testing.
934 * be sure to have up to date disk change information.
997 /* this function makes sure that the disk stays in the drive during the
1001 debug_dcl(DP->flags, "calling disk change from watchdog\n");
1004 DPRINT("disk removed during i/o\n");
1547 "checking whether disk is write protected\n");
1562 debug_dcl(DP->flags, "calling disk change from %s\n", __func__);
1567 * If it isn't, this means that there is really no disk in
1894 debug_dcl(DP->flags, "calling disk change from floppy_ready\n");
2851 DPRINT("disk absent or changed during operation\n");
3207 debug_dcl(DP->flags, "calling disk change from raw_cmd ioctl\n");
3269 /* notice a disk change immediately, else
3287 * mtools often changes the geometry of the disk after
3621 static void floppy_release(struct gendisk *disk, fmode_t mode)
3623 int drive = (long)disk->private_data;
3738 * Check if the disk has been changed or if a change has been faked.
3740 static unsigned int floppy_check_events(struct gendisk *disk,
3743 int drive = (long)disk->private_data;
3766 * a disk in the drive, and whether that disk is writable.
3830 /* revalidate the floppy disk, i.e. trigger format autodetection by reading
3832 * there is a disk in the drive at all... Thus we also do it for fixed
3834 static int floppy_revalidate(struct gendisk *disk)
3836 int drive = (long)disk->private_data;
3872 set_capacity(disk, floppy_sizes[UDRS->fd_device]);
3891 /* Determine the floppy disk controller type */
4619 /* eject disk, if any */