Home
last modified time | relevance | path

Searched refs:bootPart (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/pcfs/common/
H A Dpcfs_common.c468 int bootPart = -1; in findPartitionOffset() local
541 if ((bootPart < 0) && isBootPart(part[i].systid)) { in findPartitionOffset()
542 bootPart = i; in findPartitionOffset()
548 if (bootPart < 0) { in findPartitionOffset()
553 found = ltohi(part[bootPart].relsect) * bpsec; in findPartitionOffset()
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c1555 int bootPart = -1; /* index of a Solaris boot partition */ in findTheDrive() local
1644 if ((bootPart < 0) && isBootPart(dosp[i].systid)) { in findTheDrive()
1645 bootPart = i; in findTheDrive()
1651 if (bootPart < 0) { in findTheDrive()
1655 startsec = LE_32(dosp[bootPart].relsect); in findTheDrive()
1656 mediasize = LE_32(dosp[bootPart].numsect); in findTheDrive()
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs_main.c520 int bootPart = -1; in seek_partn() local
594 if ((bootPart < 0) && isBootPart(part[i].systid)) { in seek_partn()
595 bootPart = i; in seek_partn()
601 if (bootPart < 0) { in seek_partn()
606 if ((*seekto = ltohi(part[bootPart].relsect)) == 0) { in seek_partn()
613 fill_bpb_sizes(wbpb, part, bootPart, *seekto); in seek_partn()
615 FdiskFATsize = lookup_FAT_size(part[bootPart].systid); in seek_partn()