Searched refs:total_clusters (Results 1 - 6 of 6) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/fat/
H A Dfat.h12 #define vIS_DATA_CLUSTER(vol,cluster) (((cluster) >= 2) && ((uint32)(cluster) < vol->total_clusters + 2))
H A Ddosfs.h124 uint32 total_clusters; // data clusters, that is member in struct:_nspace
H A Ddosfs.cpp58 vol->media_descriptor, vol->fsinfo_sector, vol->total_clusters,
257 vol->total_clusters = (vol->total_sectors - vol->data_start)
261 if (vol->root_vnode.cluster >= vol->total_clusters) {
320 vol->total_clusters = (vol->total_sectors - vol->data_start)
325 if (vol->total_clusters > 0xff1)
455 if (free_count < vol->total_clusters)
463 if (last_allocated < vol->total_clusters)
613 vol->total_clusters, vol->free_clusters));
988 fss->total_blocks = vol->total_clusters;
1120 dprintf("%lx total clusters, %lx free\n", vol->total_clusters, vo
[all...]
H A Ddlist.cpp144 ASSERT(((cluster >= 2) && (cluster < vol->total_clusters + 2)) || (cluster == 1));
H A Dfat.cpp152 for (i = 0; i < vol->total_clusters; i++) {
285 if (++cluster == vol->total_clusters + 2) {
431 if (count == vol->total_clusters)
677 ((vol->total_clusters + 2 - 1) * (vol->fat_bits / 8)) /
679 offset = ((vol->total_clusters + 2 - 1) * (vol->fat_bits / 8)) %
690 for (i=vol->total_clusters+1;i>=2;i--) {
744 vol->last_allocated = (rand() % vol->total_clusters) + 2;
H A Diter.cpp284 if (cluster >= vol->total_clusters + 2)

Completed in 56 milliseconds