Home
last modified time | relevance | path

Searched refs:usa_count (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
69 if (ntfs_is_chkd_record(rp->magic) && !le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header()
74 usa_count = 1 + (logfile_system_page_size >> NTFS_BLOCK_SIZE_BITS); in ntfs_check_restart_page_header()
75 if (usa_count != le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header()
82 usa_end = usa_ofs + usa_count * sizeof(u16); in ntfs_check_restart_page_header()
391 if ((!ntfs_is_chkd_record(trp->magic) || le16_to_cpu(trp->usa_count)) && in ntfs_check_and_load_restart_page()
H A Dmft.c43 (vol->mft_record_size >> NTFS_BLOCK_SIZE_BITS) + 1 != le16_to_cpu(m->usa_count) || 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()
1919 m->usa_count = cpu_to_le16(vol->mft_record_size / in ntfs_mft_record_layout()
1922 m->usa_count = cpu_to_le16(1); in ntfs_mft_record_layout()
1936 (le16_to_cpu(m->usa_count) << 1) + 7) & ~7); in ntfs_mft_record_layout()
H A Dindex.c860 ib->usa_count = cpu_to_le16(ib_size / NTFS_BLOCK_SIZE + 1); in ntfs_ib_alloc()
866 le16_to_cpu(ib->usa_count) * 2 + 7) & ~7); in ntfs_ib_alloc()