Home
last modified time | relevance | path

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

/titanic_41/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()
/titanic_41/usr/src/uts/common/fs/pcfs/
H A Dpc_vfsops.c1527 int bootPart = -1; /* index of a Solaris boot partition */ in findTheDrive() local
1616 if ((bootPart < 0) && isBootPart(dosp[i].systid)) { in findTheDrive()
1617 bootPart = i; in findTheDrive()
1623 if (bootPart < 0) { in findTheDrive()
1627 startsec = LE_32(dosp[bootPart].relsect); in findTheDrive()
1628 mediasize = LE_32(dosp[bootPart].numsect); in findTheDrive()
/titanic_41/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c625 int bootPart = -1; in seek_partn() local
699 if ((bootPart < 0) && isBootPart(part[i].systid)) { in seek_partn()
700 bootPart = i; in seek_partn()
706 if (bootPart < 0) { in seek_partn()
711 if ((*seekto = ltohi(part[bootPart].relsect)) == 0) { in seek_partn()
718 fill_bpb_sizes(wbpb, part, bootPart, *seekto); in seek_partn()
720 FdiskFATsize = lookup_FAT_size(part[bootPart].systid); in seek_partn()