Searched refs:usa_ofs (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/fs/ntfs/ |
H A D | mst.c | 30 u16 usa_ofs, usa_count, usn; in post_read_mst_fixup() local 34 usa_ofs = le16_to_cpu(b->usa_ofs); in post_read_mst_fixup() 39 usa_ofs & 1 || in post_read_mst_fixup() 40 usa_ofs + (usa_count * 2) > size || in post_read_mst_fixup() 44 usa_pos = (u16*)b + usa_ofs/sizeof(u16); in post_read_mst_fixup() 112 u16 usa_ofs, usa_count, usn; in pre_write_mst_fixup() local 120 usa_ofs = le16_to_cpu(b->usa_ofs); in pre_write_mst_fixup() 125 usa_ofs in pre_write_mst_fixup() 169 u16 usa_ofs = le16_to_cpu(b->usa_ofs); post_write_mst_fixup() local [all...] |
H A D | logfile.c | 42 u16 ra_ofs, usa_count, usa_ofs, usa_end = 0; in ntfs_check_restart_page_header() local 94 usa_ofs = le16_to_cpu(rp->usa_ofs); in ntfs_check_restart_page_header() 95 usa_end = usa_ofs + usa_count * sizeof(u16); in ntfs_check_restart_page_header() 96 if (usa_ofs < sizeof(RESTART_PAGE_HEADER) || in ntfs_check_restart_page_header()
|
H A D | logfile.h | 57 /* 4*/ le16 usa_ofs; /* See NTFS_RECORD definition in layout.h. member 69 of the usa (usa_count) and add it to usa_ofs.
|
H A D | layout.h | 168 * maximum size = usa_ofs + (usa_count * 2) = 510 bytes 171 * This formula can be used as a consistency check in that usa_ofs + 177 le16 usa_ofs; /* Offset to the Update Sequence Array (usa) member 316 le16 usa_ofs; /* See NTFS_RECORD definition above. */ member 385 le16 usa_ofs; /* See NTFS_RECORD definition above. */ member 2041 le16 usa_ofs; /* See NTFS_RECORD definition. */ member
|
H A D | mft.c | 2022 m->usa_ofs = cpu_to_le16((sizeof(MFT_RECORD_OLD) + 1) & ~1); in ntfs_mft_record_layout() 2024 m->usa_ofs = cpu_to_le16((sizeof(MFT_RECORD) + 1) & ~1); in ntfs_mft_record_layout() 2047 *(le16*)((u8*)m + le16_to_cpu(m->usa_ofs)) = cpu_to_le16(1); in ntfs_mft_record_layout() 2055 m->attrs_offset = cpu_to_le16((le16_to_cpu(m->usa_ofs) + in ntfs_mft_record_layout() 2552 usn = *(le16*)((u8*)m + le16_to_cpu(m->usa_ofs)); in ntfs_mft_record_alloc() 2565 *(le16*)((u8*)m + le16_to_cpu(m->usa_ofs)) = usn; in ntfs_mft_record_alloc()
|
/kernel/linux/linux-6.6/fs/ntfs/ |
H A D | mst.c | 30 u16 usa_ofs, usa_count, usn; in post_read_mst_fixup() local 34 usa_ofs = le16_to_cpu(b->usa_ofs); in post_read_mst_fixup() 39 usa_ofs & 1 || in post_read_mst_fixup() 40 usa_ofs + (usa_count * 2) > size || in post_read_mst_fixup() 44 usa_pos = (u16*)b + usa_ofs/sizeof(u16); in post_read_mst_fixup() 112 u16 usa_ofs, usa_count, usn; in pre_write_mst_fixup() local 120 usa_ofs = le16_to_cpu(b->usa_ofs); in pre_write_mst_fixup() 125 usa_ofs in pre_write_mst_fixup() 169 u16 usa_ofs = le16_to_cpu(b->usa_ofs); post_write_mst_fixup() local [all...] |
H A D | logfile.c | 42 u16 ra_ofs, usa_count, usa_ofs, usa_end = 0; in ntfs_check_restart_page_header() local 94 usa_ofs = le16_to_cpu(rp->usa_ofs); in ntfs_check_restart_page_header() 95 usa_end = usa_ofs + usa_count * sizeof(u16); in ntfs_check_restart_page_header() 96 if (usa_ofs < sizeof(RESTART_PAGE_HEADER) || in ntfs_check_restart_page_header()
|
H A D | logfile.h | 57 /* 4*/ le16 usa_ofs; /* See NTFS_RECORD definition in layout.h. member 69 of the usa (usa_count) and add it to usa_ofs.
|
H A D | layout.h | 168 * maximum size = usa_ofs + (usa_count * 2) = 510 bytes 171 * This formula can be used as a consistency check in that usa_ofs + 177 le16 usa_ofs; /* Offset to the Update Sequence Array (usa) member 316 le16 usa_ofs; /* See NTFS_RECORD definition above. */ member 385 le16 usa_ofs; /* See NTFS_RECORD definition above. */ member 2041 le16 usa_ofs; /* See NTFS_RECORD definition. */ member
|
H A D | mft.c | 2024 m->usa_ofs = cpu_to_le16((sizeof(MFT_RECORD_OLD) + 1) & ~1); in ntfs_mft_record_layout() 2026 m->usa_ofs = cpu_to_le16((sizeof(MFT_RECORD) + 1) & ~1); in ntfs_mft_record_layout() 2049 *(le16*)((u8*)m + le16_to_cpu(m->usa_ofs)) = cpu_to_le16(1); in ntfs_mft_record_layout() 2057 m->attrs_offset = cpu_to_le16((le16_to_cpu(m->usa_ofs) + in ntfs_mft_record_layout() 2554 usn = *(le16*)((u8*)m + le16_to_cpu(m->usa_ofs)); in ntfs_mft_record_alloc() 2567 *(le16*)((u8*)m + le16_to_cpu(m->usa_ofs)) = usn; in ntfs_mft_record_alloc()
|
Completed in 19 milliseconds