Lines Matching defs:fdchar
753 struct fd_char fdchar;
756 if (ioctl(fd, FDIOGCHAR, &fdchar) < 0) {
763 mult_factor = (fdchar.fdc_medium) ? 2 : 1;
765 mult_factor = (fdchar.fdc_medium == 5) ? 2 : 1;
774 v_toc.v_part[0].p_size = (fdchar.fdc_ncyl - 1) * 2 *
775 fdchar.fdc_secptrack * mult_factor;
776 v_toc.v_part[1].p_start = (fdchar.fdc_ncyl - 1) * 2 *
777 fdchar.fdc_secptrack * mult_factor;
778 v_toc.v_part[1].p_size = 2 * fdchar.fdc_secptrack * mult_factor;
781 v_toc.v_part[2].p_size = fdchar.fdc_ncyl * 2 *
782 fdchar.fdc_secptrack * mult_factor;