Searched refs:ltohi (Results 1 – 9 of 9) sorted by relevance
552 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()
106 #define ltohi(I) (*((uint_t *)(&(I)))) macro114 #define ltohi(I) ((getbyte(I, 3) << 24) | (getbyte(I, 2) << 16) | \
140 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()
115 #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()
334 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()
536 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()
375 cn = ltohi(*(pc_cluster32_t *)fp); in pc_getcluster()
187 pcp->pc_size = ltohi(ep->pcd_size); in pc_getnode()
158 (ulong_t)ltohi(pcfsp->f_bpb.bs_siv)) - in bpcfs_mountroot()