Lines Matching refs:zone
67 static void ntfs_cluster_update_zone_pos(ntfs_volume *vol, u8 zone, LCN tc)
69 ntfs_log_trace("tc = %lld, zone = %d\n", (long long)tc, zone);
71 if (zone == 1)
74 else if (zone == 2)
77 else /* zone == 4 */
148 * @zone: zone from which to allocate the clusters
152 * @vol. @zone is either DATA_ZONE for allocation of normal clusters and
163 * There are two data zones. First is the area between the end of the mft zone
165 * volume and the start of the mft zone. On unmodified/standard NTFS 1.x
166 * volumes, the second data zone doesn't exist due to the mft zone being
178 * 1) implements MFT zone reservation
183 LCN start_lcn, const NTFS_CLUSTER_ALLOCATION_ZONES zone)
192 u8 pass = 1; /* 1: inside zone; 2: start of zone */
199 "zone = %s_ZONE.\n", (long long)count, (long long)
200 start_lcn, zone == MFT_ZONE ? "MFT" : "DATA");
203 (s8)zone < FIRST_ZONE || zone > LAST_ZONE) {
226 * If no @start_lcn was requested, use the current zone
233 if (zone == DATA_ZONE)
392 ntfs_log_trace("Finished current zone pass(%i).\n", pass);
417 ntfs_log_trace("Switching zone.\n");
462 ntfs_log_trace("Empty zone, skipped.\n");