Searched refs:attrs_offset (Results 1 – 13 of 13) sorted by relevance
253 u16 attrs_offset; in load_runlist() local272 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() local451 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() local595 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()[all …]
236 u = le16_to_cpu(m->attrs_offset); in dump_mft_record()256 a = (ATTR_RECORD*)((char*)m + le16_to_cpu(m->attrs_offset)); in dump_mft_record()
1010 const u16 attrs_offset = in wipe_mft() local1012 const u32 bytes_in_use = attrs_offset + 8; in wipe_mft()1036 rec->attrs_offset = cpu_to_le16(attrs_offset); in wipe_mft()1042 *((le32*) (((u8*) rec) + attrs_offset)) = const_cpu_to_le32(0xFFFFFFFF); in wipe_mft()
647 u = le16_to_cpu(m->attrs_offset); in dump_mft_record()667 a = (ATTR_RECORD*)((char*)m + le16_to_cpu(m->attrs_offset)); in dump_mft_record()
2290 (unsigned)le16_to_cpu(mrec->attrs_offset), in ntfs_dump_inode_general_info()2291 (unsigned)le16_to_cpu(mrec->attrs_offset)); in ntfs_dump_inode_general_info()2341 le16_to_cpu(mrec->attrs_offset)); in ntfs_dump_inode_general_info()
320 k = le16_to_cpu(record->attrs_offset); in sanity_mft()1544 pos = le16_to_cpu(record->attrs_offset); in delete_names()1626 pos = le16_to_cpu(record->attrs_offset); in insert_index_allocation()1732 k = le16_to_cpu(record->attrs_offset); in check_full_mft()
3128 offset = le16_to_cpu(mrec->attrs_offset); in find_attr()4037 offset = le16_to_cpu(mrec->attrs_offset); in rebase_runlists()4122 offset = le16_to_cpu(mrec->attrs_offset); in rebase_runlists_meta()
786 offset = le16_to_cpu(mrec->attrs_offset); in find_unnamed_attr()
266 if (le16_to_cpu(m->attrs_offset) & 7) { in ntfs_mft_record_check()272 a = (ATTR_RECORD *)((char *)m + le16_to_cpu(m->attrs_offset)); in ntfs_mft_record_check()280 offset = le16_to_cpu(m->attrs_offset); in ntfs_mft_record_check()380 *attr = (ATTR_RECORD*)((char*)m + le16_to_cpu(m->attrs_offset)); in ntfs_file_record_read()448 mrec->attrs_offset = cpu_to_le16((le16_to_cpu(mrec->usa_ofs) + in ntfs_mft_record_layout()455 mrec->bytes_in_use = cpu_to_le32((le16_to_cpu(mrec->attrs_offset) + 8 + in ntfs_mft_record_layout()460 a = (ATTR_RECORD*)((u8*)mrec + le16_to_cpu(mrec->attrs_offset)); in ntfs_mft_record_layout()
3158 le16_to_cpu(ctx->mrec->attrs_offset));3300 le16_to_cpu(ctx->mrec->attrs_offset));3400 le16_to_cpu(ctx->mrec->attrs_offset));3753 ctx->attr = (ATTR_RECORD*)((u8*)mrec + le16_to_cpu(mrec->attrs_offset));3778 le16_to_cpu(ctx->mrec->attrs_offset));4424 le16_to_cpu(ctx->mrec->attrs_offset) == 8) {4696 le16_to_cpu(attr_ni->mrec->attrs_offset) == 8)5497 le16_to_cpu(ctx->mrec->attrs_offset) +
369 /* 20*/ le16 attrs_offset; /* Byte offset to the first attribute in this member444 /* 20*/ le16 attrs_offset; /* Byte offset to the first attribute in this member
476 __u16 attrs_offset; member
750 attr_off = blkid_le16(mft->attrs_offset); in probe_ntfs()