Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/file_systems/fat/bsd/fs/msdosfs/
H A Ddenode.h185 ((dep)->de_StartCluster |= getushort((dp)->deHighClust) << 16)
191 (dep)->de_CTime = getushort((dp)->deCTime), \
192 (dep)->de_CDate = getushort((dp)->deCDate), \
193 (dep)->de_ADate = getushort((dp)->deADate), \
194 (dep)->de_MTime = getushort((dp)->deMTime), \
195 (dep)->de_MDate = getushort((dp)->deMDate), \
196 (dep)->de_StartCluster = getushort((dp)->deStartCluster), \
H A Dmsdosfs_fat.c222 cn = getushort(bp->b_data + bo); in pcbmap()
521 readcn = getushort(bp->b_data + bo); in fatentry()
533 readcn = getushort(bp->b_data + bo); in fatentry()
603 readcn = getushort(bp->b_data + bo); in fatchain()
863 readcn = getushort(bp->b_data + bo); in freeclusterchain()
876 cluster = getushort(bp->b_data + bo); in freeclusterchain()
937 readcn = getushort(bp->b_data + bo); in fillinusemap()
1182 fatval = getushort(&bp->b_data[bo]); in markvoldirty_upgrade()
H A Dbpb.h95 #define getushort(x) le16dec(x) macro
H A Dmsdosfs_lookup.c458 scn = getushort(dep->deStartCluster); in msdosfs_lookup_ino()
460 scn |= getushort(dep->deHighClust) << 16; in msdosfs_lookup_ino()
893 scn = getushort(ep->deStartCluster); in doscheckpath()
895 scn |= getushort(ep->deHighClust) << 16; in doscheckpath()
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dsupport.cpp408 volume->pm_BytesPerSec = getushort(bpb->bpbBytesPerSec); in parse_bpb()
410 volume->pm_ResSectors = getushort(bpb->bpbResSectors); in parse_bpb()
412 volume->pm_RootDirEnts = getushort(bpb->bpbRootDirEnts); in parse_bpb()
413 volume->pm_Sectors = getushort(bpb->bpbSectors); in parse_bpb()
415 volume->pm_FATsecs = volume->pm_bpb.bpbFATsecs = getushort(bpb->bpbFATsecs); in parse_bpb()
416 volume->pm_SecPerTrack = getushort(bpb->bpbSecPerTrack); in parse_bpb()
417 volume->pm_Heads = getushort(bpb->bpbHeads); in parse_bpb()
457 volume->pm_HiddenSects = getushort(b33->bpbHiddenSecs); in parse_bpb()
477 if ((getushort(b710->bpbExtFlags) & FATMIRROR) != 0) in parse_bpb()
478 volume->pm_curfat = getushort(b710->bpbExtFlags) & FATNUM; in parse_bpb()
[all …]
H A Dkernel_interface.cpp2880 u_long entryCluster = getushort(fatEntry->deStartCluster); in dosfs_readdir()
2882 entryCluster |= getushort(fatEntry->deHighClust) << 16; in dosfs_readdir()