Home
last modified time | relevance | path

Searched refs:dkl_nsect (Results 1 – 13 of 13) sorted by relevance

/titanic_50/usr/src/cmd/format/
H A Dmenu_fdisk.c653 update_label.dkl_nsect));
663 cur_dtype->dtype_nsect = update_label.dkl_nsect;
885 (label->dkl_nsect != 0)) {
888 label->dkl_nsect);
916 (label->dkl_nsect != 0)) {
918 (label->dkl_nhead * label->dkl_nsect);
929 label->dkl_nsect);
H A Dlabel.c329 label.dkl_nsect = nsect; in write_label()
797 label->dkl_nsect = geom->dkg_nsect; in vtoc_to_label()
854 nblks = label->dkl_nsect * label->dkl_nhead; in vtoc_to_label()
973 nblks = label->dkl_nsect * label->dkl_nhead; in label_to_vtoc()
1119 fmt_print("nsect: %d\n", label->dkl_nsect);
1131 fmt_print("nsect: %d\n", label->dkl_nsect);
H A Dauto_sense.c574 label->dkl_nsect = nsect; in auto_label_init()
679 disk->dtype_nsect = label->dkl_nsect; in new_direct_disk_type()
1313 label->dkl_nsect = nsect; in generic_disk_sense()
1424 label->dkl_nsect = nsect; in use_existing_disk_type()
1483 label->dkl_nsect) / (diskaddr_t)((1024 * 1024) / cur_blksz);
1505 blks_per_cyl = label->dkl_nhead * label->dkl_nsect;
1627 label->dkl_ncyl * label->dkl_nhead * label->dkl_nsect;
1633 label->dkl_nsect;
1709 dp->dtype_nsect == label->dkl_nsect) {
1871 disk->dtype_nsect = label->dkl_nsect;
H A Dmenu_command.c1639 nsect = label.dkl_nsect; in c_label()
1687 label.dkl_nsect = nsect; in c_label()
1970 label.dkl_nsect); in c_backup()
2228 (b_label.dkl_nsect != p_label.dkl_nsect)) { in c_verify()
2325 fmt_print("nsect = %4d\n", label->dkl_nsect); in c_verify()
H A Dstartup.c2082 search_dtype->dtype_nsect = search_label.dkl_nsect; in add_device_to_disklist()
2162 search_label.dkl_nsect)); in add_device_to_disklist()
2238 (label->dkl_nsect != dtype->dtype_nsect)) {
2272 (label->dkl_nhead * label->dkl_nsect)) ||
H A Dmodify_partition.c519 label->dkl_nsect = tptr->dtype_nsect;
/titanic_50/usr/src/uts/common/sys/
H A Ddklabel.h186 uint32_t dkl_nsect; /* # of data sectors per track */ member
210 uint16_t dkl_nsect; /* # of sectors per track */
/titanic_50/usr/src/lib/libbc/inc/include/sun/
H A Ddklabel.h56 unsigned short dkl_nsect; /* # of 512 byte sectors per track */ member
/titanic_50/usr/src/uts/sun/sys/
H A Dfdvar.h139 unsigned short dkl_nsect; /* # of 512 byte sectors per track */ member
/titanic_50/usr/src/uts/sun4v/io/
H A Dvds.c1001 label->dkl_nsect = 768; in vd_build_default_label()
1006 label->dkl_nsect = 600; in vd_build_default_label()
1011 label->dkl_nsect = 200; in vd_build_default_label()
1015 (label->dkl_nsect * label->dkl_nhead * bsize); in vd_build_default_label()
1034 label->dkl_nhead, label->dkl_nsect); in vd_build_default_label()
1037 label->dkl_nsect * bsize)); in vd_build_default_label()
1049 label->dkl_nsect); in vd_build_default_label()
1058 label->dkl_nhead * label->dkl_nsect; in vd_build_default_label()
1103 blk = (cyl * ((label->dkl_nhead * label->dkl_nsect) - label->dkl_apc)) + in vd_dskimg_set_vtoc()
1104 (head * label->dkl_nsect); in vd_dskimg_set_vtoc()
[all …]
/titanic_50/usr/src/uts/common/io/
H A Dcmlb.c3039 cl->cl_g.dkg_nsect = labp->dkl_nsect;
3082 track_capacity = labp->dkl_nhead * labp->dkl_nsect;
3169 part_end = labp->dkl_nhead * labp->dkl_nsect *
4782 for (sec = 1; ((sec < 5 * 2 + 1) && (sec < dkl->dkl_nsect)); sec += 2) {
4784 (cyl * ((dkl->dkl_nhead * dkl->dkl_nsect) - dkl->dkl_apc)) +
4785 (head * dkl->dkl_nsect) + sec);
4830 dkl->dkl_nsect = cl->cl_g.dkg_nsect;
4879 dkl->dkl_nsect = cl->cl_g.dkg_nsect;
H A Dfd.c902 fjp->fj_chars->fdc_secptrack = (label->dkl_nsect * DEV_BSIZE) / in fdgetlabel()
1983 labelp->dkl_nsect = (fjp->fj_chars->fdc_secptrack * in fd_build_label_vtoc()
1988 (int)(labelp->dkl_nsect * labelp->dkl_rpm * 4) / 60000; in fd_build_label_vtoc()
/titanic_50/usr/src/uts/sun/io/
H A Dfd.c5624 to->dkl_nsect = from->dkl_nsect; /* # of 512 byte sectors per track */ in fdunpacklabel()
5848 un->un_label.dkl_nsect = (un->un_chars->fdc_secptrack * in fd_build_label_vtoc()