Home
last modified time | relevance | path

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

/linux/fs/ntfs/
H A Dmft.c33 u16 attrs_offset; in ntfs_mft_record_check() local
64 if (le16_to_cpu(m->attrs_offset) & 7) { in ntfs_mft_record_check()
70 attrs_offset = le16_to_cpu(m->attrs_offset); in ntfs_mft_record_check()
73 if (attrs_offset > bytes_in_use || in ntfs_mft_record_check()
74 bytes_in_use - attrs_offset < sizeof_field(struct attr_record, type)) { in ntfs_mft_record_check()
79 a = (struct attr_record *)((char *)m + attrs_offset); in ntfs_mft_record_check()
1829 m->attrs_offset = cpu_to_le16((le16_to_cpu(m->usa_ofs) + in ntfs_mft_record_layout()
1837 m->bytes_in_use = cpu_to_le32(le16_to_cpu(m->attrs_offset) + 8); in ntfs_mft_record_layout()
1842 a = (struct attr_record *)((u8 *)m + le16_to_cpu(m->attrs_offset)); in ntfs_mft_record_layout()