Home
last modified time | relevance | path

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

/titanic_41/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 …]
/titanic_41/usr/src/cmd/format/
H A Dmenu_fdisk.c131 partp->systid = getbyte((uchar_t **)&bootptr); in fill_ipart()
323 if (cur_disk->fdisk_part.systid == SUNIXOS || in open_cur_file()
324 cur_disk->fdisk_part.systid == SUNIXOS2) { in open_cur_file()
529 if (fdisk_is_dos_extended(ip.systid) && (ext_part_found == 0)) {
549 ip.systid = SUNIXOS2;
565 if ((ip.systid == SUNIXOS &&
567 ip.systid == SUNIXOS2 ||
568 ip.systid == EFI_PMBR) {
570 if (ip.systid == SUNIXOS ||
571 ip.systid == SUNIXOS2 ||
[all …]
H A Dmenu_command.c1571 (cur_disk->fdisk_part.systid != EFI_PMBR)) in c_label()
1580 (cur_disk->fdisk_part.systid != EFI_PMBR)) { in c_label()
1596 if (cur_disk->fdisk_part.systid == EFI_PMBR) { in c_label()
1612 if (!(((cur_disk->fdisk_part.systid != SUNIXOS) || in c_label()
1613 (cur_disk->fdisk_part.systid != SUNIXOS2)) && in c_label()
1664 if ((cur_disk->fdisk_part.systid == SUNIXOS) || in c_label()
1665 (cur_disk->fdisk_part.systid == SUNIXOS2)) { in c_label()
/titanic_41/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()
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 …]
/titanic_41/usr/src/cmd/boot/mbr/
H A Dmbr.c124 if (setnew && part->systid == 0x82) { in main()
125 part->systid = 0xbf; in main()
127 } else if (setold && part->systid == 0xbf) { in main()
128 part->systid = 0x82; in main()
131 (part->systid == 0x82 || part->systid == 0xbf)) { in main()
136 i + 1, part->systid, part->relsect, part->numsect); in main()
/titanic_41/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()
/titanic_41/usr/src/cmd/fdisk/
H A Dfdisk.c1265 Table[0].systid = SUNIXOS2; /* Solaris */ in main()
1434 if (Table[new_pt].systid != SUNIXOS && in dev_mboot_write()
1435 Table[new_pt].systid != SUNIXOS2) in dev_mboot_write()
1442 if ((Old_Table[old_pt].systid == SUNIXOS) || in dev_mboot_write()
1443 (Old_Table[old_pt].systid == SUNIXOS2)) { in dev_mboot_write()
1469 if (Old_Table[old_pt].systid == EFI_PMBR) { in dev_mboot_write()
1476 if (Table[new_pt].systid != EFI_PMBR) in dev_mboot_write()
1479 if ((Old_Table[old_pt].systid == in dev_mboot_write()
1480 Table[new_pt].systid) && in dev_mboot_write()
1778 uchar_t systid; in load() local
[all …]
/titanic_41/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.h143 uint8_t systid; /* OS type */ member
/titanic_41/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()
/titanic_41/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c366 if (fdisk_is_solaris_part(LE_8(temp->parts[0].systid))) { in fdisk_get_solaris_part()
368 if ((temp->parts[0].systid == SUNIXOS) && in fdisk_get_solaris_part()
400 *sysid = LE_8(temp->parts[0].systid); in fdisk_get_part_info()
635 if (fdisk_is_dos_extended(LE_8(fdp->systid))) { in fdisk_read_extpart()
806 if (fdisk_is_dos_extended(LE_8(part_table[i].systid))) { in fdisk_ext_part_exists()
864 temp->parts[0].systid = LE_8(partid); in fdisk_change_logical_drive_id()
902 part->systid = LE_8(partid); in fdisk_add_logical_drive()
939 part->systid = LE_8(EXTDOS); in fdisk_add_logical_drive()
/titanic_41/usr/src/uts/common/sys/dktp/
H A Dfdisk.h80 unsigned char systid; /* OS type */ member
/titanic_41/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()
/titanic_41/usr/src/uts/common/io/
H A Dcmlb.c2474 fdp->systid, fdp->bootid);
2489 uchar_t systid;
2512 cl->cl_fmap[i].fmap_systid = LE_8(fdp->systid);
2516 if ((fdp->systid == EXTDOS || fdp->systid == FDISK_EXTLBA) &&
2551 systid = LE_8(efdp1->systid);
2565 (cl->cl_fmap[j].fmap_systid != systid)) {
2575 cl->cl_fmap[j].fmap_systid = systid;
2578 if ((efdp1->systid == SUNIXOS &&
2581 efdp1->systid == SUNIXOS2) {
2596 if (fdp->systid != SUNIXOS &&
[all …]
/titanic_41/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c686 if (isDosDrive(part[i].systid)) { in seek_partn()
695 if ((extendedPart < 0) && isDosExtended(part[i].systid)) { in seek_partn()
699 if ((bootPart < 0) && isBootPart(part[i].systid)) { in seek_partn()
720 FdiskFATsize = lookup_FAT_size(part[bootPart].systid); in seek_partn()
742 FdiskFATsize = lookup_FAT_size(part[primaryPart].systid); in seek_partn()
806 if (isDosDrive(part[i].systid)) { in seek_partn()
809 } else if (isDosExtended(part[i].systid)) { in seek_partn()
861 part[extndDrives[driveIndex]].systid); in seek_partn()
901 lookup_FAT_size(part[extraDrives[driveIndex]].systid); in seek_partn()
/titanic_41/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c1599 uint_t, (uint_t)dosp[i].systid, in findTheDrive()
1603 if (isDosDrive(dosp[i].systid)) { in findTheDrive()
1612 if ((extendedPart < 0) && isDosExtended(dosp[i].systid)) { in findTheDrive()
1616 if ((bootPart < 0) && isBootPart(dosp[i].systid)) { in findTheDrive()
1699 uint_t, (uint_t)dosp[i].systid, in findTheDrive()
1702 if (isDosDrive(dosp[i].systid)) { in findTheDrive()
1704 } else if (isDosExtended(dosp[i].systid)) { in findTheDrive()
/titanic_41/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c799 if (!fdisk_is_dos_extended(part->systid)) { in get_start_sector()
1451 if (part->systid == 0xbe) { in find_x86_bootpar()
/titanic_41/usr/src/cmd/boot/bootadm/
H A Dbootadm.c4981 if (part->systid == 0xbe) {
4986 if (part->systid == EFI_PMBR) {
4992 if ((part->systid == SUNIXOS &&
4994 NULL) != 0)) || part->systid == SUNIXOS2) {
4996 if (part->systid == SUNIXOS ||
4997 part->systid == SUNIXOS2) {
5004 if (fdisk_is_dos_extended(part->systid))