Searched refs:mft_zone_size (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | lcnalloc.c | 138 LCN prev_lcn = 0, prev_run_len = 0, mft_zone_size; in ntfs_cluster_alloc() local 676 mft_zone_size = vol->mft_zone_end - vol->mft_zone_start; in ntfs_cluster_alloc() 678 "0x%llx, mft_zone_size 0x%llx.", in ntfs_cluster_alloc() 681 (unsigned long long)mft_zone_size); in ntfs_cluster_alloc() 682 if (zone == MFT_ZONE || mft_zone_size <= 0) { in ntfs_cluster_alloc() 687 } /* zone == DATA_ZONE && mft_zone_size > 0 */ in ntfs_cluster_alloc() 690 mft_zone_size >>= 1; in ntfs_cluster_alloc() 691 if (mft_zone_size > 0) in ntfs_cluster_alloc() 692 vol->mft_zone_end = vol->mft_zone_start + mft_zone_size; in ntfs_cluster_alloc() 706 ntfs_debug("After shrinking mft zone, mft_zone_size in ntfs_cluster_alloc() [all...] |
H A D | super.c | 937 LCN mft_zone_size, mft_lcn; in ntfs_setup_allocators() local 944 mft_zone_size = vol->nr_clusters; in ntfs_setup_allocators() 947 mft_zone_size >>= 1; /* 50% */ in ntfs_setup_allocators() 950 mft_zone_size = (mft_zone_size + in ntfs_setup_allocators() 951 (mft_zone_size >> 1)) >> 2; /* 37.5% */ in ntfs_setup_allocators() 954 mft_zone_size >>= 2; /* 25% */ in ntfs_setup_allocators() 958 mft_zone_size >>= 3; /* 12.5% */ in ntfs_setup_allocators() 987 vol->mft_zone_end = vol->mft_lcn + mft_zone_size; in ntfs_setup_allocators() 989 mft_zone_size >> in ntfs_setup_allocators() [all...] |
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | lcnalloc.c | 138 LCN prev_lcn = 0, prev_run_len = 0, mft_zone_size; in ntfs_cluster_alloc() local 676 mft_zone_size = vol->mft_zone_end - vol->mft_zone_start; in ntfs_cluster_alloc() 678 "0x%llx, mft_zone_size 0x%llx.", in ntfs_cluster_alloc() 681 (unsigned long long)mft_zone_size); in ntfs_cluster_alloc() 682 if (zone == MFT_ZONE || mft_zone_size <= 0) { in ntfs_cluster_alloc() 687 } /* zone == DATA_ZONE && mft_zone_size > 0 */ in ntfs_cluster_alloc() 690 mft_zone_size >>= 1; in ntfs_cluster_alloc() 691 if (mft_zone_size > 0) in ntfs_cluster_alloc() 692 vol->mft_zone_end = vol->mft_zone_start + mft_zone_size; in ntfs_cluster_alloc() 706 ntfs_debug("After shrinking mft zone, mft_zone_size in ntfs_cluster_alloc() [all...] |
H A D | super.c | 945 LCN mft_zone_size, mft_lcn; in ntfs_setup_allocators() local 952 mft_zone_size = vol->nr_clusters; in ntfs_setup_allocators() 955 mft_zone_size >>= 1; /* 50% */ in ntfs_setup_allocators() 958 mft_zone_size = (mft_zone_size + in ntfs_setup_allocators() 959 (mft_zone_size >> 1)) >> 2; /* 37.5% */ in ntfs_setup_allocators() 962 mft_zone_size >>= 2; /* 25% */ in ntfs_setup_allocators() 966 mft_zone_size >>= 3; /* 12.5% */ in ntfs_setup_allocators() 995 vol->mft_zone_end = vol->mft_lcn + mft_zone_size; in ntfs_setup_allocators() 997 mft_zone_size >> in ntfs_setup_allocators() [all...] |
Completed in 5 milliseconds