Home | History | Annotate | Download | only in disk

Lines Matching defs:drive_info

39     struct driveinfo drive_info;
40 drive_info.disk = drive;
43 return read_sectors(&drive_info, buf, 0, 1);
59 struct driveinfo drive_info;
60 drive_info.disk = drive;
62 return read_sectors(&drive_info, buf, lba, sectors);
67 * @drive_info: driveinfo struct describing the disk
75 int read_sectors(struct driveinfo *drive_info, void *data,
84 if (get_drive_parameters(drive_info) == -1)
97 if (drive_info->ebios) {
106 inreg.edx.b[0] = drive_info->disk;
111 if (!drive_info->cbios) { // XXX errno
120 lba_to_chs(drive_info, lba, &s, &h, &c);
130 inreg.edx.b[0] = drive_info->disk;