Lines Matching refs:clusters

161 	s64	length;		/* count of consecutive clusters */
186 static long long g_mft_zone_end = 0; /* Determined from volume_size and mft_zone_multiplier, in clusters */
187 static long long g_num_bad_blocks = 0; /* Number of bad clusters */
188 static long long *g_bad_blocks = NULL; /* Array of bad clusters */
215 * Mark a run of clusters as allocated
267 * (freeing free clusters is not considered as an error)
520 * ntfs_rlwrite - Write to disk the clusters contained in the runlist @rl
697 * @clusters: Amount of clusters to allocate.
699 * Allocate @clusters and create a runlist of the allocated clusters.
709 static runlist * allocate_scattered_clusters(s64 clusters)
720 /* Loop until all clusters are allocated. */
721 while (clusters) {
722 /* Loop in current zone until we run out of free clusters. */
751 if (!--clusters) {
774 /* Deallocate all allocated clusters. */
1063 * specified by the runlist @rl. The clusters specified by @rl are assumed to
1239 /* deallocate clusters */
1321 ntfs_log_perror("Failed to allocate scattered clusters");
1428 /* deallocate clusters */
1820 * specified by the runlist @rl. The clusters specified by @rl are assumed to
2033 * specified by the runlist @rl. The clusters specified by @rl are assumed to
3346 * clusters fits into 32 bits or the cluster size exceeds the
3417 ntfs_log_debug("number of clusters = %llu (0x%llx)\n",
3419 /* Number of clusters must fit within 32 bits (Win2k limitation). */
3426 ntfs_log_error("Number of clusters exceeds 32 bits. Please "
3572 switch (opts.mft_zone_multiplier) { /* % of volume size in clusters */
3607 /* Allocate clusters for mft. */
3633 /* Allocate clusters for mft mirror. */
3715 /* Allocate clusters for log file. */
3741 /* Allocate clusters for $Boot. */
4297 ntfs_log_debug("clusters per mft record = %i (0x%x)\n",
4315 ntfs_log_debug("clusters per index block = %i (0x%x)\n",
4661 * allocating the bad clusters in $Bitmap.