Lines Matching defs:attr
759 * @attr: attribute record whose mapping pairs array to decompress
760 * @old_rl: optional runlist in which to insert @attr's runlist
762 * Decompress the attribute @attr's mapping pairs array into a runlist. On
784 const ATTR_RECORD *attr, runlist_element *old_rl)
797 ntfs_log_trace("Entering for attr 0x%x.\n",
798 (unsigned)le32_to_cpu(attr->type));
799 /* Make sure attr exists and is non-resident. */
800 if (!attr || !attr->non_resident ||
801 sle64_to_cpu(attr->lowest_vcn) < (VCN)0) {
806 vcn = sle64_to_cpu(attr->lowest_vcn);
809 buf = (const u8*)attr + le16_to_cpu(attr->mapping_pairs_offset);
810 attr_end = (const u8*)attr + le32_to_cpu(attr->length);
811 if (buf < (const u8*)attr || buf > attr_end) {
942 deltaxcn = sle64_to_cpu(attr->highest_vcn);
958 if (!attr->lowest_vcn) {
961 num_clusters = ((sle64_to_cpu(attr->allocated_size) +
1025 const ATTR_RECORD *attr, runlist_element *old_rl)
1030 rle = ntfs_mapping_pairs_decompress_i(vol, attr, old_rl);