Home
last modified time | relevance | path

Searched refs:CLUST16_MASK (Results 1 – 3 of 3) sorted by relevance

/dragonfly/sbin/fsck_msdosfs/
HDfat.c278 retval = le16dec(p) & CLUST16_MASK; in fat_get_fat16_next()
280 if (retval >= (CLUST_BAD & CLUST16_MASK)) in fat_get_fat16_next()
281 retval |= ~CLUST16_MASK; in fat_get_fat16_next()
292 nextcl &= CLUST16_MASK; in fat_set_fat16_next()
568 if (boot->ClustMask != CLUST16_MASK && boot->ClustMask != CLUST32_MASK) in cleardirty()
585 if (boot->ClustMask == CLUST16_MASK) { in cleardirty()
750 case CLUST16_MASK: in readfat()
781 || (boot->ClustMask == CLUST16_MASK && buffer[3] != 0xff) in readfat()
795 && ((boot->ClustMask == CLUST16_MASK && buffer[3] == 0x7f) in readfat()
810 case CLUST16_MASK: in readfat()
[all …]
HDboot.c274 if (boot->NumClusters < (CLUST_RSRVD & CLUST16_MASK)) { in readboot()
289 } else if (boot->NumClusters < (CLUST_RSRVD&CLUST16_MASK)) { in readboot()
290 boot->ClustMask = CLUST16_MASK; in readboot()
301 case CLUST16_MASK: in readboot()
HDdosfs.h98 #define CLUST16_MASK 0xffff macro