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/fsck/
H A Dpcfs_common.c467 int bootPart = -1; in findPartitionOffset() local
540 if ((bootPart < 0) && isBootPart(part[i].systid)) { in findPartitionOffset()
541 bootPart = i; in findPartitionOffset()
547 if (bootPart < 0) { in findPartitionOffset()
552 found = ltohi(part[bootPart].relsect) * BPSEC; in findPartitionOffset()
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c1530 int bootPart = -1; /* index of a Solaris boot partition */ in findTheDrive() local
1619 if ((bootPart < 0) && isBootPart(dosp[i].systid)) { in findTheDrive()
1620 bootPart = i; in findTheDrive()
1626 if (bootPart < 0) { in findTheDrive()
1630 startsec = LE_32(dosp[bootPart].relsect); in findTheDrive()
1631 mediasize = LE_32(dosp[bootPart].numsect); in findTheDrive()
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c627 int bootPart = -1; in seek_partn() local
701 if ((bootPart < 0) && isBootPart(part[i].systid)) { in seek_partn()
702 bootPart = i; in seek_partn()
708 if (bootPart < 0) { in seek_partn()
713 if ((*seekto = ltohi(part[bootPart].relsect)) == 0) { in seek_partn()
720 fill_bpb_sizes(wbpb, part, bootPart, *seekto); in seek_partn()
722 FdiskFATsize = lookup_FAT_size(part[bootPart].systid); in seek_partn()