Lines Matching defs:zone
74 static void ntfs_cluster_update_zone_pos(ntfs_volume *vol, u8 zone, LCN tc)
76 ntfs_log_trace("tc = %lld, zone = %d\n", (long long)tc, zone);
78 if (zone == ZONE_MFT)
81 else if (zone == ZONE_DATA1)
84 else /* zone == ZONE_DATA2 */
90 * Unmark full zones when a cluster has been freed in a full zone
201 * @zone: zone from which to allocate the clusters
205 * @vol. @zone is either DATA_ZONE for allocation of normal clusters and
216 * There are two data zones. First is the area between the end of the mft zone
218 * volume and the start of the mft zone. On unmodified/standard NTFS 1.x
219 * volumes, the second data zone doesn't exist due to the mft zone being
231 * 1) implements MFT zone reservation
236 LCN start_lcn, const NTFS_CLUSTER_ALLOCATION_ZONES zone)
245 u8 pass = 1; /* 1: inside zone; 2: start of zone */
252 "zone = %s_ZONE.\n", (long long)count, (long long)
253 start_lcn, zone == MFT_ZONE ? "MFT" : "DATA");
256 (s8)zone < FIRST_ZONE || zone > LAST_ZONE) {
279 * If no @start_lcn was requested, use the current zone
286 if (zone == DATA_ZONE)
316 /* check whether we have exhausted the current zone */
450 ntfs_log_trace("Finished current zone pass(%i).\n", pass);
475 ntfs_log_trace("Switching zone.\n");
520 ntfs_log_trace("Empty zone, skipped.\n");