Home
last modified time | relevance | path

Searched refs:systid (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/cmd/hal/utils/
H A Dfsutils.c101 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 Dmenu_fdisk.c552 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 ||
575 ip.systid == EFI_PMBR) {
780 ip.systid = SUNIXOS2;
791 if ((ip.systid == SUNIXOS &&
796 if (ip.systid == SUNIXOS ||
[all …]
H A Dmenu_command.c1583 (cur_disk->fdisk_part.systid != EFI_PMBR)) in c_label()
1592 (cur_disk->fdisk_part.systid != EFI_PMBR)) { in c_label()
1608 if (cur_disk->fdisk_part.systid == EFI_PMBR) { in c_label()
1624 if (!(((cur_disk->fdisk_part.systid != SUNIXOS) || in c_label()
1625 (cur_disk->fdisk_part.systid != SUNIXOS2)) && in c_label()
1677 if ((cur_disk->fdisk_part.systid == SUNIXOS) || in c_label()
1678 (cur_disk->fdisk_part.systid == SUNIXOS2)) { in c_label()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dpartition.c140 (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()
605 iparts[i].systid = UNUSED; in get_parts()
617 if (iparts[i].systid == UNUSED) in get_parts()
676 iparts[j].systid = log_drv->parts[0].systid; in get_parts()
763 (iparts[i].systid == SUNIXOS || in has_slices()
[all …]
/illumos-gate/usr/src/cmd/fstyp/
H A Dfstyp.c295 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 Dfdisk.c1776 uchar_t systid; in load() local
1825 systid = Old_Table[i].systid; in load()
2517 Table[i].systid, in verify_tbl()
2527 Table[j].systid, in verify_tbl()
3500 Table[i].systid = SUNIXOS;
3707 switch (Table[i].systid) {
3927 Table[i].systid = UNUSED;
4166 Table[i].systid,
4194 ext_tab.systid,
4231 if (Table[i].systid == SUNIXOS || Table[i].systid == SUNIXOS2) {
[all …]
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_slice.c922 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 Drmformat.h141 uint8_t systid; /* OS type */ member
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dpcfs_common.c527 if (isDosDrive(part[i].systid)) { in findPartitionOffset()
536 if ((extendedPart < 0) && isDosExtended(part[i].systid)) { in findPartitionOffset()
540 if ((bootPart < 0) && isBootPart(part[i].systid)) { in findPartitionOffset()
613 if (isDosDrive(part[i].systid)) { in findPartitionOffset()
616 } else if (isDosExtended(part[i].systid)) { in findPartitionOffset()
/illumos-gate/usr/src/cmd/mdb/common/modules/disk_label/
H A Ddisk_label.c131 if (ip->systid == UNUSED) { in print_fdisk_part()
132 mdb_printf("%-4llu %s:%#lx\n", nr, "UNUSED", ip->systid); in print_fdisk_part()
136 switch (ip->systid) { in print_fdisk_part()
180 c, ip->systid); in print_fdisk_part()
182 mdb_snprintf(typestr, sizeof (typestr), "%#lx", ip->systid); in print_fdisk_part()
/illumos-gate/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c367 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/uts/common/sys/dktp/
H A Dfdisk.h80 unsigned char systid; /* OS type */ member
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_fs.c143 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 Dcmlb.c2509 fdp->systid, fdp->bootid);
2524 uchar_t systid;
2551 if ((fdp->systid == EXTDOS || fdp->systid == FDISK_EXTLBA) &&
2586 systid = LE_8(efdp1->systid);
2613 if ((efdp1->systid == SUNIXOS &&
2631 if (fdp->systid != SUNIXOS &&
2632 fdp->systid != SUNIXOS2 &&
2633 fdp->systid != EFI_PMBR) {
2646 if (fdp->systid != SUNIXOS ||
2647 (fdp->systid == SUNIXOS &&
[all …]
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c1602 uint_t, (uint_t)dosp[i].systid, in findTheDrive()
1606 if (isDosDrive(dosp[i].systid)) { in findTheDrive()
1615 if ((extendedPart < 0) && isDosExtended(dosp[i].systid)) { in findTheDrive()
1619 if ((bootPart < 0) && isBootPart(dosp[i].systid)) { in findTheDrive()
1702 uint_t, (uint_t)dosp[i].systid, in findTheDrive()
1705 if (isDosDrive(dosp[i].systid)) { in findTheDrive()
1707 } else if (isDosExtended(dosp[i].systid)) { in findTheDrive()
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c688 if (isDosDrive(part[i].systid)) { in seek_partn()
697 if ((extendedPart < 0) && isDosExtended(part[i].systid)) { in seek_partn()
701 if ((bootPart < 0) && isBootPart(part[i].systid)) { in seek_partn()
722 FdiskFATsize = lookup_FAT_size(part[bootPart].systid); in seek_partn()
744 FdiskFATsize = lookup_FAT_size(part[primaryPart].systid); in seek_partn()
808 if (isDosDrive(part[i].systid)) { in seek_partn()
811 } else if (isDosExtended(part[i].systid)) { in seek_partn()
863 part[extndDrives[driveIndex]].systid); in seek_partn()
903 lookup_FAT_size(part[extraDrives[driveIndex]].systid); in seek_partn()
/illumos-gate/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c804 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 Dbootadm.c5630 if (part->systid == 0xbe) {
5635 if (part->systid == EFI_PMBR) {
5641 if ((part->systid == SUNIXOS &&
5643 NULL) != 0)) || part->systid == SUNIXOS2) {
5645 if (part->systid == SUNIXOS ||
5646 part->systid == SUNIXOS2) {
5653 if (fdisk_is_dos_extended(part->systid))
/illumos-gate/usr/src/cmd/boot/installboot/i386/
H A Dinstallboot.c864 if (part[i].systid == EFI_PMBR) in print_stage1_cb()
1566 if (part[i].systid == X86BOOT) in probe_mbr()
/illumos-gate/usr/src/lib/libefi/common/
H A Drdwr_efi.c262 if (ipart[i].systid == EFI_PMBR) in efi_alloc_and_read()