Searched refs:ltohs (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/fs/
H A Dpc_label.h105 #define ltohs(S) (*((ushort_t *)(&(S)))) macro
113 #define ltohs(S) ((getbyte(S, 1) << 8) | getbyte(S, 0)) macro
/illumos-gate/usr/src/common/fs/
H A Dpcfs.c145 (pcfsp->f_bpb.bs_num_fats * ltohs(pcfsp->f_bpb.bs_spf)) +
146 ltohs(pcfsp->f_bpb.bs_resv_sectors);
148 ltohs(pcfsp->f_bpb.bs_num_root_entries) *
156 ncluster = (((ulong_t)ltohs(pcfsp->f_bpb.bs_siv) ?
157 (ulong_t)ltohs(pcfsp->f_bpb.bs_siv) :
177 ltohs(pcfsp->f_bpb.bs_resv_sectors) + pcfsp->f_adjust;
428 sectn = (fat_index / SECSIZ) + ltohs(pcfsp->f_bpb.bs_resv_sectors)
/illumos-gate/usr/src/cmd/fs.d/pcfs/fstyp/
H A Dfstyp.c109 #define PC_BPSEC(h) ltohs((h)->bs.bps[0])
110 #define PC_RESSEC(h) ltohs((h)->bs.res_sec[0])
111 #define PC_NROOTENT(h) ltohs((h)->bs.rdirents[0])
112 #define PC_NSEC(h) ltohs((h)->bs.numsect[0])
227 h->bs.fatsec = ltohs(h->bs.fatsec);
228 h->bs.spt = ltohs(h->bs.spt);
229 h->bs.nhead = ltohs(h->bs.nhead);
234 h->bs32.f_flags = ltohs(h->bs32.f_flags);
236 h->bs32.f_infosector = ltohs(h->bs32.f_infosector);
237 h->bs32.f_backupboot = ltohs(
[all...]
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dpcfs_common.c494 if (ltohs(mb.signature) != BOOTSECSIG) {
497 ltohs(mb.signature));
598 if (ltohs(extmboot.signature) != MBB_MAGIC) {
H A Dbpb.c193 if (ltohs(ubpb.mb.signature) != BOOTSECSIG) {
/illumos-gate/usr/src/cmd/hal/utils/
H A Dfsutils.c133 if (ltohs(mboot->signature) != MBB_MAGIC) {
/illumos-gate/usr/src/cmd/fstyp/
H A Dfstyp.c327 if (ltohs(mboot->signature) != MBB_MAGIC) {
/illumos-gate/usr/src/uts/common/fs/pcfs/
H A Dpc_dir.c1677 hi16 = ltohs(ep->un.pcd_scluster_hi);
1678 lo16 = ltohs(ep->pcd_scluster_lo);
1682 return (ltohs(ep->pcd_scluster_lo));
H A Dpc_alloc.c379 cn = ltohs(*(pc_cluster16_t *)fp);
/illumos-gate/usr/src/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c652 if (ltohs(mb.signature) != BOOTSECSIG) {
791 if (ltohs(extmboot.signature) != MBB_MAGIC) {
1834 if (ltohs(ubpb.mb.signature) != BOOTSECSIG) {

Completed in 77 milliseconds