/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | file.c | 573 VCN vcn, highest_vcn = 0, cpos, cend, bh_cpos, bh_cend; in ntfs_prepare_pages_for_non_resident_write() local 1047 highest_vcn = sle64_to_cpu(a->data.non_resident.highest_vcn); in ntfs_prepare_pages_for_non_resident_write() 1049 * If @highest_vcn is zero, calculate the real highest_vcn in ntfs_prepare_pages_for_non_resident_write() 1052 if (!highest_vcn) in ntfs_prepare_pages_for_non_resident_write() 1053 highest_vcn = (sle64_to_cpu( in ntfs_prepare_pages_for_non_resident_write() 1061 highest_vcn); in ntfs_prepare_pages_for_non_resident_write() 1104 mp_size, rl2, vcn, highest_vcn, NULL); in ntfs_prepare_pages_for_non_resident_write() 1114 /* Update the highest_vcn bu in ntfs_prepare_pages_for_non_resident_write() [all...] |
H A D | inode.c | 1749 VCN next_vcn, last_vcn, highest_vcn; in ntfs_read_inode_mount() local 2010 next_vcn = last_vcn = highest_vcn = 0; in ntfs_read_inode_mount() 2127 highest_vcn = sle64_to_cpu(a->data.non_resident.highest_vcn); in ntfs_read_inode_mount() 2128 next_vcn = highest_vcn + 1; in ntfs_read_inode_mount() 2152 if (highest_vcn && highest_vcn != last_vcn - 1) { in ntfs_read_inode_mount() 2156 ntfs_debug("highest_vcn = 0x%llx, last_vcn - 1 = 0x%llx", in ntfs_read_inode_mount() 2157 (unsigned long long)highest_vcn, in ntfs_read_inode_mount() 2358 VCN highest_vcn; in ntfs_truncate() local [all...] |
H A D | attrib.c | 106 end_vcn = sle64_to_cpu(a->data.non_resident.highest_vcn); in ntfs_map_runlist_nolock() 168 end_vcn = sle64_to_cpu(a->data.non_resident.highest_vcn) + 1; in ntfs_map_runlist_nolock() 1696 a->data.non_resident.highest_vcn = cpu_to_sle64((new_size - 1) >> in ntfs_attr_make_non_resident() 2325 /* Update the highest_vcn. */ in ntfs_attr_extend_allocation() 2326 a->data.non_resident.highest_vcn = cpu_to_sle64((new_alloc_size >> in ntfs_attr_extend_allocation() 2425 ctx->attr->data.non_resident.highest_vcn = cpu_to_sle64( in ntfs_attr_extend_allocation()
|
H A D | mft.c | 1455 /* Update the highest_vcn. */ in ntfs_mft_bitmap_extend_allocation_nolock() 1456 a->data.non_resident.highest_vcn = cpu_to_sle64(rl[1].vcn - 1); in ntfs_mft_bitmap_extend_allocation_nolock() 1513 a->data.non_resident.highest_vcn = cpu_to_sle64(rl[1].vcn - 2); in ntfs_mft_bitmap_extend_allocation_nolock() 1892 /* Update the highest_vcn. */ in ntfs_mft_data_extend_allocation_nolock() 1893 a->data.non_resident.highest_vcn = cpu_to_sle64(rl[1].vcn - 1); in ntfs_mft_data_extend_allocation_nolock() 1950 ctx->attr->data.non_resident.highest_vcn = in ntfs_mft_data_extend_allocation_nolock()
|
H A D | layout.h | 729 /* 24*/ leVCN highest_vcn;/* Highest valid vcn of this extent of member
|
H A D | runlist.c | 888 * If there is a highest_vcn specified, it must be equal to the final in ntfs_mapping_pairs_decompress() 891 deltaxcn = sle64_to_cpu(attr->data.non_resident.highest_vcn); in ntfs_mapping_pairs_decompress() 907 * A highest_vcn of zero means this is a single extent in ntfs_mapping_pairs_decompress() 912 * If there is a difference between the highest_vcn and in ntfs_mapping_pairs_decompress()
|
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | file.c | 566 VCN vcn, highest_vcn = 0, cpos, cend, bh_cpos, bh_cend; in ntfs_prepare_pages_for_non_resident_write() local 1040 highest_vcn = sle64_to_cpu(a->data.non_resident.highest_vcn); in ntfs_prepare_pages_for_non_resident_write() 1042 * If @highest_vcn is zero, calculate the real highest_vcn in ntfs_prepare_pages_for_non_resident_write() 1045 if (!highest_vcn) in ntfs_prepare_pages_for_non_resident_write() 1046 highest_vcn = (sle64_to_cpu( in ntfs_prepare_pages_for_non_resident_write() 1054 highest_vcn); in ntfs_prepare_pages_for_non_resident_write() 1097 mp_size, rl2, vcn, highest_vcn, NULL); in ntfs_prepare_pages_for_non_resident_write() 1107 /* Update the highest_vcn bu in ntfs_prepare_pages_for_non_resident_write() [all...] |
H A D | inode.c | 1749 VCN next_vcn, last_vcn, highest_vcn; in ntfs_read_inode_mount() local 2010 next_vcn = last_vcn = highest_vcn = 0; in ntfs_read_inode_mount() 2127 highest_vcn = sle64_to_cpu(a->data.non_resident.highest_vcn); in ntfs_read_inode_mount() 2128 next_vcn = highest_vcn + 1; in ntfs_read_inode_mount() 2152 if (highest_vcn && highest_vcn != last_vcn - 1) { in ntfs_read_inode_mount() 2156 ntfs_debug("highest_vcn = 0x%llx, last_vcn - 1 = 0x%llx", in ntfs_read_inode_mount() 2157 (unsigned long long)highest_vcn, in ntfs_read_inode_mount() 2358 VCN highest_vcn; in ntfs_truncate() local [all...] |
H A D | attrib.c | 106 end_vcn = sle64_to_cpu(a->data.non_resident.highest_vcn); in ntfs_map_runlist_nolock() 168 end_vcn = sle64_to_cpu(a->data.non_resident.highest_vcn) + 1; in ntfs_map_runlist_nolock() 1696 a->data.non_resident.highest_vcn = cpu_to_sle64((new_size - 1) >> in ntfs_attr_make_non_resident() 2325 /* Update the highest_vcn. */ in ntfs_attr_extend_allocation() 2326 a->data.non_resident.highest_vcn = cpu_to_sle64((new_alloc_size >> in ntfs_attr_extend_allocation() 2425 ctx->attr->data.non_resident.highest_vcn = cpu_to_sle64( in ntfs_attr_extend_allocation()
|
H A D | mft.c | 1455 /* Update the highest_vcn. */ in ntfs_mft_bitmap_extend_allocation_nolock() 1456 a->data.non_resident.highest_vcn = cpu_to_sle64(rl[1].vcn - 1); in ntfs_mft_bitmap_extend_allocation_nolock() 1513 a->data.non_resident.highest_vcn = cpu_to_sle64(rl[1].vcn - 2); in ntfs_mft_bitmap_extend_allocation_nolock() 1892 /* Update the highest_vcn. */ in ntfs_mft_data_extend_allocation_nolock() 1893 a->data.non_resident.highest_vcn = cpu_to_sle64(rl[1].vcn - 1); in ntfs_mft_data_extend_allocation_nolock() 1950 ctx->attr->data.non_resident.highest_vcn = in ntfs_mft_data_extend_allocation_nolock()
|
H A D | layout.h | 729 /* 24*/ leVCN highest_vcn;/* Highest valid vcn of this extent of member
|
H A D | runlist.c | 888 * If there is a highest_vcn specified, it must be equal to the final in ntfs_mapping_pairs_decompress() 891 deltaxcn = sle64_to_cpu(attr->data.non_resident.highest_vcn); in ntfs_mapping_pairs_decompress() 907 * A highest_vcn of zero means this is a single extent in ntfs_mapping_pairs_decompress() 912 * If there is a difference between the highest_vcn and in ntfs_mapping_pairs_decompress()
|
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | run.c | 1117 int run_get_highest_vcn(CLST vcn, const u8 *run_buf, u64 *highest_vcn) in run_get_highest_vcn() argument 1142 *highest_vcn = vcn64 - 1; in run_get_highest_vcn()
|
H A D | ntfs_fs.h | 817 int run_get_highest_vcn(CLST vcn, const u8 *run_buf, u64 *highest_vcn);
|