Lines Matching refs:max_track
182 uint8_t max_track; /* Nb of tracks */
230 drv->max_track = 0;
258 if (track > drv->max_track ||
263 drv->max_track, drv->last_sect);
270 drv->max_track, drv->last_sect);
279 head, track, sect, 1, drv->max_track, drv->last_sect);
309 uint8_t max_track; /**< Number of tracks. */
422 int nb_heads, max_track, last_sect, ro;
428 bdrv_get_geometry_hint(drv->bs, &nb_heads, &max_track, &last_sect);
434 nb_heads = max_track = last_sect = 0;
436 if (nb_heads != 0 && max_track != 0 && last_sect != 0) {
438 nb_heads - 1, max_track, last_sect);
456 size = (parse->max_head + 1) * parse->max_track *
474 max_track = parse->max_track;
481 nb_heads, max_track, last_sect, ro ? "ro" : "rw");
483 nb_heads, max_track, last_sect, ro ? "ro" : "rw"));
490 drv->max_track = max_track;
496 drv->max_track = 0;
855 if (cur_drv->max_track)
2100 if (fdctrl->fifo[2] > cur_drv->max_track) {
2169 if (fdctrl->fifo[2] + cur_drv->track >= cur_drv->max_track) {
2170 cur_drv->track = cur_drv->max_track - 1;
2317 if (!cur_drv->max_track) {
2324 } else if (cur_drv->track >= cur_drv->max_track) {
2326 cur_drv->track, cur_drv->max_track);
2513 SSMR3GetU8(pSSM, &d->max_track);