Lines Matching refs:zone_start
190 s64 zone_start, zone_end, bmp_pos, bmp_initial_pos, last_read_pos, lcn; in ntfs_cluster_alloc() local
253 zone_start = start_lcn; in ntfs_cluster_alloc()
255 if (zone_start < 0) { in ntfs_cluster_alloc()
257 zone_start = vol->data1_zone_pos; in ntfs_cluster_alloc()
259 zone_start = vol->mft_zone_pos; in ntfs_cluster_alloc()
260 if (!zone_start) { in ntfs_cluster_alloc()
272 if (!zone_start || zone_start == vol->mft_zone_start || in ntfs_cluster_alloc()
273 zone_start == vol->mft_zone_end) in ntfs_cluster_alloc()
276 if (zone_start < vol->mft_zone_start) { in ntfs_cluster_alloc()
281 } else if (zone_start < vol->mft_zone_end) { in ntfs_cluster_alloc()
295 bmp_pos = bmp_initial_pos = zone_start; in ntfs_cluster_alloc()
310 zone_start, zone_end, bmp_initial_pos, in ntfs_cluster_alloc()
511 zone_start = vol->mft_zone_pos; in ntfs_cluster_alloc()
513 zone_start = vol->data1_zone_pos; in ntfs_cluster_alloc()
515 zone_start = vol->data2_zone_pos; in ntfs_cluster_alloc()
517 if (!zone_start || zone_start == vol->mft_zone_start || in ntfs_cluster_alloc()
518 zone_start == vol->mft_zone_end) in ntfs_cluster_alloc()
520 bmp_pos = zone_start; in ntfs_cluster_alloc()
541 zone_end = zone_start; in ntfs_cluster_alloc()
544 zone_start = vol->mft_zone_start; in ntfs_cluster_alloc()
547 zone_start = vol->mft_zone_end; in ntfs_cluster_alloc()
550 zone_start = 0; in ntfs_cluster_alloc()
556 if (zone_end < zone_start) in ntfs_cluster_alloc()
557 zone_end = zone_start; in ntfs_cluster_alloc()
558 bmp_pos = zone_start; in ntfs_cluster_alloc()
560 zone_start, zone_end, bmp_pos); in ntfs_cluster_alloc()
598 zone_start = bmp_initial_pos = in ntfs_cluster_alloc()
601 if (zone_start == vol->mft_zone_end) in ntfs_cluster_alloc()
603 if (zone_start >= zone_end) { in ntfs_cluster_alloc()
604 vol->data1_zone_pos = zone_start = in ntfs_cluster_alloc()
632 zone_start = bmp_initial_pos = in ntfs_cluster_alloc()
635 if (!zone_start) in ntfs_cluster_alloc()
637 if (zone_start >= zone_end) { in ntfs_cluster_alloc()
638 vol->data2_zone_pos = zone_start = in ntfs_cluster_alloc()
670 zone_start, in ntfs_cluster_alloc()
672 bmp_pos = zone_start; in ntfs_cluster_alloc()
673 if (zone_start == zone_end) { in ntfs_cluster_alloc()
709 bmp_pos = zone_start = bmp_initial_pos = in ntfs_cluster_alloc()
717 done_zones, zone_start, zone_end, in ntfs_cluster_alloc()