Home
last modified time | relevance | path

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

/linux/fs/ntfs/
H A Dlogfile.c30 u16 ra_ofs, usa_count, usa_ofs, usa_end = 0; in ntfs_check_restart_page_header() local
81 usa_ofs = le16_to_cpu(rp->usa_ofs); in ntfs_check_restart_page_header()
82 usa_end = usa_ofs + usa_count * sizeof(u16); in ntfs_check_restart_page_header()
83 if (usa_ofs < sizeof(struct restart_page_header) || in ntfs_check_restart_page_header()
H A Dmft.c42 if (le16_to_cpu(m->usa_ofs) & 0x1 || in ntfs_mft_record_check()
44 le16_to_cpu(m->usa_ofs) + le16_to_cpu(m->usa_count) * 2 > vol->mft_record_size) { in ntfs_mft_record_check()
1907 m->usa_ofs = cpu_to_le16((sizeof(struct mft_record_old) + 1) & ~1); in ntfs_mft_record_layout()
1909 m->usa_ofs = cpu_to_le16((sizeof(struct mft_record) + 1) & ~1); in ntfs_mft_record_layout()
1927 *(__le16 *)((u8 *)m + le16_to_cpu(m->usa_ofs)) = cpu_to_le16(1); in ntfs_mft_record_layout()
1935 m->attrs_offset = cpu_to_le16((le16_to_cpu(m->usa_ofs) + in ntfs_mft_record_layout()
2444 usn = *(__le16 *)((u8 *)m + le16_to_cpu(m->usa_ofs)); in ntfs_mft_record_alloc()
2458 *(__le16 *)((u8 *)m + le16_to_cpu(m->usa_ofs)) = usn; in ntfs_mft_record_alloc()
H A Dindex.c859 ib->usa_ofs = cpu_to_le16(sizeof(struct index_block)); in ntfs_ib_alloc()
862 *(__le16 *)((char *)ib + le16_to_cpu(ib->usa_ofs)) = cpu_to_le16(1); in ntfs_ib_alloc()