Home
last modified time | relevance | path

Searched refs:v_nparts (Results 1 – 25 of 26) sorted by relevance

12

/titanic_50/usr/src/lib/libadm/common/
H A Drdwr_vtoc.c57 vd->v_nparts = vs->v_nparts; \
124 if (vtoc->v_nparts == 0) in read_vtoc()
125 vtoc->v_nparts = V_NUMPAR; in read_vtoc()
167 if (vtoc->v_sanity != VTOC_SANE || vtoc->v_nparts > V_NUMPAR) { in write_vtoc()
177 for (i = 0; i < (int)vtoc->v_nparts; i++) in write_vtoc()
180 if (i == (int)vtoc->v_nparts) in write_vtoc()
264 if (extvtoc->v_nparts == 0) in read_extvtoc()
265 extvtoc->v_nparts = V_NUMPAR; in read_extvtoc()
309 if (extvtoc->v_sanity != VTOC_SANE || extvtoc->v_nparts > V_NUMPAR) { in write_extvtoc()
319 for (i = 0; i < (int)extvtoc->v_nparts; i++) in write_extvtoc()
[all …]
/titanic_50/usr/src/uts/common/sys/
H A Dvtoc.h121 ushort_t v_nparts; /* number of partitions */ member
143 ushort_t v_nparts; /* number of partitions */ member
162 v.v_nparts = extv.v_nparts; \
185 extv.v_nparts = v.v_nparts; \
215 uint16_t v_nparts; /* number of partitions */ member
232 v.v_nparts = v32.v_nparts; \
257 extv.v_nparts = v32.v_nparts; \
282 v32.v_nparts = v.v_nparts; \
311 v32.v_nparts = extv.v_nparts; \
H A Ddklabel.h137 uint16_t v_nparts; /* number of partitions */ member
145 uint16_t v_nparts; /* number of partitions */
/titanic_50/usr/src/cmd/prtvtoc/
H A Dprtvtoc.c160 if (vtoc->v_nparts > V_NUMPAR) { in findfree()
165 for (part = vtoc->v_part; part < vtoc->v_part + vtoc->v_nparts; ++part) in findfree()
444 for (idx = 0; idx < vtoc->v_nparts; ++idx) { in putfree()
516 for (idx = 0; idx < vtoc->v_nparts; ++idx) { in puttable()
/titanic_50/usr/src/lib/libdiskmgt/common/
H A Dslice.c440 if (snum < 0 || snum >= vtoc.v_nparts || in get_attrs()
680 if (slice_num >= vtoc.v_nparts || in get_fixed_assocs()
782 if (slice_num >= vtoc.v_nparts || in make_fixed_descriptors()
882 if (slice_num < vtoc.v_nparts && in match_fixed_name()
/titanic_50/usr/src/uts/sun4v/sys/
H A Dvdsk_common.h395 (vtoc)->v_nparts = (vd_vtoc)->num_partitions; \
436 (vd_vtoc)->num_partitions = (vtoc)->v_nparts; \
437 for (int i = 0; i < (vtoc)->v_nparts; i++) { \
/titanic_50/usr/src/cmd/format/
H A Dlabel.c768 vtoc->v_nparts != V_NUMPAR) { in vtoc_to_label()
812 label->dkl_vtoc.v_nparts = vtoc->v_nparts; in vtoc_to_label()
960 vtoc->v_nparts = V_NUMPAR; in label_to_vtoc()
1106 fmt_print("v_nparts: %d\n", label->dkl_vtoc.v_nparts);
H A Dpartition.c516 part->vtoc.v_nparts = NDKMAP; in set_vtoc_defaults()
H A Dstartup.c2285 if (label->dkl_vtoc.v_nparts != pinfo->vtoc.v_nparts)
H A Dauto_sense.c1470 vtoc->v_nparts = NDKMAP;
/titanic_50/usr/src/cmd/hal/utils/
H A Dfsutils.c231 for (i = 0; i < vtoc->v_nparts; i++) { in vtoc_one_slice_entire_disk()
/titanic_50/usr/src/uts/common/io/
H A Dfd.c1857 vtocp->v_nparts = 3; /* <= NDKMAP; */ in fd_build_user_vtoc()
1890 vtocp->v_nparts > NDKMAP || vtocp->v_nparts <= 0) { in fd_build_label_vtoc()
1956 labelp->dkl_vtoc.v_nparts = vtocp->v_nparts; in fd_build_label_vtoc()
1961 for (i = 0; i < (int)vtocp->v_nparts; i++) { in fd_build_label_vtoc()
H A Dcmlb.c3509 cl->cl_vtoc.v_nparts = V_NUMPAR;
4184 user_vtoc->v_nparts = cl->cl_vtoc.v_nparts;
4515 user_vtoc->v_nparts != V_NUMPAR) {
4573 for (i = 0; i < (int)user_vtoc->v_nparts; i++, lmap++, vpart++) {
4589 cl->cl_vtoc.v_nparts = user_vtoc->v_nparts;
4603 for (i = 0; i < (int)user_vtoc->v_nparts; i++) {
5306 cl->cl_vtoc.v_nparts = V_NUMPAR;
H A Dramdisk.c538 rsp->rd_vtoc.v_nparts = 1; in rd_fake_disk_geometry()
H A Dlofi.c1761 lsp->ls_vtoc.v_nparts = 1; in fake_disk_geometry()
/titanic_50/usr/src/uts/sun4v/io/
H A Dvds.c1053 label->dkl_vtoc.v_nparts = V_NUMPAR; in vd_build_default_label()
2864 ASSERT(vtoc->v_nparts == V_NUMPAR); in vd_vtocgeom_to_label()
2880 label->dkl_vtoc.v_nparts = V_NUMPAR; in vd_vtocgeom_to_label()
2934 vtoc->v_nparts = label->dkl_vtoc.v_nparts; in vd_label_to_vtocgeom()
2936 for (i = 0; i < vtoc->v_nparts; i++) { in vd_label_to_vtocgeom()
2993 vtoc->v_nparts != vd->vtoc.v_nparts || in vd_slice_vtoc_isvalid()
3025 for (i = 1; i < vtoc->v_nparts; i++) { in vd_slice_vtoc_isvalid()
3250 label.dkl_vtoc.v_nparts != V_NUMPAR) { in vd_dskimg_validate_geometry()
3271 for (i = 0; i < vtoc->v_nparts; i++) { in vd_dskimg_validate_geometry()
3344 vtoc->v_nparts != V_NUMPAR) in vd_do_dskimg_ioctl()
[all …]
H A Dvdc.c5613 for (i = 0; i < vtoc->v_nparts; i++) { in vdc_dkio_gapart()
5622 for (i = 0; i < vtoc->v_nparts; i++) { in vdc_dkio_gapart()
8400 if (vtoc.v_nparts != 1) { in vdc_validate_geometry()
8408 if (vtoc.v_nparts != V_NUMPAR) { in vdc_validate_geometry()
8696 for (i = 0; i < vtoc->v_nparts; i++) { in vdc_store_label_vtoc()
/titanic_50/usr/src/cmd/hal/probing/volume/
H A Dprobe-volume.c567 if (partition_number < vtoc.v_nparts) { in main()
/titanic_50/usr/src/cmd/rmformat/
H A Drmf_slice.c1261 v_toc.v_nparts = V_NUMPAR; in write_default_label()
1449 v_toc.v_nparts = V_NUMPAR; in write_default_label()
H A Drmf_misc.c771 v_toc.v_nparts = 3; in write_sunos_label()
851 v_toc.v_nparts = V_NUMPAR; in write_sunos_label()
H A Drmf_menu.c997 t_vtoc.v_nparts = V_NUMPAR; in process_s_flag()
/titanic_50/usr/src/uts/sun/io/
H A Dfd.c5699 vtoc->v_nparts = un->un_label.dkl_vtoc.v_nparts; in fd_build_user_vtoc()
5752 (vtoc->v_nparts > NDKMAP) || (vtoc->v_nparts <= 0)) { in fd_build_label_vtoc()
5799 un->un_label.dkl_vtoc.v_nparts = vtoc->v_nparts; in fd_build_label_vtoc()
5814 for (i = 0; i < (int)vtoc->v_nparts; i++) { in fd_build_label_vtoc()
/titanic_50/usr/src/cmd/fmthard/
H A Dfmthard.c721 vtoc->v_nparts = V_NUMPAR; in validate()
/titanic_50/usr/src/cmd/fdformat/
H A Dfdformat.c672 fd_vtoc->v_nparts = 3; in format_diskette()
/titanic_50/usr/src/cmd/fdisk/
H A Dfdisk.c4366 disk_vtoc.v_nparts = V_NUMPAR;

12