Lines Matching defs:vpart
758 struct extpartition *vpart;
852 vpart = vtoc->v_part;
856 for (i = 0; i < NDKMAP; i++, lmap++, vpart++) {
858 if ((vpart->p_start % nblks) != 0 ||
859 (vpart->p_size % nblks) != 0) {
864 lmap->dkl_cylno = (blkaddr32_t)(vpart->p_start / nblks);
865 lmap->dkl_nblk = (blkaddr32_t)vpart->p_size;
868 lmap->p_start = (blkaddr32_t)vpart->p_start;
869 lmap->p_size = (blkaddr32_t)vpart->p_size;
906 struct extpartition *vpart;
917 vpart = vtoc->v_part;
918 for (i = 0; i < V_NUMPAR; i++, vpart++) {
919 vpart->p_tag = default_vtoc_map[i].p_tag;
920 vpart->p_flag = default_vtoc_map[i].p_flag;
925 vpart = vtoc->v_part;
927 for (i = 0; i < V_NUMPAR; i++, vpart++, lpart++) {
928 vpart->p_tag = lpart->p_tag;
929 vpart->p_flag = lpart->p_flag;
932 vpart->p_start = (diskaddr_t)lpart->p_start;
933 vpart->p_size = (diskaddr_t)lpart->p_size;
972 vpart = vtoc->v_part;
974 for (i = 0; i < V_NUMPAR; i++, vpart++, lmap++) {
975 vpart->p_start = (diskaddr_t)(lmap->dkl_cylno * nblks);
976 vpart->p_size = (diskaddr_t)lmap->dkl_nblk;