/titanic_44/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 317 static struct ipart Table[FD_NUMPART]; 318 static struct ipart Old_Table[FD_NUMPART]; 319 static int skip_verify[FD_NUMPART]; /* special case skip sz chk */ 1431 for (new_pt = 0; new_pt < FD_NUMPART; new_pt++) { in dev_mboot_write() 1439 for (old_pt = 0; old_pt < FD_NUMPART; old_pt++) { in dev_mboot_write() 1455 if (old_pt >= FD_NUMPART) { in dev_mboot_write() 1468 for (old_pt = 0; old_pt < FD_NUMPART; old_pt++) { in dev_mboot_write() 1475 for (new_pt = 0; new_pt < FD_NUMPART; new_pt++) { in dev_mboot_write() 1478 for (old_pt = 0; old_pt < FD_NUMPART; old_pt++) { in dev_mboot_write() 1492 if (old_pt == FD_NUMPART && Table[new_pt].begcyl != 0) { in dev_mboot_write() [all …]
|
/titanic_44/usr/src/uts/common/sys/dktp/ |
H A D | fdisk.h | 66 #define FD_NUMPART 4 /* number of 'partitions' in fdisk table */ macro 151 char parts[FD_NUMPART * sizeof (struct ipart)];
|
/titanic_44/usr/src/cmd/hal/utils/ |
H A D | fsutils.c | 119 struct ipart ipart[FD_NUMPART]; in walk_partitions() 136 bcopy(mboot->parts, ipart, FD_NUMPART * sizeof (struct ipart)); in walk_partitions() 138 for (i = 0; i < FD_NUMPART; i++) { in walk_partitions()
|
/titanic_44/usr/src/cmd/fs.d/pcfs/fsck/ |
H A D | pcfs_common.c | 456 struct ipart part[FD_NUMPART]; in findPartitionOffset() 476 int extndDrives[FD_NUMPART]; in findPartitionOffset() 482 int extraDrives[FD_NUMPART]; in findPartitionOffset() 526 for (i = 0; i < FD_NUMPART; i++) { in findPartitionOffset() 612 for (i = 0; i < FD_NUMPART; i++) { in findPartitionOffset()
|
/titanic_44/usr/src/lib/libdiskmgt/common/ |
H A D | partition.c | 56 #define TOTAL_NUMPART (FD_NUMPART + MAX_EXT_PARTS) 58 #define ISIZE FD_NUMPART * sizeof (struct ipart) 448 if (part_num > FD_NUMPART) { in get_attrs() 616 for (i = 0; i < FD_NUMPART; i++) { in get_parts() 669 for (log_drv = fdisk_get_ld_head(epp), j = FD_NUMPART, in get_parts()
|
/titanic_44/usr/src/cmd/fstyp/ |
H A D | fstyp.c | 313 struct ipart ipart[FD_NUMPART]; in walk_partitions() 330 bcopy(mboot->parts, ipart, FD_NUMPART * sizeof (struct ipart)); in walk_partitions() 332 for (i = 0; i < FD_NUMPART; i++) { in walk_partitions()
|
/titanic_44/usr/src/lib/libfdisk/common/ |
H A D | libfdisk.c | 634 for (i = 0; (i < FD_NUMPART) && (!ext_part_found); i++, fdp++) { in fdisk_read_extpart() 774 int cpcnt = FD_NUMPART * size; in fdisk_read_master_part_table() 805 for (i = 0; i < FD_NUMPART; i++) { in fdisk_ext_part_exists() 811 if (i == FD_NUMPART) { in fdisk_ext_part_exists() 860 i = FD_NUMPART + 1; in fdisk_change_logical_drive_id() 978 i = FD_NUMPART + 1; in fdisk_delete_logical_drive() 1142 if (part > FD_NUMPART) { in fdisk_mounted_logical_drives()
|
/titanic_44/usr/src/psm/stand/bootblks/ufs/i386/ |
H A D | mboot.S | 90 #define FD_NUMPART 4 macro 177 mov cx, FD_NUMPART
|
/titanic_44/usr/src/cmd/rmformat/ |
H A D | rmformat.h | 149 struct fdisk_part part[FD_NUMPART];
|
H A D | rmf_slice.c | 921 for (i = 0; i < FD_NUMPART; i++) { in check_vtoc_sanity() 1194 for (i = 0; i < FD_NUMPART; i++) { in get_fdisk() 1331 struct ipart parts[FD_NUMPART]; in write_default_label() 1374 for (i = 0; i < FD_NUMPART; i++) { in write_default_label() 1526 for (i = 0; i < FD_NUMPART; i++) { in overwrite_metadata()
|
/titanic_44/usr/src/cmd/boot/mbr/ |
H A D | mbr.c | 117 for (i = 0; i < FD_NUMPART; i++) { in main()
|
/titanic_44/usr/src/uts/common/io/ |
H A D | cmlb.c | 2122 cl->cl_fmap[FD_NUMPART + count].fmap_nblk; 2124 cl->cl_fmap[FD_NUMPART + count].fmap_start; 2197 if (epart == FD_NUMPART) { 2202 i = FD_NUMPART; 2203 ts = cl->cl_fmap[FD_NUMPART].fmap_start; 2204 te = ts + cl->cl_fmap[FD_NUMPART].fmap_nblk - 1; 2351 bzero(cl->cl_fmap, sizeof (struct fmap) * FD_NUMPART); 2358 struct ipart fdisk[FD_NUMPART]; 2396 bzero(cl->cl_fmap, sizeof (struct fmap) * FD_NUMPART); 2428 for (fdp = fdisk, i = 0; i < FD_NUMPART; i++, fdp++) { [all …]
|
/titanic_44/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vfsops.c | 1512 FD_NUMPART * sizeof (struct ipart)) 1520 struct ipart dosp[FD_NUMPART]; /* incore fdisk partition structure */ in findTheDrive() 1537 int extndDrives[FD_NUMPART]; in findTheDrive() 1544 int extraDrives[FD_NUMPART]; in findTheDrive() 1597 for (i = 0; i < FD_NUMPART; i++) { in findTheDrive() 1696 for (i = 0; i < FD_NUMPART; i++) { in findTheDrive() 1722 ASSERT(numDrives <= FD_NUMPART); in findTheDrive() 1767 ASSERT(driveIndex < MIN(numExtraDrives, FD_NUMPART)); in findTheDrive()
|
/titanic_44/usr/src/cmd/format/ |
H A D | menu_fdisk.c | 519 for (i = 0; i < FD_NUMPART; i++) { 739 for (i = 0; i < FD_NUMPART; i++) { 864 for (i = 0; i < FD_NUMPART; i++) {
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | cmlb_impl.h | 42 #define FDISK_PARTS (FD_NUMPART + MAX_EXT_PARTS)
|
/titanic_44/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_impl.h | 62 #define IS_PRTNUM_VALID(x) ((uint_t)(x) < FD_NUMPART + MAX_EXT_PARTS)
|
H A D | libgrub_fs.c | 142 for (i = 0; i < FD_NUMPART; ++i) { in get_sol_prtnum()
|
/titanic_44/usr/src/cmd/boot/installgrub/ |
H A D | installgrub.c | 774 for (i = 0; i < FD_NUMPART; i++) { in get_start_sector() 789 if (i == FD_NUMPART) { in get_start_sector() 1447 for (i = 0; i < FD_NUMPART; i++) { in find_x86_bootpar()
|
/titanic_44/usr/src/cmd/fs.d/pcfs/mkfs/ |
H A D | mkfs.c | 616 struct ipart part[FD_NUMPART]; in seek_partn() 634 int extndDrives[FD_NUMPART]; in seek_partn() 640 int extraDrives[FD_NUMPART]; in seek_partn() 685 for (i = 0; i < FD_NUMPART; i++) { in seek_partn() 805 for (i = 0; i < FD_NUMPART; i++) { in seek_partn()
|
/titanic_44/usr/src/lib/libzfs/common/ |
H A D | libzfs_import.c | 998 for (i = 0; i <= FD_NUMPART; i++) in nozpool_all_slices() 1030 for (i = 1; i <= FD_NUMPART; i++) in check_slices()
|
/titanic_44/usr/src/uts/common/sys/scsi/targets/ |
H A D | sddef.h | 105 #define FDISK_PARTS (FD_NUMPART + MAX_EXT_PARTS)
|
/titanic_44/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 4949 for (i = 0; i < FD_NUMPART; i++) {
|