Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/fs.d/pcfs/common/
H A Dpcfs_common.c553 found = ltohi(part[bootPart].relsect) * bpsec; in findPartitionOffset()
558 found = ltohi(part[primaryPart].relsect) * bpsec; in findPartitionOffset()
575 nextseek = xstartsect = ltohi(part[extendedPart].relsect); in findPartitionOffset()
576 xnumsect = ltohi(part[extendedPart].numsect); in findPartitionOffset()
631 ltohi(part[i].relsect); in findPartitionOffset()
645 ltohi(part[extndDrives[driveIndex]].relsect) + in findPartitionOffset()
674 found = ltohi(part[extraDrives[driveIndex]].relsect) * bpsec; in findPartitionOffset()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dpc_label.h104 #define ltohi(I) (*((uint_t *)(&(I)))) macro
112 #define ltohi(I) ((getbyte(I, 3) << 24) | (getbyte(I, 2) << 16) | \
/illumos-gate/usr/src/cmd/fs.d/pcfs/fstyp/
H A Dfstyp.c114 #define PC_VOLID(a) (FSTYP_IS_32(h) ? ltohi((h)->bs32.f_volid[0]) : \
115 ltohi((h)->bs16.f_volid[0]))
242 h->bs.hiddensec = ltohi(h->bs.hiddensec); in read_bootsec()
243 h->bs.totalsec = ltohi(h->bs.totalsec); in read_bootsec()
245 h->bs32.f_fatlength = ltohi(h->bs32.f_fatlength); in read_bootsec()
247 h->bs32.f_rootcluster = ltohi(h->bs32.f_rootcluster); in read_bootsec()
466 next = ltohi(val); in next_cluster_32()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_alloc.c378 cn = ltohi(*(pc_cluster32_t *)fp) & 0x0FFFFFFF; in pc_getcluster()
423 ncn32 = ltohi(*(pc_cluster32_t *)fp) & 0xF0000000; in pc_setcluster()
H A Dpc_node.c189 pcp->pc_size = ltohi(ep->pcd_size); in pc_getnode()
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs_main.c431 usesize = ltohi(part[partno].numsect); in fill_bpb_sizes()
441 ltohi(part[partno].numsect), TotSize); in fill_bpb_sizes()
606 if ((*seekto = ltohi(part[bootPart].relsect)) == 0) { in seek_partn()
629 if ((*seekto = ltohi(part[primaryPart].relsect)) == 0) { in seek_partn()
664 nextseek = xstartsect = ltohi(part[extendedPart].relsect); in seek_partn()
665 xnumsect = ltohi(part[extendedPart].numsect); in seek_partn()
721 ltohi(part[i].relsect); in seek_partn()
735 ltohi(part[extndDrives[driveIndex]].relsect) + in seek_partn()
789 *seekto = ltohi(part[extraDrives[driveIndex]].relsect); in seek_partn()
/illumos-gate/usr/src/common/fs/
H A Dpcfs.c156 (ulong_t)ltohi(pcfsp->f_bpb.bs_siv)) - in bpcfs_mountroot()