Lines Matching refs:fdchar
755 struct fd_char fdchar; in write_sunos_label() local
758 if (ioctl(fd, FDIOGCHAR, &fdchar) < 0) { in write_sunos_label()
765 mult_factor = (fdchar.fdc_medium) ? 2 : 1; in write_sunos_label()
767 mult_factor = (fdchar.fdc_medium == 5) ? 2 : 1; in write_sunos_label()
776 v_toc.v_part[0].p_size = (fdchar.fdc_ncyl - 1) * 2 * in write_sunos_label()
777 fdchar.fdc_secptrack * mult_factor; in write_sunos_label()
778 v_toc.v_part[1].p_start = (fdchar.fdc_ncyl - 1) * 2 * in write_sunos_label()
779 fdchar.fdc_secptrack * mult_factor; in write_sunos_label()
780 v_toc.v_part[1].p_size = 2 * fdchar.fdc_secptrack * mult_factor; in write_sunos_label()
783 v_toc.v_part[2].p_size = fdchar.fdc_ncyl * 2 * in write_sunos_label()
784 fdchar.fdc_secptrack * mult_factor; in write_sunos_label()