Home
last modified time | relevance | path

Searched refs:attrs_offset (Results 1 – 13 of 13) sorted by relevance

/third_party/ntfs-3g/ntfsprogs/
Dntfsck.c253 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()
[all …]
Dntfsmftalloc.c236 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()
Dntfswipe.c1010 const u16 attrs_offset = in wipe_mft() local
1012 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()
Dntfstruncate.c647 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()
Dntfsinfo.c2290 (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()
Dplaylog.c320 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()
Dntfsresize.c3128 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()
Dntfsfix.c786 offset = le16_to_cpu(mrec->attrs_offset); in find_unnamed_attr()
/third_party/ntfs-3g/libntfs-3g/
Dmft.c266 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()
Dattrib.c3158 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) +
/third_party/ntfs-3g/include/ntfs-3g/
Dlayout.h369 /* 20*/ le16 attrs_offset; /* Byte offset to the first attribute in this member
444 /* 20*/ le16 attrs_offset; /* Byte offset to the first attribute in this member
/third_party/e2fsprogs/lib/blkid/
Dprobe.h476 __u16 attrs_offset; member
Dprobe.c750 attr_off = blkid_le16(mft->attrs_offset); in probe_ntfs()