Home
last modified time | relevance | path

Searched refs:vpart (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/cmd/format/
H A Dlabel.c758 struct extpartition *vpart; in vtoc_to_label() local
852 vpart = vtoc->v_part; in vtoc_to_label()
856 for (i = 0; i < NDKMAP; i++, lmap++, vpart++) { in vtoc_to_label()
858 if ((vpart->p_start % nblks) != 0 || in vtoc_to_label()
859 (vpart->p_size % nblks) != 0) { in vtoc_to_label()
864 lmap->dkl_cylno = (blkaddr32_t)(vpart->p_start / nblks); in vtoc_to_label()
865 lmap->dkl_nblk = (blkaddr32_t)vpart->p_size; in vtoc_to_label()
868 lmap->p_start = (blkaddr32_t)vpart->p_start; in vtoc_to_label()
869 lmap->p_size = (blkaddr32_t)vpart->p_size; in vtoc_to_label()
906 struct extpartition *vpart; in label_to_vtoc() local
[all …]
/titanic_44/usr/src/uts/common/io/
H A Dcmlb.c4166 struct partition *vpart; local
4197 vpart = user_vtoc->v_part;
4202 vpart->p_tag = lpart->p_tag;
4203 vpart->p_flag = lpart->p_flag;
4204 vpart->p_start = lmap->dkl_cylno * nblks;
4205 vpart->p_size = lmap->dkl_nblk;
4208 vpart++;
4502 struct partition *vpart; local
4529 vpart = user_vtoc->v_part;
4531 if (((unsigned)vpart->p_start % nblks) != 0) {
[all …]
H A Dfd.c1833 struct partition *vpart; in fd_build_user_vtoc() local
1863 for (i = NDKMAP, vpart = vtocp->v_part; i && (xblk > 1); i--, vpart++) { in fd_build_user_vtoc()
1865 vpart->p_start /= xblk; in fd_build_user_vtoc()
1866 vpart->p_size /= xblk; in fd_build_user_vtoc()
1879 struct partition *vpart; in fd_build_label_vtoc() local
1906 vpart = vtocp->v_part; in fd_build_label_vtoc()
1915 if ((vpart->p_start % nblks) != 0) { in fd_build_label_vtoc()
1918 ncyl = vpart->p_start / nblks; in fd_build_label_vtoc()
1919 ncyl += vpart->p_size / nblks; in fd_build_label_vtoc()
1920 if ((vpart->p_size % nblks) != 0) in fd_build_label_vtoc()
[all …]
/titanic_44/usr/src/uts/sun/io/
H A Dfd.c5671 struct partition *vpart; in fd_build_user_vtoc() local
5712 vpart = vtoc->v_part; in fd_build_user_vtoc()
5718 vpart->p_tag = lpart->p_tag; in fd_build_user_vtoc()
5719 vpart->p_flag = lpart->p_flag; in fd_build_user_vtoc()
5720 vpart->p_start = lmap->dkl_cylno * nblks; in fd_build_user_vtoc()
5721 vpart->p_size = lmap->dkl_nblk; in fd_build_user_vtoc()
5725 vpart++; in fd_build_user_vtoc()
5744 struct partition *vpart; in fd_build_label_vtoc() local
5761 vpart = vtoc->v_part; in fd_build_label_vtoc()
5771 if ((vpart->p_start % nblks) != 0) { in fd_build_label_vtoc()
[all …]