/illumos-gate/usr/src/cmd/hal/utils/ |
H A D | fsutils.c | 101 int systid; member 124 int systid; in walk_partitions() local 139 systid = ipart[i].systid; in walk_partitions() 141 if (systid == 0) { in walk_partitions() 145 if (is_dos_extended(systid) && (sec == lastsec)) { in walk_partitions() 153 if (valid && f(arg, ipart[i].systid, relsect, in walk_partitions() 162 find_dos_drive_cb(void *arg, int systid, uint_t relsect, uint_t numsect) in find_dos_drive_cb() argument 166 if (is_dos_drive(systid)) { in find_dos_drive_cb() 170 p->r_systid = systid; in find_dos_drive_cb() 201 get_num_dos_drives_cb(void *arg, int systid, uint_t relsect, uint_t numsect) in get_num_dos_drives_cb() argument [all …]
|
/illumos-gate/usr/src/cmd/format/ |
H A D | menu_fdisk.c | 134 partp->systid = getbyte((uchar_t **)&bootptr); in fill_ipart() 326 if (cur_disk->fdisk_part.systid == SUNIXOS || in open_cur_file() 327 cur_disk->fdisk_part.systid == SUNIXOS2) { in open_cur_file() 532 if (fdisk_is_dos_extended(ip.systid) && (ext_part_found == 0)) { 552 ip.systid = SUNIXOS2; 568 if ((ip.systid == SUNIXOS && 570 ip.systid == SUNIXOS2 || 571 ip.systid == EFI_PMBR) { 573 if (ip.systid == SUNIXOS || 574 ip.systid == SUNIXOS2 || [all …]
|
H A D | menu_command.c | 1580 (cur_disk->fdisk_part.systid != EFI_PMBR)) in c_label() 1589 (cur_disk->fdisk_part.systid != EFI_PMBR)) { in c_label() 1605 if (cur_disk->fdisk_part.systid == EFI_PMBR) { in c_label() 1621 if (!(((cur_disk->fdisk_part.systid != SUNIXOS) || in c_label() 1622 (cur_disk->fdisk_part.systid != SUNIXOS2)) && in c_label() 1674 if ((cur_disk->fdisk_part.systid == SUNIXOS) || in c_label() 1675 (cur_disk->fdisk_part.systid == SUNIXOS2)) { in c_label()
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | partition.c | 140 (iparts[i].systid == SUNIXOS || in partition_get_assocs() 141 iparts[i].systid == SUNIXOS2)) { in partition_get_assocs() 151 if (iparts[i].systid == SUNIXOS || in partition_get_assocs() 152 iparts[i].systid == SUNIXOS2) { in partition_get_assocs() 191 if (iparts[i].systid != UNUSED) { in partition_get_assocs() 388 if (iparts[i].systid != UNUSED) { in partition_make_descriptors() 438 iparts[part_num - 1].systid == UNUSED) { in get_attrs() 453 } else if (fdisk_is_dos_extended(iparts[part_num - 1].systid)) { in get_attrs() 481 (unsigned int)iparts[part_num - 1].systid) != 0) { in get_attrs() 605 iparts[i].systid = UNUSED; in get_parts() [all …]
|
/illumos-gate/usr/src/cmd/fstyp/ |
H A D | fstyp.c | 295 int systid; member 318 int systid; in walk_partitions() local 333 systid = ipart[i].systid; in walk_partitions() 335 if (systid == 0) { in walk_partitions() 339 if (is_dos_extended(systid) && (sec == lastsec)) { in walk_partitions() 347 if (valid && f(arg, ipart[i].systid, relsect, in walk_partitions() 356 find_dos_drive_cb(void *arg, int systid, uint32_t relsect, uint32_t numsect) in find_dos_drive_cb() argument 360 if (is_dos_drive(systid)) { in find_dos_drive_cb() 364 p->r_systid = systid; in find_dos_drive_cb()
|
/illumos-gate/usr/src/cmd/fdisk/ |
H A D | fdisk.c | 1261 Table[0].systid = SUNIXOS2; /* Solaris */ in main() 1427 if (Table[new_pt].systid != SUNIXOS && in dev_mboot_write() 1428 Table[new_pt].systid != SUNIXOS2) in dev_mboot_write() 1435 if ((Old_Table[old_pt].systid == SUNIXOS) || in dev_mboot_write() 1436 (Old_Table[old_pt].systid == SUNIXOS2)) { in dev_mboot_write() 1461 if (Old_Table[old_pt].systid == EFI_PMBR) { in dev_mboot_write() 1468 if (Table[new_pt].systid != EFI_PMBR) in dev_mboot_write() 1471 if ((Old_Table[old_pt].systid == in dev_mboot_write() 1472 Table[new_pt].systid) && in dev_mboot_write() 1776 uchar_t systid; in load() local [all …]
|
/illumos-gate/usr/src/cmd/rmformat/ |
H A D | rmf_slice.c | 922 if (fdisk.part[i].systid == SUNIXOS || in check_vtoc_sanity() 923 fdisk.part[i].systid == SUNIXOS2) { in check_vtoc_sanity() 1204 fdisk->part[i].systid = part->systid; in get_fdisk() 1212 DPRINTF1("\tsystem id 0x%x\n", part->systid); in get_fdisk() 1375 parts[i].systid = UNUSED; in write_default_label() 1392 parts[0].systid = SUNIXOS2; /* Solaris */ in write_default_label() 1530 if ((fdisk.part[i].systid == UNUSED) || in overwrite_metadata() 1531 (fdisk.part[i].systid == 0)) in overwrite_metadata() 1534 if (fdisk.part[i].systid == SUNIXOS || in overwrite_metadata() 1535 fdisk.part[i].systid == SUNIXOS2) { in overwrite_metadata()
|
H A D | rmformat.h | 141 uint8_t systid; /* OS type */ member
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/common/ |
H A D | pcfs_common.c | 528 if (isDosDrive(part[i].systid)) { in findPartitionOffset() 537 if ((extendedPart < 0) && isDosExtended(part[i].systid)) { in findPartitionOffset() 541 if ((bootPart < 0) && isBootPart(part[i].systid)) { in findPartitionOffset() 614 if (isDosDrive(part[i].systid)) { in findPartitionOffset() 617 } else if (isDosExtended(part[i].systid)) { in findPartitionOffset()
|
/illumos-gate/usr/src/lib/libfdisk/common/ |
H A D | libfdisk.c | 367 if (fdisk_is_solaris_part(LE_8(temp->parts[0].systid))) { in fdisk_get_solaris_part() 369 if ((temp->parts[0].systid == SUNIXOS) && in fdisk_get_solaris_part() 401 *sysid = LE_8(temp->parts[0].systid); in fdisk_get_part_info() 636 if (fdisk_is_dos_extended(LE_8(fdp->systid))) { in fdisk_read_extpart() 827 if (fdisk_is_dos_extended(LE_8(part_table[i].systid))) { in fdisk_ext_part_exists() 885 temp->parts[0].systid = LE_8(partid); in fdisk_change_logical_drive_id() 923 part->systid = LE_8(partid); in fdisk_add_logical_drive() 960 part->systid = LE_8(EXTDOS); in fdisk_add_logical_drive()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/disk_label/ |
H A D | disk_label.c | 134 if (ip->systid == UNUSED) { in print_fdisk_part() 135 mdb_printf("%-4llu %s:%#lx\n", nr, "UNUSED", ip->systid); in print_fdisk_part() 139 switch (ip->systid) { in print_fdisk_part() 183 c, ip->systid); in print_fdisk_part() 185 mdb_snprintf(typestr, sizeof (typestr), "%#lx", ip->systid); in print_fdisk_part()
|
/illumos-gate/usr/src/uts/common/sys/dktp/ |
H A D | fdisk.h | 80 unsigned char systid; /* OS type */ member
|
/illumos-gate/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_fs.c | 143 if (ipart[i].systid == SUNIXOS || ipart[i].systid == SUNIXOS2) in get_sol_prtnum() 147 if (!fdisk_is_dos_extended(ipart[i].systid) || in get_sol_prtnum()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | cmlb.c | 2509 fdp->systid, fdp->bootid); 2524 uchar_t systid; 2547 cl->cl_fmap[i].fmap_systid = LE_8(fdp->systid); 2551 if ((fdp->systid == EXTDOS || fdp->systid == FDISK_EXTLBA) && 2586 systid = LE_8(efdp1->systid); 2600 (cl->cl_fmap[j].fmap_systid != systid)) { 2610 cl->cl_fmap[j].fmap_systid = systid; 2613 if ((efdp1->systid == SUNIXOS && 2616 efdp1->systid == SUNIXOS2) { 2631 if (fdp->systid != SUNIXOS && [all …]
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/ |
H A D | mkfs_main.c | 581 if (isDosDrive(part[i].systid)) { in seek_partn() 590 if ((extendedPart < 0) && isDosExtended(part[i].systid)) { in seek_partn() 594 if ((bootPart < 0) && isBootPart(part[i].systid)) { in seek_partn() 615 FdiskFATsize = lookup_FAT_size(part[bootPart].systid); in seek_partn() 638 FdiskFATsize = lookup_FAT_size(part[primaryPart].systid); in seek_partn() 704 if (isDosDrive(part[i].systid)) { in seek_partn() 707 } else if (isDosExtended(part[i].systid)) { in seek_partn() 759 part[extndDrives[driveIndex]].systid); in seek_partn() 800 lookup_FAT_size(part[extraDrives[driveIndex]].systid); in seek_partn()
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_vfsops.c | 1627 uint_t, (uint_t)dosp[i].systid, in findTheDrive() 1631 if (isDosDrive(dosp[i].systid)) { in findTheDrive() 1640 if ((extendedPart < 0) && isDosExtended(dosp[i].systid)) { in findTheDrive() 1644 if ((bootPart < 0) && isBootPart(dosp[i].systid)) { in findTheDrive() 1727 uint_t, (uint_t)dosp[i].systid, in findTheDrive() 1730 if (isDosDrive(dosp[i].systid)) { in findTheDrive() 1732 } else if (isDosExtended(dosp[i].systid)) { in findTheDrive()
|
/illumos-gate/usr/src/cmd/boot/installgrub/ |
H A D | installgrub.c | 804 if (!fdisk_is_dos_extended(part->systid)) { in get_start_sector() 1466 if (part->systid == 0xbe) { in find_x86_bootpar()
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 5619 if (part->systid == 0xbe) { 5624 if (part->systid == EFI_PMBR) { 5630 if ((part->systid == SUNIXOS && 5632 NULL) != 0)) || part->systid == SUNIXOS2) { 5634 if (part->systid == SUNIXOS || 5635 part->systid == SUNIXOS2) { 5642 if (fdisk_is_dos_extended(part->systid))
|
/illumos-gate/usr/src/cmd/boot/installboot/i386/ |
H A D | installboot.c | 865 if (part[i].systid == EFI_PMBR) in print_stage1_cb() 1567 if (part[i].systid == X86BOOT) in probe_mbr()
|
/illumos-gate/usr/src/lib/libefi/common/ |
H A D | rdwr_efi.c | 265 if (ipart[i].systid == EFI_PMBR) in efi_alloc_and_read()
|