Searched refs:htols (Results 1 – 5 of 5) sorted by relevance
107 #define htols(S) (*((ushort_t *)(&(S)))) macro116 #define htols(S) ((getbyte(S, 1) << 8) | getbyte(S, 0))
60 #define htols(S) ((getbyte(S, 1) <<8) | getbyte(S, 0)) macro62 #define htols(S) (*((ushort_t *)(&(S)))) macro1698 rdirsec = (int)htols(bpb->b_rdirents[0]) * 32 /1024; in write_NEC_DOS_label()1700 rdirsec = (int)htols(bpb->b_rdirents[0]) * 32 /1024; in write_NEC_DOS_label()
1690 ep->un.pcd_scluster_hi = htols(hi16); in pc_setstartcluster()1691 ep->pcd_scluster_lo = htols(lo16); in pc_setstartcluster()1696 ep->pcd_scluster_lo = htols(cln16); in pc_setstartcluster()
423 *(pc_cluster16_t *)fp = htols(ncn16); in pc_setcluster()
2789 dep->pcd_mtime.pct_time = htols(dostime); in dirent_time_fill()2790 dep->pcd_mtime.pct_date = htols(dosday); in dirent_time_fill()2894 entry->pcd_scluster_lo = htols(ffstart); in build_rootdir()2897 entry->un.pcd_scluster_hi = htols(ffstart); in build_rootdir()