Home
last modified time | relevance | path

Searched refs:usa_count (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/fs/ntfs/
H A Dmst.c30 u16 usa_ofs, usa_count, usn; in post_read_mst_fixup() local
35 /* Decrement usa_count to get number of fixups. */ in post_read_mst_fixup()
36 usa_count = le16_to_cpu(b->usa_count) - 1; in post_read_mst_fixup()
40 usa_ofs + (usa_count * 2) > size || in post_read_mst_fixup()
41 (size >> NTFS_BLOCK_SIZE_BITS) != usa_count) in post_read_mst_fixup()
60 while (usa_count--) { in post_read_mst_fixup()
73 usa_count = le16_to_cpu(b->usa_count) - 1; in post_read_mst_fixup()
76 while (usa_count in post_read_mst_fixup()
112 u16 usa_ofs, usa_count, usn; pre_write_mst_fixup() local
170 u16 usa_count = le16_to_cpu(b->usa_count) - 1; post_write_mst_fixup() local
[all...]
H A Dlogfile.c42 u16 ra_ofs, usa_count, usa_ofs, usa_end = 0; in ntfs_check_restart_page_header() local
82 if (ntfs_is_chkd_record(rp->magic) && !le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header()
87 usa_count = 1 + (logfile_system_page_size >> NTFS_BLOCK_SIZE_BITS); in ntfs_check_restart_page_header()
88 if (usa_count != le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header()
95 usa_end = usa_ofs + usa_count * sizeof(u16); in ntfs_check_restart_page_header()
408 if ((!ntfs_is_chkd_record(trp->magic) || le16_to_cpu(trp->usa_count)) in ntfs_check_and_load_restart_page()
H A Dlogfile.h61 /* 6*/ le16 usa_count; /* See NTFS_RECORD definition in layout.h. */ member
69 of the usa (usa_count) and add it to usa_ofs.
H A Dlayout.h168 * maximum size = usa_ofs + (usa_count * 2) = 510 bytes
172 * (usa_count * 2) has to be less than or equal to 510.
179 le16 usa_count; /* Number of le16 sized entries in the usa member
181 thus the number of fixups is the usa_count
317 le16 usa_count; /* See NTFS_RECORD definition above. */ member
386 le16 usa_count; /* See NTFS_RECORD definition above. */ member
2042 le16 usa_count; /* See NTFS_RECORD definition. */ member
H A Dmft.c2034 m->usa_count = cpu_to_le16(vol->mft_record_size / in ntfs_mft_record_layout()
2037 m->usa_count = cpu_to_le16(1); in ntfs_mft_record_layout()
2039 "size. Setting usa_count to 1. If chkdsk " in ntfs_mft_record_layout()
2056 (le16_to_cpu(m->usa_count) << 1) + 7) & ~7); in ntfs_mft_record_layout()
/kernel/linux/linux-6.6/fs/ntfs/
H A Dmst.c30 u16 usa_ofs, usa_count, usn; in post_read_mst_fixup() local
35 /* Decrement usa_count to get number of fixups. */ in post_read_mst_fixup()
36 usa_count = le16_to_cpu(b->usa_count) - 1; in post_read_mst_fixup()
40 usa_ofs + (usa_count * 2) > size || in post_read_mst_fixup()
41 (size >> NTFS_BLOCK_SIZE_BITS) != usa_count) in post_read_mst_fixup()
60 while (usa_count--) { in post_read_mst_fixup()
73 usa_count = le16_to_cpu(b->usa_count) - 1; in post_read_mst_fixup()
76 while (usa_count in post_read_mst_fixup()
112 u16 usa_ofs, usa_count, usn; pre_write_mst_fixup() local
170 u16 usa_count = le16_to_cpu(b->usa_count) - 1; post_write_mst_fixup() local
[all...]
H A Dlogfile.c42 u16 ra_ofs, usa_count, usa_ofs, usa_end = 0; in ntfs_check_restart_page_header() local
82 if (ntfs_is_chkd_record(rp->magic) && !le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header()
87 usa_count = 1 + (logfile_system_page_size >> NTFS_BLOCK_SIZE_BITS); in ntfs_check_restart_page_header()
88 if (usa_count != le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header()
95 usa_end = usa_ofs + usa_count * sizeof(u16); in ntfs_check_restart_page_header()
408 if ((!ntfs_is_chkd_record(trp->magic) || le16_to_cpu(trp->usa_count)) in ntfs_check_and_load_restart_page()
H A Dlogfile.h61 /* 6*/ le16 usa_count; /* See NTFS_RECORD definition in layout.h. */ member
69 of the usa (usa_count) and add it to usa_ofs.
H A Dlayout.h168 * maximum size = usa_ofs + (usa_count * 2) = 510 bytes
172 * (usa_count * 2) has to be less than or equal to 510.
179 le16 usa_count; /* Number of le16 sized entries in the usa member
181 thus the number of fixups is the usa_count
317 le16 usa_count; /* See NTFS_RECORD definition above. */ member
386 le16 usa_count; /* See NTFS_RECORD definition above. */ member
2042 le16 usa_count; /* See NTFS_RECORD definition. */ member
H A Dmft.c2036 m->usa_count = cpu_to_le16(vol->mft_record_size / in ntfs_mft_record_layout()
2039 m->usa_count = cpu_to_le16(1); in ntfs_mft_record_layout()
2041 "size. Setting usa_count to 1. If chkdsk " in ntfs_mft_record_layout()
2058 (le16_to_cpu(m->usa_count) << 1) + 7) & ~7); in ntfs_mft_record_layout()

Completed in 19 milliseconds