Lines Matching refs:ra_ofs
42 u16 ra_ofs, usa_count, usa_ofs, usa_end = 0; in ntfs_check_restart_page_header() local
109 ra_ofs = le16_to_cpu(rp->restart_area_offset); in ntfs_check_restart_page_header()
110 if (ra_ofs & 7 || (have_usa ? ra_ofs < usa_end : in ntfs_check_restart_page_header()
111 ra_ofs < sizeof(RESTART_PAGE_HEADER)) || in ntfs_check_restart_page_header()
112 ra_ofs > logfile_system_page_size) { in ntfs_check_restart_page_header()
148 u16 ra_ofs, ra_len, ca_ofs; in ntfs_check_restart_area() local
152 ra_ofs = le16_to_cpu(rp->restart_area_offset); in ntfs_check_restart_area()
153 ra = (RESTART_AREA*)((u8*)rp + ra_ofs); in ntfs_check_restart_area()
159 if (ra_ofs + offsetof(RESTART_AREA, file_size) > in ntfs_check_restart_area()
174 ra_ofs + ca_ofs > NTFS_BLOCK_SIZE - sizeof(u16)) { in ntfs_check_restart_area()
186 if (ra_ofs + ra_len > le32_to_cpu(rp->system_page_size) || in ntfs_check_restart_area()
187 ra_ofs + le16_to_cpu(ra->restart_area_length) > in ntfs_check_restart_area()