Home
last modified time | relevance | path

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

/openbsd/src/usr.sbin/makefs/msdos/
Dmsdosfs_vfsops.c119 pmp->pm_BytesPerSec = getushort(b50->bpbBytesPerSec); in msdosfs_mount()
120 pmp->pm_ResSectors = getushort(b50->bpbResSectors); in msdosfs_mount()
122 pmp->pm_RootDirEnts = getushort(b50->bpbRootDirEnts); in msdosfs_mount()
123 pmp->pm_Sectors = getushort(b50->bpbSectors); in msdosfs_mount()
124 pmp->pm_FATsecs = getushort(b50->bpbFATsecs); in msdosfs_mount()
125 pmp->pm_SecPerTrack = getushort(b50->bpbSecPerTrack); in msdosfs_mount()
126 pmp->pm_Heads = getushort(b50->bpbHeads); in msdosfs_mount()
154 pmp->pm_HiddenSects = getushort(b33->bpbHiddenSecs); in msdosfs_mount()
159 unsigned short vers = getushort(b710->bpbFSVers); in msdosfs_mount()
177 if ((getushort(b710->bpbExtFlags) & FATMIRROR) == 0) in msdosfs_mount()
[all …]
Ddenode.h210 ((dep)->de_StartCluster |= getushort((dp)->deHighClust) << 16)
215 (dep)->de_CTime = getushort((dp)->deCTime), \
216 (dep)->de_CDate = getushort((dp)->deCDate), \
217 (dep)->de_ADate = getushort((dp)->deADate), \
218 (dep)->de_MTime = getushort((dp)->deMTime), \
219 (dep)->de_MDate = getushort((dp)->deMDate), \
220 (dep)->de_StartCluster = getushort((dp)->deStartCluster), \
Dmsdosfs_fat.c274 cn = getushort((char *)bp->b_data + bo); in pcbmap()
574 readcn = getushort((char *)bp->b_data + bo); in fatentry()
583 readcn = getushort((char *)bp->b_data + bo); in fatentry()
652 readcn = getushort((char *)bp->b_data + bo); in fatchain()
875 readcn = getushort((char *)bp->b_data + bo); in freeclusterchain()
888 cluster = getushort((char *)bp->b_data + bo); in freeclusterchain()
946 readcn = getushort((char *)bp->b_data + bo); in fillinusemap()
/openbsd/src/sys/msdosfs/
Ddenode.h190 ((dep)->de_StartCluster |= getushort((dp)->deHighClust) << 16)
196 (dep)->de_CTime = getushort((dp)->deCTime), \
197 (dep)->de_CDate = getushort((dp)->deCDate), \
198 (dep)->de_ADate = getushort((dp)->deADate), \
199 (dep)->de_MTime = getushort((dp)->deMTime), \
200 (dep)->de_MDate = getushort((dp)->deMDate), \
201 (dep)->de_StartCluster = getushort((dp)->deStartCluster), \
Dmsdosfs_vfsops.c293 pmp->pm_BytesPerSec = getushort(b50->bpbBytesPerSec); in msdosfs_mountfs()
294 pmp->pm_ResSectors = getushort(b50->bpbResSectors); in msdosfs_mountfs()
296 pmp->pm_RootDirEnts = getushort(b50->bpbRootDirEnts); in msdosfs_mountfs()
297 pmp->pm_Sectors = getushort(b50->bpbSectors); in msdosfs_mountfs()
298 pmp->pm_FATsecs = getushort(b50->bpbFATsecs); in msdosfs_mountfs()
299 pmp->pm_SecPerTrack = getushort(b50->bpbSecPerTrack); in msdosfs_mountfs()
300 pmp->pm_Heads = getushort(b50->bpbHeads); in msdosfs_mountfs()
315 pmp->pm_HiddenSects = getushort(b33->bpbHiddenSecs); in msdosfs_mountfs()
321 getushort(b710->bpbFSVers)) { in msdosfs_mountfs()
329 if (getushort(b710->bpbExtFlags) & FATMIRROR) in msdosfs_mountfs()
[all …]
Dmsdosfs_fat.c236 cn = getushort(&bp->b_data[bo]); in pcbmap()
518 readcn = getushort(&bp->b_data[bo]); in fatentry()
530 readcn = getushort(&bp->b_data[bo]); in fatentry()
601 readcn = getushort(&bp->b_data[bo]); in fatchain()
836 readcn = getushort(&bp->b_data[bo]); in freeclusterchain()
849 cluster = getushort(&bp->b_data[bo]); in freeclusterchain()
909 readcn = getushort(&bp->b_data[bo]); in fillinusemap()
Dbpb.h96 #define getushort(x) *((u_int16_t *)(x)) macro
101 #define getushort(x) (((u_int8_t *)(x))[0] + (((u_int8_t *)(x))[1] << 8)) macro
Dmsdosfs_lookup.c420 scn = getushort(dep->deStartCluster); in msdosfs_lookup()
422 scn |= getushort(dep->deHighClust) << 16; in msdosfs_lookup()
841 scn = getushort(ep->deStartCluster); in doscheckpath()
843 scn |= getushort(ep->deHighClust) << 16; in doscheckpath()
Dmsdosfs_vnops.c1584 fileno = getushort(dentp->deStartCluster); in msdosfs_readdir()
1586 fileno |= getushort(dentp->deHighClust) << 16; in msdosfs_readdir()