Lines Matching refs:dl

456           struct disklabel *dl;  in rf_attach()  local
464 dl = rf_sc->sc_disk.dk_label; in rf_attach()
465 dl->d_type = DKTYPE_FLOPPY; /* drive type */ in rf_attach()
466 dl->d_magic = DISKMAGIC; /* the magic number */ in rf_attach()
467 dl->d_magic2 = DISKMAGIC; in rf_attach()
468 dl->d_typename[0] = 'R'; in rf_attach()
469 dl->d_typename[1] = 'X'; in rf_attach()
470 dl->d_typename[2] = '0'; in rf_attach()
471 dl->d_typename[3] = rfc_sc->type == 1 ? '1' : '2'; /* type name */ in rf_attach()
472 dl->d_typename[4] = '\0'; in rf_attach()
473 dl->d_secsize = DEV_BSIZE; /* bytes per sector */ in rf_attach()
478 dl->d_nsectors = RX2_SECTORS; /* sectors per track */ in rf_attach()
479dl->d_ntracks = 1; /* track… in rf_attach()
480 dl->d_ncylinders = RX2_TRACKS; /* cylinders per unit */ in rf_attach()
481 dl->d_secpercyl = RX2_SECTORS; /* sectors per cylinder */ in rf_attach()
482 dl->d_secperunit = RX2_SECTORS * RX2_TRACKS; /* sectors per unit */ in rf_attach()
483 dl->d_rpm = 360; /* rotational speed */ in rf_attach()
484 dl->d_interleave = 1; /* hardware sector interleave */ in rf_attach()
486 dl->d_npartitions = MAXPARTITIONS; in rf_attach()
487 dl->d_bbsize = 0; /* size of boot area at sn0, bytes */ in rf_attach()
488 dl->d_sbsize = 0; /* max size of fs superblock, bytes */ in rf_attach()
490 dl->d_partitions[0].p_size = 501; in rf_attach()
491 dl->d_partitions[0].p_offset = 0; /* starting sector */ in rf_attach()
492 dl->d_partitions[0].p_fsize = 0; /* fs basic fragment size */ in rf_attach()
493 dl->d_partitions[0].p_fstype = 0; /* fs type */ in rf_attach()
494 dl->d_partitions[0].p_frag = 0; /* fs fragments per block */ in rf_attach()
495 dl->d_partitions[1].p_size = RX2_SECTORS * RX2_TRACKS / 2; in rf_attach()
496 dl->d_partitions[1].p_offset = 0; /* starting sector */ in rf_attach()
497 dl->d_partitions[1].p_fsize = 0; /* fs basic fragment size */ in rf_attach()
498 dl->d_partitions[1].p_fstype = 0; /* fs type */ in rf_attach()
499 dl->d_partitions[1].p_frag = 0; /* fs fragments per block */ in rf_attach()
500 dl->d_partitions[2].p_size = RX2_SECTORS * RX2_TRACKS; in rf_attach()
501 dl->d_partitions[2].p_offset = 0; /* starting sector */ in rf_attach()
502 dl->d_partitions[2].p_fsize = 0; /* fs basic fragment size */ in rf_attach()
503 dl->d_partitions[2].p_fstype = 0; /* fs type */ in rf_attach()
504 dl->d_partitions[2].p_frag = 0; /* fs fragments per block */ in rf_attach()
971 struct disklabel *dl; in rfopen() local
977 dl = rf_sc->sc_disk.dk_label; in rfopen()
1037 dl->d_nsectors = 10; /* sectors per track */ in rfopen()
1038 dl->d_secpercyl = 10; /* sectors per cylinder */ in rfopen()
1039 dl->d_ncylinders = 50; /* cylinders per unit */ in rfopen()
1040 dl->d_secperunit = 501; /* sectors per unit */ in rfopen()
1042 dl->d_partitions[2].p_size = 500; in rfopen()
1044 dl->d_nsectors = RX2_SECTORS / 2; /* sectors per track */ in rfopen()
1045 dl->d_secpercyl = RX2_SECTORS / 2; /* sectors per cylinder */ in rfopen()
1046 dl->d_ncylinders = RX2_TRACKS; /* cylinders per unit */ in rfopen()
1048 dl->d_secperunit = RX2_SECTORS * RX2_TRACKS / 2; in rfopen()
1050 dl->d_partitions[2].p_size = RX2_SECTORS * RX2_TRACKS / 2; in rfopen()