Home
last modified time | relevance | path

Searched refs:pm_BytesPerSec (Results 1 – 5 of 5) sorted by relevance

/freebsd/usr.sbin/makefs/msdos/
H A Dmsdosfs_vfsops.c111 pmp->pm_BytesPerSec = getushort(b50->bpbBytesPerSec); in m_msdosfs_mount()
124 __func__, pmp->pm_BytesPerSec, pmp->pm_ResSectors, in m_msdosfs_mount()
130 if (!pmp->pm_BytesPerSec || !SecPerClust in m_msdosfs_mount()
133 "secpertrack %d\n", pmp->pm_BytesPerSec, in m_msdosfs_mount()
191 + pmp->pm_BytesPerSec - 1) in m_msdosfs_mount()
192 / pmp->pm_BytesPerSec;/* in sectors */ in m_msdosfs_mount()
198 pmp->pm_fatsize = pmp->pm_FATsecs * pmp->pm_BytesPerSec; in m_msdosfs_mount()
218 pmp->pm_fatblocksize = 3 * pmp->pm_BytesPerSec; in m_msdosfs_mount()
222 pmp->pm_fatblocksec = pmp->pm_fatblocksize / pmp->pm_BytesPerSec; in m_msdosfs_mount()
223 pmp->pm_bnshift = ffs(pmp->pm_BytesPerSec) - 1; in m_msdosfs_mount()
[all …]
/freebsd/sys/fs/msdosfs/
H A Dmsdosfs_vfsops.c450 pmp->pm_BytesPerSec, pmp->pm_bpcluster); in rootdir_free()
597 pmp->pm_BytesPerSec = getushort(b50->bpbBytesPerSec); in mountmsdosfs()
598 if (pmp->pm_BytesPerSec < DEV_BSIZE) { in mountmsdosfs()
612 pmp->pm_BlkPerSec = pmp->pm_BytesPerSec / DEV_BSIZE; in mountmsdosfs()
620 if (pmp->pm_BytesPerSec == 0 || SecPerClust == 0) { in mountmsdosfs()
660 pmp->pm_BytesPerSec < DEV_BSIZE || in mountmsdosfs()
661 (pmp->pm_BytesPerSec & (pmp->pm_BytesPerSec - 1)) != 0 || in mountmsdosfs()
668 if ((off_t)pmp->pm_HugeSectors * pmp->pm_BytesPerSec < in mountmsdosfs()
670 (off_t)pmp->pm_HugeSectors * pmp->pm_BytesPerSec > in mountmsdosfs()
741 pmp->pm_BytesPerSec); in mountmsdosfs()
[all …]
H A Dmsdosfsmount.h145 #define pm_BytesPerSec pm_bpb.bpbBytesPerSec macro
H A Dmsdosfs_vnops.c258 u_long dirsperblk = pmp->pm_BytesPerSec / sizeof(struct direntry); in msdosfs_getattr()
1565 dirsperblk = pmp->pm_BytesPerSec / sizeof(struct direntry); in msdosfs_readdir()
/freebsd/lib/libprocstat/
H A Dmsdosfs.c141 dirsperblk = mnt->data.pm_BytesPerSec / sizeof(struct direntry); in msdosfs_filestat()