| 851 | } |
| 852 | |
| 853 | void FatSystem::computeStats() |
| 854 | { |
| 855 | if (statsComputed) { |
| 856 | return; |
| 857 | } |
| 858 | |
| 859 | statsComputed = true; |
| 860 | |
| 861 | freeClusters = 0; |
| 862 | for (unsigned int cluster=0; cluster<totalClusters; cluster++) { |
| 863 | if (freeCluster(cluster)) { |
| 864 | freeClusters++; |
| 865 | } |
| 866 | } |
| 867 | } |
| 868 | |
| 869 | void FatSystem::rewriteUnallocated(bool random) |
| 870 | { |
nothing calls this directly
no outgoing calls
no test coverage detected