Lines Matching refs:attrs_offset
253 u16 attrs_offset; in load_runlist() local
272 attrs_offset = le16_to_cpu(((MFT_RECORD*)buf)->attrs_offset); in load_runlist()
274 if (attrs_offset<42) { in load_runlist()
275 check_failed("First attribute must be after the header (%u).\n", (int)attrs_offset); in load_runlist()
277 attr_rec = (ATTR_RECORD *)(buf + attrs_offset); in load_runlist()
424 u16 attrs_offset = le16_to_cpu(mft_rec->attrs_offset); in check_attr_record() local
451 if ((u8*)attr_rec == ((u8*)mft_rec) + attrs_offset) { in check_attr_record()
581 u16 usa_count, usa_ofs, attrs_offset, usa; in check_file_record() local
595 attrs_offset = le16_to_cpu(mft_rec->attrs_offset); in check_file_record()
598 if (assert_u32_lesseq(usa_ofs+usa_count, attrs_offset, in check_file_record()
600 assert_u32_less(attrs_offset, bytes_in_use, in check_file_record()
629 attr_rec = (ATTR_REC *)(buffer + attrs_offset); in check_file_record()