Searched refs:pm_BytesPerSec (Results 1 – 5 of 5) sorted by relevance
119 pmp->pm_BytesPerSec = getushort(b50->bpbBytesPerSec); in msdosfs_mount()132 __func__, pmp->pm_BytesPerSec, pmp->pm_ResSectors, in msdosfs_mount()138 if (!pmp->pm_BytesPerSec || !SecPerClust in msdosfs_mount()141 "secpertrack %d\n", pmp->pm_BytesPerSec, in msdosfs_mount()199 + pmp->pm_BytesPerSec - 1) in msdosfs_mount()200 / pmp->pm_BytesPerSec;/* in sectors */ in msdosfs_mount()206 pmp->pm_fatsize = pmp->pm_FATsecs * pmp->pm_BytesPerSec; in msdosfs_mount()226 pmp->pm_fatblocksize = 3 * pmp->pm_BytesPerSec; in msdosfs_mount()231 pmp->pm_bnshift = ffs(pmp->pm_BytesPerSec) - 1; in msdosfs_mount()237 pmp->pm_bpcluster = SecPerClust * pmp->pm_BytesPerSec; in msdosfs_mount()[all …]
509 pmp->pm_BytesPerSec = getushort(b50->bpbBytesPerSec); in mountmsdosfs()510 if (pmp->pm_BytesPerSec < DEV_BSIZE) { in mountmsdosfs()524 pmp->pm_BlkPerSec = pmp->pm_BytesPerSec / DEV_BSIZE; in mountmsdosfs()532 if (pmp->pm_BytesPerSec == 0 || SecPerClust == 0) { in mountmsdosfs()572 pmp->pm_BytesPerSec < DEV_BSIZE || in mountmsdosfs()573 (pmp->pm_BytesPerSec & (pmp->pm_BytesPerSec - 1)) != 0 || in mountmsdosfs()580 if ((off_t)pmp->pm_HugeSectors * pmp->pm_BytesPerSec < in mountmsdosfs()582 (off_t)pmp->pm_HugeSectors * pmp->pm_BytesPerSec > in mountmsdosfs()648 pmp->pm_BytesPerSec); in mountmsdosfs()684 if ((error = bread(devvp, pmp->pm_fsinfo, pmp->pm_BytesPerSec, in mountmsdosfs()[all …]
145 #define pm_BytesPerSec pm_bpb.bpbBytesPerSec macro
264 u_long dirsperblk = pmp->pm_BytesPerSec / sizeof(struct direntry); in msdosfs_getattr()1562 dirsperblk = pmp->pm_BytesPerSec / sizeof(struct direntry); in msdosfs_readdir()
140 dirsperblk = mnt->data.pm_BytesPerSec / sizeof(struct direntry); in msdosfs_filestat()