Home
last modified time | relevance | path

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

/titanic_41/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.c632 label->dkl_nsect = nsect; in auto_label_init()
737 disk->dtype_nsect = label->dkl_nsect; in new_direct_disk_type()
1371 label->dkl_nsect = nsect; in generic_disk_sense()
1482 label->dkl_nsect = nsect; in use_existing_disk_type()
1541 label->dkl_nsect) / (diskaddr_t)((1024 * 1024) / cur_blksz);
1563 blks_per_cyl = label->dkl_nhead * label->dkl_nsect;
1685 label->dkl_ncyl * label->dkl_nhead * label->dkl_nsect;
1691 label->dkl_nsect;
1767 dp->dtype_nsect == label->dkl_nsect) {
1929 disk->dtype_nsect = label->dkl_nsect;
H A Dmenu_command.c1637 nsect = label.dkl_nsect; in c_label()
1685 label.dkl_nsect = nsect; in c_label()
1968 label.dkl_nsect); in c_backup()
2226 (b_label.dkl_nsect != p_label.dkl_nsect)) { in c_verify()
2323 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_41/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_41/usr/src/lib/libbc/inc/include/sun/
H A Ddklabel.h56 unsigned short dkl_nsect; /* # of 512 byte sectors per track */ member
/titanic_41/usr/src/uts/sun/sys/
H A Dfdvar.h139 unsigned short dkl_nsect; /* # of 512 byte sectors per track */ member
/titanic_41/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_41/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_41/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()