Home
last modified time | relevance | path

Searched refs:bootid (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dpartition.c139 if (iparts[i].bootid == ACTIVE && in partition_get_assocs()
476 (unsigned int)iparts[part_num - 1].bootid) != 0) { in get_attrs()
672 iparts[j].bootid = log_drv->parts[0].bootid; in get_parts()
753 if (iparts[pnum].bootid == ACTIVE && in has_slices()
762 if (iparts[i].bootid == ACTIVE && in has_slices()
/illumos-gate/usr/src/cmd/format/
H A Dmenu_fdisk.c130 partp->bootid = getbyte((uchar_t **)&bootptr); in fill_ipart()
549 ip.bootid = 0;
555 ipart->bootid = ip.bootid;
614 ipart->bootid = ip.bootid;
777 ip.bootid = 0;
/illumos-gate/usr/src/cmd/rmformat/
H A Drmf_slice.c927 if (fdisk.part[i].bootid == ACTIVE) in check_vtoc_sanity()
1199 fdisk->part[i].bootid = part->bootid; in get_fdisk()
1200 if (part->bootid && (part->bootid != ACTIVE)) { in get_fdisk()
1211 DPRINTF1("\tboot id 0x%x\n", part->bootid); in get_fdisk()
1378 parts[i].bootid = 0; in write_default_label()
1385 parts[0].bootid = ACTIVE; in write_default_label()
1539 if (fdisk.part[i].bootid == ACTIVE) in overwrite_metadata()
1542 } else if ((fdisk.part[i].bootid == ACTIVE) && in overwrite_metadata()
H A Drmformat.h140 uint8_t bootid; /* Bootable? (Active/Inactive) */ member
/illumos-gate/usr/src/cmd/fdisk/
H A Dfdisk.c2518 Table[i].bootid, in verify_tbl()
2528 Table[j].bootid, in verify_tbl()
2997 Table[j].bootid = 0;
3001 Table[i].bootid = 0;
3061 Table[i].bootid = 0;
3423 Table[i].bootid = 0;
3449 Table[i].bootid = ACTIVE;
3452 Table[j].bootid = 0;
3930 Table[i].bootid = 0;
4167 Table[i].bootid,
[all …]
/illumos-gate/usr/src/uts/common/sys/dktp/
H A Dfdisk.h76 unsigned char bootid; /* bootable or not */ member
/illumos-gate/usr/src/lib/libfdisk/common/
H A Dlibfdisk.c922 part->bootid = 0; in fdisk_add_logical_drive()
959 part->bootid = 0; in fdisk_add_logical_drive()
/illumos-gate/usr/src/cmd/mdb/common/modules/disk_label/
H A Ddisk_label.c193 nr, typestr, ip->bootid, begchs, endchs, ip->relsect, ip->numsect); in print_fdisk_part()
/illumos-gate/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c879 if (!log_part && part->bootid != 128 && !write_mbr) { in get_start_sector()
/illumos-gate/usr/src/uts/common/io/
H A Dcmlb.c2509 fdp->systid, fdp->bootid);
2644 if ((uidx == -1) || (fdp->bootid == ACTIVE)) {