/illumos-gate/usr/src/uts/common/sys/ |
H A D | fdmedia.h | 293 static struct partition dpt_80x36[NDKMAP] = { 300 static struct partition dpt_80x21[NDKMAP] = { 307 static struct partition dpt_80x18[NDKMAP] = { 314 static struct partition dpt_80x15[NDKMAP] = { 321 static struct partition dpt_80x9[NDKMAP] = { 328 static struct partition dpt_77x8[NDKMAP] = { 336 static struct partition dpt_40x16[NDKMAP] = { 344 static struct partition dpt_40x9[NDKMAP] = { 351 static struct partition dpt_40x8[NDKMAP] = { 359 static struct partition dpt_40x4[NDKMAP] = {
|
H A D | dklabel.h | 45 #define NDKMAP 16 /* # of logical partitions */ macro 48 #define NDKMAP 8 /* # of logical partitions */ 139 struct dkl_partition v_part[NDKMAP]; /* partition headers */ 140 time32_t timestamp[NDKMAP]; /* partition timestamp (unsupported) */ 146 struct dk_map2 v_part[NDKMAP]; /* partition hdrs, sec 2 */ 150 time32_t v_timestamp[NDKMAP]; /* partition timestamp */ 170 (sizeof (struct dk_map32) * NDKMAP) + \ 213 struct dk_map32 dkl_map[NDKMAP]; /* logical partition headers */
|
H A D | cmlb_impl.h | 50 #define NSDMAP (NDKMAP + 1) 52 #define NSDMAP (NDKMAP + FDISK_PARTS + 1) 59 #define P0_RAW_DISK (NDKMAP) 63 #define FDISK_P1 (NDKMAP+1) 64 #define FDISK_P2 (NDKMAP+2) 65 #define FDISK_P3 (NDKMAP+3) 66 #define FDISK_P4 (NDKMAP+4)
|
H A D | fdc.h | 117 struct partition d_part[NDKMAP]; /* partitions descriptions */ 124 ulong_t d_lyropen[NDKMAP]; /* Layered open counters */ 160 time_t d_vtoc_timestamp[NDKMAP];
|
H A D | dkio.h | 114 struct dk_map dka_map[NDKMAP]; 119 struct dk_map32 dka_map[NDKMAP];
|
/illumos-gate/usr/src/cmd/format/ |
H A D | modify_partition.c | 155 for (i = 0; i < NDKMAP; i++) { in p_modify() 167 for (i = 0; i < NDKMAP; i++) { in p_modify() 303 for (i = 0; i < NDKMAP; i++) { in p_modify() 349 for (i = NDKMAP/2; i < NDKMAP; i++) { 357 for (i = 0; i < NDKMAP/2; i++) { 360 for (i = 0; i < NDKMAP; i++) { 395 for (i = 0; i < NDKMAP; i++) { 452 for (i = 0; i < NDKMAP; i++) { 512 for (i = 0; i < NDKMAP; i++) {
|
H A D | auto_sense.c | 84 int partitions[NDKMAP]; 705 for (i = 0; i < NDKMAP; i++) { in new_direct_disk_type() 1451 int ncyls[NDKMAP]; 1471 vtoc->v_nparts = NDKMAP; 1474 for (i = 0; i < NDKMAP; i++) { 1507 for (i = 0; i < NDKMAP; i++) { 1527 for (i = 0; i < NDKMAP; i++) { 1560 for (i = 0; i < NDKMAP; i++) { 1572 for (i = 0; i < NDKMAP; i++) { 1583 for (i = NDKMAP/2; i < NDKMAP; i++) { [all …]
|
H A D | menu_partition.c | 258 for (i = 0; i < NDKMAP; i++) { in p_select() 305 for (i = 0; i < NDKMAP; i++) { in p_select() 458 for (i = 0; i < NDKMAP; i++) { in print_map() 558 for (i = 0; i < NDKMAP; i++) { in print_partition()
|
H A D | partition.c | 42 struct dk_map2 default_vtoc_map[NDKMAP] = { 454 for (i = 0; i < NDKMAP; i++) { in make_partition() 518 part->vtoc.v_nparts = NDKMAP; in set_vtoc_defaults() 521 for (i = 0; i < NDKMAP; i++) { in set_vtoc_defaults()
|
H A D | partition.h | 64 extern struct dk_map2 default_vtoc_map[NDKMAP];
|
H A D | hardware_structs.h | 185 struct dk_map32 pinfo_map[NDKMAP]; /* layout info */
|
H A D | label.c | 320 for (i = 0; i < NDKMAP; i++) { in write_label() 838 for (i = 0; i < NDKMAP; i++, lmap++, vpart++) { in vtoc_to_label() 1032 for (i = 0; i < NDKMAP; i++) { in dump_label() 1071 for (i = 0; i < NDKMAP; i++) { in dump_label()
|
H A D | startup.c | 2171 for (i = 0; i < NDKMAP; i++) { in add_device_to_disklist() 2276 for (i = 0; i < NDKMAP; i++) in parts_match() 2302 for (i = 0; i < NDKMAP; i++) { in parts_match() 2586 for (i = 0; i < NDKMAP; i++, map1++, map2++) { in check_pinfo_for_inconsistency() 2596 for (i = 0; i < NDKMAP; i++, vp1++, vp2++) { in check_pinfo_for_inconsistency()
|
H A D | menu_command.c | 1697 for (i = 0; i < NDKMAP; i++) { in c_label() 2010 for (i = 0; i < NDKMAP; i++) { in c_backup() 2242 for (i = 0; i < NDKMAP; i++) { in c_verify() 2308 for (i = 0; i < NDKMAP; i++) { in c_verify()
|
H A D | menu_fdisk.c | 433 for (i = 0; i < NDKMAP; i++) { in update_cur_parts() 652 for (i = 0; i < NDKMAP; i ++) {
|
H A D | add_definition.c | 334 for (i = 0; i < NDKMAP; i++, pp++, pv++, dv++) { in add_partition()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | vtoc.h | 107 #define NDKMAP 16 /* # of logical partitions */ macro 127 } v_part[NDKMAP]; /* partition headers */ 128 uint32_t timestamp[NDKMAP]; /* partition timestamp (unsupported) */
|
/illumos-gate/usr/src/uts/sun/sys/ |
H A D | fdvar.h | 39 #ifndef NDKMAP 40 #define NDKMAP 8 macro 140 struct dk_map32 dkl_map[NDKMAP]; /* partition map, see dkio.h */ 162 uint_t un_lyropen[NDKMAP];
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | fd.c | 490 sizeof (struct partition) * NDKMAP); in fd_attach() 643 for (i = 0; i < NDKMAP; i++) in fd_unit_is_open() 845 sizeof (struct partition) * NDKMAP); in fdgetlabel() 925 for (i = 0; i < NDKMAP; i++) { in fdgetlabel() 1371 for (part = 0; part < NDKMAP; part++) { in fd_ioctl() 1391 for (part = 0; part < NDKMAP; part++) { in fd_ioctl() 1427 for (part = 0; part < NDKMAP; part++) { in fd_ioctl() 1457 for (part = 0; part < NDKMAP; part++) { in fd_ioctl() 1632 fdp->d_part, sizeof (struct partition) * NDKMAP); in fd_ioctl() 1868 bcopy(fdp->d_part, vtocp->v_part, sizeof (struct partition) * NDKMAP); in fd_build_user_vtoc() [all …]
|
H A D | cmlb.c | 1067 (part < NDKMAP && cl->cl_solaris_size == 0)) && in cmlb_partinfo() 1081 (part >= NDKMAP)) ? V_UNASSIGNED : in cmlb_partinfo() 1820 for (count = 0; count < NDKMAP; count++) { 2696 bzero(&cl->cl_map, NDKMAP * (sizeof (struct dk_map))); 3110 for (i = 0; i < NDKMAP; i++) { 3128 for (i = 0; i < NDKMAP; i++, vpartp++) { 3203 for (i = 0; i < NDKMAP; i++) { 3217 for (i = 0; i < NDKMAP; i++, vpartp++) { 3295 bzero(&cl->cl_map, NDKMAP * (sizeof (struct dk_map))); 3729 for (i = 0; i < NDKMAP; i++) { [all …]
|
/illumos-gate/usr/src/uts/common/sys/scsi/targets/ |
H A D | sddef.h | 98 #define NSDMAP NDKMAP 112 #define NSDMAP (NDKMAP + FDISK_PARTS + 1) 2350 #define P0_RAW_DISK (NDKMAP) 2351 #define FDISK_P1 (NDKMAP+1) 2352 #define FDISK_P2 (NDKMAP+2) 2353 #define FDISK_P3 (NDKMAP+3) 2354 #define FDISK_P4 (NDKMAP+4)
|
/illumos-gate/usr/src/uts/sun/sys/dada/targets/ |
H A D | daddef.h | 94 ulong_t lyr_open[NDKMAP]; 123 struct kstat *un_pstats[NDKMAP]; /* for partition statistics */
|
/illumos-gate/usr/src/uts/intel/io/dktp/disk/ |
H A D | cmdk.c | 74 #define PARTITION0_INDEX (NDKMAP + 0) 1816 NDKMAP * (sizeof (uint32_t) + sizeof (struct alts_ent *))); in cmdk_bbh_free_alts() 1836 for (alts = 0; alts < NDKMAP; alts++) { in cmdk_bbh_reopen() 1851 if (alts >= NDKMAP) { in cmdk_bbh_reopen() 1896 dkp->dk_slc_cnt = kmem_alloc(NDKMAP * in cmdk_bbh_reopen() 1899 dkp->dk_slc_ent = (struct alts_ent **)(dkp->dk_slc_cnt + NDKMAP); in cmdk_bbh_reopen() 1920 for (i = 0; i < NDKMAP; i++) { in cmdk_bbh_reopen()
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vdsk_common.c | 288 if (nparts > NDKMAP + 1) { in vd_efi_alloc_and_read()
|
/illumos-gate/usr/src/cmd/rmformat/ |
H A D | rmf_slice.c | 465 if ((index < 0) || (index >= NDKMAP)) { in sup_setpart() 882 } part[NDKMAP]; in check_vtoc_sanity() 975 for (i = 0, j = 0; i < NDKMAP; i++) { in check_vtoc_sanity()
|