Lines Matching refs:non_resident
104 BUG_ON(!a->non_resident); in ntfs_map_runlist_nolock()
106 end_vcn = sle64_to_cpu(a->data.non_resident.highest_vcn); in ntfs_map_runlist_nolock()
111 if (!a->data.non_resident.lowest_vcn && end_vcn <= 0) in ntfs_map_runlist_nolock()
124 sle64_to_cpu(a->data.non_resident.lowest_vcn) in ntfs_map_runlist_nolock()
159 BUG_ON(!ctx->attr->non_resident); in ntfs_map_runlist_nolock()
168 end_vcn = sle64_to_cpu(a->data.non_resident.highest_vcn) + 1; in ntfs_map_runlist_nolock()
1057 if (!val || (!a->non_resident && le32_to_cpu( in ntfs_external_attr_find()
1620 BUG_ON(a->non_resident); in ntfs_attr_make_non_resident()
1626 data.non_resident.compressed_size) + in ntfs_attr_make_non_resident()
1627 sizeof(a->data.non_resident.compressed_size) + in ntfs_attr_make_non_resident()
1631 data.non_resident.compressed_size) + 7) & ~7; in ntfs_attr_make_non_resident()
1664 a->non_resident = 1; in ntfs_attr_make_non_resident()
1671 a->data.non_resident.lowest_vcn = 0; in ntfs_attr_make_non_resident()
1672 a->data.non_resident.highest_vcn = cpu_to_sle64((new_size - 1) >> in ntfs_attr_make_non_resident()
1674 a->data.non_resident.mapping_pairs_offset = cpu_to_le16(mp_ofs); in ntfs_attr_make_non_resident()
1675 memset(&a->data.non_resident.reserved, 0, in ntfs_attr_make_non_resident()
1676 sizeof(a->data.non_resident.reserved)); in ntfs_attr_make_non_resident()
1677 a->data.non_resident.allocated_size = cpu_to_sle64(new_size); in ntfs_attr_make_non_resident()
1678 a->data.non_resident.data_size = in ntfs_attr_make_non_resident()
1679 a->data.non_resident.initialized_size = in ntfs_attr_make_non_resident()
1682 a->data.non_resident.compression_unit = 0; in ntfs_attr_make_non_resident()
1684 a->data.non_resident.compression_unit = 4; in ntfs_attr_make_non_resident()
1685 a->data.non_resident.compressed_size = in ntfs_attr_make_non_resident()
1686 a->data.non_resident.allocated_size; in ntfs_attr_make_non_resident()
1688 a->data.non_resident.compression_unit = 0; in ntfs_attr_make_non_resident()
1703 if (a->data.non_resident.compression_unit) { in ntfs_attr_make_non_resident()
1705 non_resident.compression_unit + in ntfs_attr_make_non_resident()
1711 a->data.non_resident.compression_unit; in ntfs_attr_make_non_resident()
1743 a->non_resident = 0; in ntfs_attr_make_non_resident()
2026 if (a->non_resident) in ntfs_attr_extend_allocation()
2246 ll = sle64_to_cpu(a->data.non_resident.lowest_vcn); in ntfs_attr_extend_allocation()
2269 le16_to_cpu(a->data.non_resident.mapping_pairs_offset)); in ntfs_attr_extend_allocation()
2289 le16_to_cpu(a->data.non_resident.mapping_pairs_offset), in ntfs_attr_extend_allocation()
2302 a->data.non_resident.highest_vcn = cpu_to_sle64((new_alloc_size >> in ntfs_attr_extend_allocation()
2308 if (a->data.non_resident.lowest_vcn) { in ntfs_attr_extend_allocation()
2325 a->data.non_resident.allocated_size = cpu_to_sle64(new_alloc_size); in ntfs_attr_extend_allocation()
2338 a->data.non_resident.compressed_size = in ntfs_attr_extend_allocation()
2347 sle64_to_cpu(a->data.non_resident.data_size)); in ntfs_attr_extend_allocation()
2348 a->data.non_resident.data_size = cpu_to_sle64(new_data_size); in ntfs_attr_extend_allocation()
2401 ctx->attr->data.non_resident.highest_vcn = cpu_to_sle64( in ntfs_attr_extend_allocation()
2433 a->data.non_resident. in ntfs_attr_extend_allocation()
2435 le16_to_cpu(a->data.non_resident. in ntfs_attr_extend_allocation()