/titanic_50/usr/src/uts/common/sys/ |
H A D | vtoc.h | 63 #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 D | rdwr_vtoc.c | 61 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 D | prtvtoc.c | 64 #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 D | fmthard.c | 411 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 D | label.c | 768 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 D | ctlr_ata.c | 243 for (i = 0; i < V_NUMPAR && alts_slice == -1; i++) { in get_alts_slice()
|
/titanic_50/usr/src/uts/sun4v/sys/ |
H A D | vdc.h | 307 ulong_t open_lyr[V_NUMPAR]; /* number of layered opens */ 313 vd_slice_t slice[V_NUMPAR]; /* logical partitions */
|
H A D | vdsk_common.h | 267 vd_partition_t partition[V_NUMPAR]; /* partition headers */
|
/titanic_50/usr/src/cmd/addbadsec/ |
H A D | addbadsec.c | 157 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 D | devinfo.c | 190 for (i = 0; i < V_NUMPAR; i++) { in devinfo()
|
/titanic_50/usr/src/uts/sun4v/io/ |
H A D | vds.c | 451 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 D | vdc.c | 1100 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 D | rmf_slice.c | 1261 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 D | rmf_menu.c | 997 t_vtoc.v_nparts = V_NUMPAR; in process_s_flag() 1012 for (i = 0; i < V_NUMPAR; i++) { in process_s_flag()
|
H A D | rmf_misc.c | 851 v_toc.v_nparts = V_NUMPAR; in write_sunos_label()
|
/titanic_50/usr/src/cmd/fs.d/udfs/fsck/ |
H A D | setup.c | 618 if (dki_info.dki_partition > V_NUMPAR) { in get_last_block()
|
/titanic_50/usr/src/uts/common/avs/ns/solaris/ |
H A D | nsc_raw.c | 656 (dki_info->dki_partition > V_NUMPAR)) { in _raw_get_bsize()
|
/titanic_50/usr/src/cmd/avs/nsctl/ |
H A D | nskernd.c | 677 if (dki_info.dki_partition > V_NUMPAR) in get_bsize()
|
/titanic_50/usr/src/uts/common/io/ |
H A D | cmlb.c | 3509 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 D | rdwr_efi.c | 1154 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 D | mkfs.c | 1485 if (dki_info.dki_partition > V_NUMPAR) { in get_last_block()
|
/titanic_50/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 4244 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 D | ud_lib.c | 969 if (dki_info.dki_partition >= V_NUMPAR) { in ud_get_num_blks()
|
/titanic_50/usr/src/uts/intel/io/dktp/disk/ |
H A D | cmdk.c | 2064 if (part >= V_NUMPAR) in cmdk_bbh_gethandle()
|
/titanic_50/usr/src/uts/common/fs/udfs/ |
H A D | udf_vfsops.c | 1633 if (dki_info.dki_partition > V_NUMPAR) { in ud_get_last_block()
|