Home
last modified time | relevance | path

Searched refs:ltohi (Results 1 – 9 of 9) sorted by relevance

/titanic_50/usr/src/cmd/fs.d/pcfs/fsck/
H A Dpcfs_common.c552 found = ltohi(part[bootPart].relsect) * BPSEC; in findPartitionOffset()
557 found = ltohi(part[primaryPart].relsect) * BPSEC; in findPartitionOffset()
574 nextseek = xstartsect = ltohi(part[extendedPart].relsect); in findPartitionOffset()
575 xnumsect = ltohi(part[extendedPart].numsect); in findPartitionOffset()
630 ltohi(part[i].relsect); in findPartitionOffset()
644 ltohi(part[extndDrives[driveIndex]].relsect) + in findPartitionOffset()
673 found = ltohi(part[extraDrives[driveIndex]].relsect) * BPSEC; in findPartitionOffset()
/titanic_50/usr/src/uts/common/sys/fs/
H A Dpc_label.h106 #define ltohi(I) (*((uint_t *)(&(I)))) macro
114 #define ltohi(I) ((getbyte(I, 3) << 24) | (getbyte(I, 2) << 16) | \
/titanic_50/usr/src/cmd/hal/utils/
H A Dfsutils.c140 relsect = sec + ltohi(ipart[i].relsect); in walk_partitions()
146 sec = startsec + ltohi(ipart[i].relsect); in walk_partitions()
154 ltohi(ipart[i].numsect)) == WALK_TERMINATE) { in walk_partitions()
/titanic_50/usr/src/cmd/fs.d/pcfs/fstyp/
H A Dfstyp.c115 #define PC_VOLID(a) (FSTYP_IS_32(h) ? ltohi((h)->bs32.f_volid[0]) : \
116 ltohi((h)->bs16.f_volid[0]))
230 h->bs.hiddensec = ltohi(h->bs.hiddensec); in read_bootsec()
231 h->bs.totalsec = ltohi(h->bs.totalsec); in read_bootsec()
233 h->bs32.f_fatlength = ltohi(h->bs32.f_fatlength); in read_bootsec()
235 h->bs32.f_rootcluster = ltohi(h->bs32.f_rootcluster); in read_bootsec()
452 next = ltohi(val); in next_cluster_32()
/titanic_50/usr/src/cmd/fstyp/
H A Dfstyp.c334 relsect = sec + ltohi(ipart[i].relsect); in walk_partitions()
340 sec = startsec + ltohi(ipart[i].relsect); in walk_partitions()
348 ltohi(ipart[i].numsect)) == WALK_TERMINATE) { in walk_partitions()
/titanic_50/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c536 usesize = ltohi(part[partno].numsect); in fill_bpb_sizes()
546 ltohi(part[partno].numsect), TotSize); in fill_bpb_sizes()
711 if ((*seekto = ltohi(part[bootPart].relsect)) == 0) { in seek_partn()
733 if ((*seekto = ltohi(part[primaryPart].relsect)) == 0) { in seek_partn()
767 nextseek = xstartsect = ltohi(part[extendedPart].relsect); in seek_partn()
768 xnumsect = ltohi(part[extendedPart].numsect); in seek_partn()
823 ltohi(part[i].relsect); in seek_partn()
837 ltohi(part[extndDrives[driveIndex]].relsect) + in seek_partn()
890 *seekto = ltohi(part[extraDrives[driveIndex]].relsect); in seek_partn()
/titanic_50/usr/src/uts/common/fs/pcfs/
H A Dpc_alloc.c375 cn = ltohi(*(pc_cluster32_t *)fp); in pc_getcluster()
H A Dpc_node.c187 pcp->pc_size = ltohi(ep->pcd_size); in pc_getnode()
/titanic_50/usr/src/common/fs/
H A Dpcfs.c158 (ulong_t)ltohi(pcfsp->f_bpb.bs_siv)) - in bpcfs_mountroot()