Home
last modified time | relevance | path

Searched refs:V_NUMPAR (Results 1 – 25 of 27) sorted by relevance

12

/titanic_50/usr/src/uts/common/sys/
H A Dvtoc.h63 #define V_NUMPAR NDKMAP /* The number of partitions */ macro
123 struct partition v_part[V_NUMPAR]; /* partition headers */
124 time_t timestamp[V_NUMPAR]; /* partition timestamp (unsupported) */
146 struct extpartition v_part[V_NUMPAR]; /* partition headers */
147 uint64_t timestamp[V_NUMPAR]; /* partition timestamp (unsupported) */
165 for (i = 0; i < V_NUMPAR; i++) { \
188 for (i = 0; i < V_NUMPAR; i++) { \
217 struct partition32 v_part[V_NUMPAR]; /* partition headers */
218 time32_t timestamp[V_NUMPAR]; /* partition timestamp (unsupported) */
236 for (i = 0; i < V_NUMPAR; i++) { \
[all …]
/titanic_50/usr/src/lib/libadm/common/
H A Drdwr_vtoc.c61 for (i = 0; i < V_NUMPAR; i++) { \
67 for (i = 0; i < V_NUMPAR; i++) \
125 vtoc->v_nparts = V_NUMPAR; in read_vtoc()
151 if (dki_info.dki_partition > V_NUMPAR) { in read_vtoc()
167 if (vtoc->v_sanity != VTOC_SANE || vtoc->v_nparts > V_NUMPAR) { in write_vtoc()
265 extvtoc->v_nparts = V_NUMPAR; in read_extvtoc()
291 if (dki_info.dki_partition > V_NUMPAR) { in read_extvtoc()
309 if (extvtoc->v_sanity != VTOC_SANE || extvtoc->v_nparts > V_NUMPAR) { in write_extvtoc()
/titanic_50/usr/src/cmd/prtvtoc/
H A Dprtvtoc.c64 #define parttn(x) (x % V_NUMPAR)
65 #define noparttn(x) (x & (MAXMIN & ~(V_NUMPAR-1)))
155 struct extpartition *sorted[V_NUMPAR + 1]; in findfree()
157 freemap = calloc(sizeof (freemap_t), V_NUMPAR + 1); in findfree()
160 if (vtoc->v_nparts > V_NUMPAR) { in findfree()
242 static char *list[V_NUMPAR]; in getmntpt()
247 for (idx = 0; idx < V_NUMPAR; ++idx) in getmntpt()
/titanic_50/usr/src/cmd/fmthard/
H A Dfmthard.c411 for (i = 0; i < V_NUMPAR; i++) { in display()
483 if (part >= V_NUMPAR) { in insert()
544 for (i = 0; i < V_NUMPAR; ++i) { in load()
572 if (part >= V_NUMPAR) { in load()
589 for (part = 0; part < V_NUMPAR; part++) { in load()
721 vtoc->v_nparts = V_NUMPAR; in validate()
726 for (i = 0; i < V_NUMPAR; i++) { in validate()
760 for (j = 0; j < V_NUMPAR; j++) { in validate()
/titanic_50/usr/src/cmd/format/
H A Dlabel.c768 vtoc->v_nparts != V_NUMPAR) { in vtoc_to_label()
817 for (i = 0; i < V_NUMPAR; i++) { in vtoc_to_label()
918 for (i = 0; i < V_NUMPAR; i++, vpart++) { in label_to_vtoc()
927 for (i = 0; i < V_NUMPAR; i++, vpart++, lpart++) { in label_to_vtoc()
960 vtoc->v_nparts = V_NUMPAR; in label_to_vtoc()
974 for (i = 0; i < V_NUMPAR; i++, vpart++, lmap++) { in label_to_vtoc()
H A Dctlr_ata.c243 for (i = 0; i < V_NUMPAR && alts_slice == -1; i++) { in get_alts_slice()
/titanic_50/usr/src/uts/sun4v/sys/
H A Dvdc.h307 ulong_t open_lyr[V_NUMPAR]; /* number of layered opens */
313 vd_slice_t slice[V_NUMPAR]; /* logical partitions */
H A Dvdsk_common.h267 vd_partition_t partition[V_NUMPAR]; /* partition headers */
/titanic_50/usr/src/cmd/addbadsec/
H A Daddbadsec.c157 if ((minor_val % V_NUMPAR) != 0) { in main()
219 for (i = 0; i < V_NUMPAR && alts_slice == -1; i++) in main()
/titanic_50/usr/src/cmd/devinfo/
H A Ddevinfo.c190 for (i = 0; i < V_NUMPAR; i++) { in devinfo()
/titanic_50/usr/src/uts/sun4v/io/
H A Dvds.c451 ldi_handle_t ldi_handle[V_NUMPAR]; /* LDI slice handles */
453 dev_t dev[V_NUMPAR]; /* dev numbers for slices */
782 ASSERT(slice >= 0 && slice < V_NUMPAR); in vd_dskimg_io_params()
1053 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()
2883 for (i = 0; i < V_NUMPAR; i++) { in vd_vtocgeom_to_label()
3250 label.dkl_vtoc.v_nparts != V_NUMPAR) { in vd_dskimg_validate_geometry()
3344 vtoc->v_nparts != V_NUMPAR) in vd_do_dskimg_ioctl()
4480 ASSERT(vd->nslices > 0 && vd->nslices <= V_NUMPAR); in vd_process_attr_msg()
[all …]
H A Dvdc.c1100 num_slices = V_NUMPAR; in vdc_create_device_nodes()
1207 for (i = 0; i < V_NUMPAR; i++) { in vdc_is_opened()
1228 ASSERT(slice < V_NUMPAR); in vdc_mark_opened()
1273 ASSERT(slice < V_NUMPAR); in vdc_mark_closed()
2937 ASSERT(slice == VD_SLICE_NONE || slice < V_NUMPAR); in vdc_send_request()
7756 for (i = 0; i < V_NUMPAR; i++) { in vdc_get_vtoc_convert()
7835 for (i = 0; i < V_NUMPAR; i++) { in vdc_set_vtoc_convert()
7861 for (i = 0; i < V_NUMPAR; i++) { in vdc_get_extvtoc_convert()
7898 for (i = 0; i < V_NUMPAR; i++) { in vdc_set_extvtoc_convert()
8408 if (vtoc.v_nparts != V_NUMPAR) { in vdc_validate_geometry()
[all …]
/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()
1595 for (i = 0; i < V_NUMPAR; i++) { in overwrite_metadata()
H A Drmf_menu.c997 t_vtoc.v_nparts = V_NUMPAR; in process_s_flag()
1012 for (i = 0; i < V_NUMPAR; i++) { in process_s_flag()
H A Drmf_misc.c851 v_toc.v_nparts = V_NUMPAR; in write_sunos_label()
/titanic_50/usr/src/cmd/fs.d/udfs/fsck/
H A Dsetup.c618 if (dki_info.dki_partition > V_NUMPAR) { in get_last_block()
/titanic_50/usr/src/uts/common/avs/ns/solaris/
H A Dnsc_raw.c656 (dki_info->dki_partition > V_NUMPAR)) { in _raw_get_bsize()
/titanic_50/usr/src/cmd/avs/nsctl/
H A Dnskernd.c677 if (dki_info.dki_partition > V_NUMPAR) in get_bsize()
/titanic_50/usr/src/uts/common/io/
H A Dcmlb.c3509 cl->cl_vtoc.v_nparts = V_NUMPAR;
4201 for (i = 0; i < V_NUMPAR; i++) {
4515 user_vtoc->v_nparts != V_NUMPAR) {
4530 for (i = 0; i < V_NUMPAR; i++) {
5306 cl->cl_vtoc.v_nparts = V_NUMPAR;
/titanic_50/usr/src/lib/libefi/common/
H A Drdwr_efi.c1154 for (i = 0; i < min((*vtoc)->efi_nparts, V_NUMPAR); i++) { in efi_auto_sense()
/titanic_50/usr/src/cmd/fs.d/udfs/mkfs/
H A Dmkfs.c1485 if (dki_info.dki_partition > V_NUMPAR) { in get_last_block()
/titanic_50/usr/src/cmd/fdisk/
H A Dfdisk.c4244 for (i = 0; i < V_NUMPAR; i++) {
4366 disk_vtoc.v_nparts = V_NUMPAR;
/titanic_50/usr/src/cmd/fs.d/udfs/fstyp/
H A Dud_lib.c969 if (dki_info.dki_partition >= V_NUMPAR) { in ud_get_num_blks()
/titanic_50/usr/src/uts/intel/io/dktp/disk/
H A Dcmdk.c2064 if (part >= V_NUMPAR) in cmdk_bbh_gethandle()
/titanic_50/usr/src/uts/common/fs/udfs/
H A Dudf_vfsops.c1633 if (dki_info.dki_partition > V_NUMPAR) { in ud_get_last_block()

12