Searched refs:vpart (Results 1 – 4 of 4) sorted by relevance
758 struct extpartition *vpart; in vtoc_to_label() local852 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 …]
4166 struct partition *vpart; local4197 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; local4529 vpart = user_vtoc->v_part;4531 if (((unsigned)vpart->p_start % nblks) != 0) {[all …]
1833 struct partition *vpart; in fd_build_user_vtoc() local1863 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() local1906 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 …]
5671 struct partition *vpart; in fd_build_user_vtoc() local5712 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() local5761 vpart = vtoc->v_part; in fd_build_label_vtoc()5771 if ((vpart->p_start % nblks) != 0) { in fd_build_label_vtoc()[all …]