Searched refs:pm_maxcluster (Results 1 – 7 of 7) sorted by relevance
/haiku/src/add-ons/kernel/file_systems/fat/bsd/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_vnops.c | 148 maxrun = ulmin(maxio - 1, pmp->pm_maxcluster - cn); in msdosfs_bmap()
|
H A D | msdosfsmount.h | 96 u_long pm_maxcluster; /* maximum cluster number */ member
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | dosfs.h | 38 (((cluster) >= 2) && ((uint32)(cluster) <= fatVolume->pm_maxcluster))
|
H A D | debug.cpp | 76 fatVolume->pm_HugeSectors, fatVolume->pm_maxcluster, fatVolume->pm_freeclustercount); in _dump_volume()
|
H A D | support.cpp | 571 if (volume->pm_nxtfree > volume->pm_maxcluster) in read_fsinfo() 744 fatVolume->pm_maxcluster); in validate_cs()
|
H A D | kernel_interface.cpp | 505 info->total_blocks = fatVolume->pm_maxcluster + 1 - 2; in dosfs_read_fs_stat() 3627 fatVolume->pm_maxcluster in fat_volume_init() 3631 if (fatVolume->pm_maxcluster <= ((CLUST_RSRVD - CLUST_FIRST) & FAT12_MASK)) { in fat_volume_init() 3645 if (fatVolume->pm_maxcluster >= fatCapacity) { in fat_volume_init() 3647 "(some clusters are inaccessible)\n", fatVolume->pm_maxcluster + 1, fatCapacity); in fat_volume_init() 3648 fatVolume->pm_maxcluster = fatCapacity - 1; in fat_volume_init() 3735 howmany(fatVolume->pm_maxcluster + 1, N_INUSEBITS) * sizeof(*fatVolume->pm_inusemap))); in fat_volume_init()
|