Lines Matching defs:clusters

174 static long long	   g_mft_zone_end	  = 0;		/* Determined from volume_size and mft_zone_multiplier, in clusters */
175 static long long g_num_bad_blocks = 0; /* Number of bad clusters */
176 static long long *g_bad_blocks = NULL; /* Array of bad clusters */
576 * ntfs_rlwrite - Write data to disk on clusters found in a runlist.
578 * Write to disk the clusters contained in the runlist @rl taking the data
742 * @clusters: Amount of clusters to allocate.
744 * Allocate @clusters and create a runlist of the allocated clusters.
754 static runlist * allocate_scattered_clusters(s64 clusters)
765 /* Loop until all clusters are allocated. */
766 while (clusters) {
767 /* Loop in current zone until we run out of free clusters. */
796 if (!--clusters) {
819 /* Deallocate all allocated clusters. */
1108 * specified by the runlist @rl. The clusters specified by @rl are assumed to
1277 /* deallocate clusters */
1358 ntfs_log_perror("Failed to allocate scattered clusters");
1464 /* deallocate clusters */
1803 * specified by the runlist @rl. The clusters specified by @rl are assumed to
2009 * specified by the runlist @rl. The clusters specified by @rl are assumed to
3305 * clusters fits into 32 bits or the cluster size exceeds the
3376 ntfs_log_debug("number of clusters = %llu (0x%llx)\n",
3378 /* Number of clusters must fit within 32 bits (Win2k limitation). */
3385 ntfs_log_error("Number of clusters exceeds 32 bits. Please "
3529 switch (opts.mft_zone_multiplier) { /* % of volume size in clusters */
3564 /* Allocate clusters for mft. */
3591 /* Allocate clusters for mft mirror. */
3674 /* Allocate clusters for log file. */
3702 /* Allocate clusters for $Boot. */
4264 ntfs_log_debug("clusters per mft record = %i (0x%x)\n",
4282 ntfs_log_debug("clusters per index block = %i (0x%x)\n",
4622 * allocating the bad clusters in $Bitmap.