Home
last modified time | relevance | path

Searched refs:FD_NUMPART (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/cmd/fdisk/
H A Dfdisk.c1448 if (old_pt >= FD_NUMPART) { in dev_mboot_write()
1844 if (part_count > FD_NUMPART) { in load()
2052 ldcnt = FD_NUMPART + 1; in load()
2311 if (i >= FD_NUMPART) { in insert_tbl()
2819 if (i == FD_NUMPART) {
3103 while (j < FD_NUMPART) {
3108 for (i = 0; i < FD_NUMPART; i++)
3240 if (i >= FD_NUMPART) {
3945 struct ipart iparts[FD_NUMPART];
4242 if (i >= FD_NUMPART) {
[all …]
/illumos-gate/usr/src/uts/common/sys/dktp/
H A Dfdisk.h66 #define FD_NUMPART 4 /* number of 'partitions' in fdisk table */ macro
151 char parts[FD_NUMPART * sizeof (struct ipart)];
/illumos-gate/usr/src/cmd/hal/utils/
H A Dfsutils.c119 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()
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dpcfs_common.c456 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()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dpartition.c56 #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()
/illumos-gate/usr/src/cmd/fstyp/
H A Dfstyp.c313 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()
/illumos-gate/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c635 for (i = 0; (i < FD_NUMPART) && (!ext_part_found); i++, fdp++) { in fdisk_read_extpart()
777 int cpcnt = FD_NUMPART * size; in fdisk_read_master_part_table()
826 for (i = 0; i < FD_NUMPART; i++) { in fdisk_ext_part_exists()
832 if (i == FD_NUMPART) { in fdisk_ext_part_exists()
881 i = FD_NUMPART + 1; in fdisk_change_logical_drive_id()
999 i = FD_NUMPART + 1; in fdisk_delete_logical_drive()
1163 if (part > FD_NUMPART) { in fdisk_mounted_logical_drives()
/illumos-gate/usr/src/cmd/rmformat/
H A Drmformat.h147 struct fdisk_part part[FD_NUMPART];
H A Drmf_slice.c921 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()
/illumos-gate/usr/src/uts/common/io/
H A Dcmlb.c2157 cl->cl_fmap[FD_NUMPART + count].fmap_nblk;
2159 cl->cl_fmap[FD_NUMPART + count].fmap_start;
2232 if (epart == FD_NUMPART) {
2237 i = FD_NUMPART;
2238 ts = cl->cl_fmap[FD_NUMPART].fmap_start;
2239 te = ts + cl->cl_fmap[FD_NUMPART].fmap_nblk - 1;
2393 struct ipart fdisk[FD_NUMPART];
2505 for (i = 0; i < FD_NUMPART; i++, fdp++) {
2560 for (j = FD_NUMPART; j < FDISK_PARTS; j++) {
2665 for (k = ld_count + FD_NUMPART;
[all …]
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c1515 FD_NUMPART * sizeof (struct ipart))
1523 struct ipart dosp[FD_NUMPART]; /* incore fdisk partition structure */ in findTheDrive()
1540 int extndDrives[FD_NUMPART]; in findTheDrive()
1547 int extraDrives[FD_NUMPART]; in findTheDrive()
1600 for (i = 0; i < FD_NUMPART; i++) { in findTheDrive()
1699 for (i = 0; i < FD_NUMPART; i++) { in findTheDrive()
1725 ASSERT(numDrives <= FD_NUMPART); in findTheDrive()
1770 ASSERT(driveIndex < MIN(numExtraDrives, FD_NUMPART)); in findTheDrive()
/illumos-gate/usr/src/cmd/format/
H A Dmenu_fdisk.c522 for (i = 0; i < FD_NUMPART; i++) {
752 for (i = 0; i < FD_NUMPART; i++) {
877 for (i = 0; i < FD_NUMPART; i++) {
/illumos-gate/usr/src/uts/common/sys/
H A Dcmlb_impl.h43 #define FDISK_PARTS (FD_NUMPART + MAX_EXT_PARTS)
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_impl.h62 #define IS_PRTNUM_VALID(x) ((uint_t)(x) < FD_NUMPART + MAX_EXT_PARTS)
H A Dlibgrub_fs.c142 for (i = 0; i < FD_NUMPART; ++i) { in get_sol_prtnum()
/illumos-gate/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c779 for (i = 0; i < FD_NUMPART; i++) { in get_start_sector()
794 if (i == FD_NUMPART) { in get_start_sector()
1462 for (i = 0; i < FD_NUMPART; i++) { in find_x86_bootpar()
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c618 struct ipart part[FD_NUMPART]; in seek_partn()
636 int extndDrives[FD_NUMPART]; in seek_partn()
642 int extraDrives[FD_NUMPART]; in seek_partn()
687 for (i = 0; i < FD_NUMPART; i++) { in seek_partn()
807 for (i = 0; i < FD_NUMPART; i++) { in seek_partn()
/illumos-gate/usr/src/cmd/boot/installboot/i386/
H A Dinstallboot.c863 for (int i = 0; i < FD_NUMPART; i++) { in print_stage1_cb()
1342 for (i = 0; i < FD_NUMPART; i++) { in get_start_sector()
1565 for (i = 0; i < FD_NUMPART; i++) { in probe_mbr()
1580 if (i == FD_NUMPART) { in probe_mbr()
/illumos-gate/usr/src/lib/libefi/common/
H A Drdwr_efi.c261 for (i = 0; i < FD_NUMPART; i++) { in efi_alloc_and_read()
266 if (i == FD_NUMPART) in efi_alloc_and_read()
/illumos-gate/usr/src/lib/libzutil/common/
H A Dzutil_import.c1052 for (i = 0; i <= FD_NUMPART; i++) in nozpool_all_slices()
1084 for (i = 1; i <= FD_NUMPART; i++) in check_slices()
/illumos-gate/usr/src/cmd/mdb/common/modules/disk_label/
H A Ddisk_label.c302 for (size_t i = 0; i < FD_NUMPART; i++) { in cmd_mbr()
/illumos-gate/usr/src/uts/common/sys/scsi/targets/
H A Dsddef.h106 #define FDISK_PARTS (FD_NUMPART + MAX_EXT_PARTS)
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c5626 for (i = 0; i < FD_NUMPART; i++) {