Home
last modified time | relevance | path

Searched refs:SecPerClust (Results 1 – 2 of 2) sorted by relevance

/src/usr.sbin/makefs/msdos/
H A Dmsdosfs_vfsops.c82 uint8_t SecPerClust; in m_msdosfs_mount() local
110 SecPerClust = b50->bpbSecPerClust; in m_msdosfs_mount()
130 if (!pmp->pm_BytesPerSec || !SecPerClust in m_msdosfs_mount()
134 SecPerClust, pmp->pm_SecPerTrack)); in m_msdosfs_mount()
197 SecPerClust) + 1; in m_msdosfs_mount()
229 pmp->pm_bpcluster = SecPerClust * pmp->pm_BytesPerSec; in m_msdosfs_mount()
/src/sys/fs/msdosfs/
H A Dmsdosfs_vfsops.c513 uint8_t SecPerClust; in mountmsdosfs() local
595 SecPerClust = b50->bpbSecPerClust; in mountmsdosfs()
619 if (pmp->pm_BytesPerSec == 0 || SecPerClust == 0) { in mountmsdosfs()
658 if (SecPerClust == 0 || (SecPerClust & (SecPerClust - 1)) != 0 || in mountmsdosfs()
662 SecPerClust * pmp->pm_BlkPerSec > MAXBSIZE / DEV_BSIZE) { in mountmsdosfs()
678 SecPerClust *= pmp->pm_BlkPerSec; in mountmsdosfs()
700 SecPerClust + 1; in mountmsdosfs()
748 pmp->pm_bpcluster = SecPerClust * DEV_BSIZE; in mountmsdosfs()