Searched refs:pm_maxcluster (Results 1 – 6 of 6) sorted by relevance
/freebsd/usr.sbin/makefs/msdos/ |
H A D | msdosfs_fat.c | 385 assert(cn <= pmp->pm_maxcluster); in usemap_alloc() 400 assert(cn <= pmp->pm_maxcluster); in usemap_free() 486 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster) in fatentry() 568 if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster) in fatchain() 632 if (start > pmp->pm_maxcluster) in chainlength() 634 max_idx = pmp->pm_maxcluster / N_INUSEBITS; in chainlength() 642 if (start + len > pmp->pm_maxcluster) in chainlength() 643 len = pmp->pm_maxcluster - start + 1; in chainlength() 649 if (start + len > pmp->pm_maxcluster) in chainlength() 650 len = pmp->pm_maxcluster - start + 1; in chainlength() [all …]
|
H A D | msdosfs_vfsops.c | 196 pmp->pm_maxcluster = ((pmp->pm_HugeSectors - pmp->pm_firstcluster) / in m_msdosfs_mount() 201 if (pmp->pm_maxcluster in m_msdosfs_mount() 288 (pmp->pm_nxtfree > pmp->pm_maxcluster)) in m_msdosfs_mount() 297 ((pmp->pm_maxcluster + N_INUSEBITS) / N_INUSEBITS)); in m_msdosfs_mount()
|
/freebsd/sys/fs/msdosfs/ |
H A D | msdosfs_fat.c | 391 KASSERT(cn <= pmp->pm_maxcluster, ("cn too large %lu %lu", cn, in usemap_alloc() 392 pmp->pm_maxcluster)); in usemap_alloc() 411 KASSERT(cn <= pmp->pm_maxcluster, ("cn too large %lu %lu", cn, in usemap_free() 412 pmp->pm_maxcluster)); in usemap_free() 507 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster) in fatentry() 588 if (start < CLUST_FIRST || start + count - 1 > pmp->pm_maxcluster) in fatchain() 653 if (start > pmp->pm_maxcluster) in chainlength() 655 max_idx = pmp->pm_maxcluster / N_INUSEBITS; in chainlength() 663 if (start + len > pmp->pm_maxcluster) in chainlength() 664 len = pmp->pm_maxcluster - start + 1; in chainlength() [all …]
|
H A D | msdosfs_vfsops.c | 700 pmp->pm_maxcluster = (pmp->pm_HugeSectors - pmp->pm_firstcluster) / in mountmsdosfs() 709 if (pmp->pm_maxcluster < (CLUST_RSRVD & FAT12_MASK)) { in mountmsdosfs() 728 if (pmp->pm_maxcluster >= clusters) { in mountmsdosfs() 731 "capacity (%ld)\n", pmp->pm_maxcluster - 1, clusters); in mountmsdosfs() 733 pmp->pm_maxcluster = clusters - 1; in mountmsdosfs() 785 if (pmp->pm_nxtfree > pmp->pm_maxcluster) in mountmsdosfs() 807 pmp->pm_inusemap = malloc(howmany(pmp->pm_maxcluster + 1, in mountmsdosfs() 1061 sbp->f_blocks = pmp->pm_maxcluster - CLUST_FIRST + 1; in msdosfs_statfs()
|
H A D | msdosfsmount.h | 94 u_long pm_maxcluster; /* maximum cluster number */ member
|
H A D | msdosfs_vnops.c | 1826 maxrun = ulmin(maxio - 1, pmp->pm_maxcluster - cn); in msdosfs_bmap()
|