Lines Matching refs:le16_to_cpu
82 if (ntfs_is_chkd_record(rp->magic) && !le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header()
88 if (usa_count != le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header()
94 usa_ofs = le16_to_cpu(rp->usa_ofs); in ntfs_check_restart_page_header()
109 ra_ofs = le16_to_cpu(rp->restart_area_offset); in ntfs_check_restart_page_header()
152 ra_ofs = le16_to_cpu(rp->restart_area_offset); in ntfs_check_restart_area()
172 ca_ofs = le16_to_cpu(ra->client_array_offset); in ntfs_check_restart_area()
184 ra_len = ca_ofs + le16_to_cpu(ra->log_clients) * in ntfs_check_restart_area()
187 ra_ofs + le16_to_cpu(ra->restart_area_length) > in ntfs_check_restart_area()
189 ra_len > le16_to_cpu(ra->restart_area_length)) { in ntfs_check_restart_area()
202 le16_to_cpu(ra->client_free_list) >= in ntfs_check_restart_area()
203 le16_to_cpu(ra->log_clients)) || in ntfs_check_restart_area()
205 le16_to_cpu(ra->client_in_use_list) >= in ntfs_check_restart_area()
206 le16_to_cpu(ra->log_clients))) { in ntfs_check_restart_area()
227 if (((le16_to_cpu(ra->log_record_header_length) + 7) & ~7) != in ntfs_check_restart_area()
228 le16_to_cpu(ra->log_record_header_length)) { in ntfs_check_restart_area()
234 if (((le16_to_cpu(ra->log_page_data_offset) + 7) & ~7) != in ntfs_check_restart_area()
235 le16_to_cpu(ra->log_page_data_offset)) { in ntfs_check_restart_area()
268 ra = (RESTART_AREA*)((u8*)rp + le16_to_cpu(rp->restart_area_offset)); in ntfs_check_log_client_array()
270 le16_to_cpu(ra->client_array_offset)); in ntfs_check_log_client_array()
279 nr_clients = le16_to_cpu(ra->log_clients); in ntfs_check_log_client_array()
280 idx = le16_to_cpu(ra->client_free_list); in ntfs_check_log_client_array()
284 idx = le16_to_cpu(cr->next_client)) { in ntfs_check_log_client_array()
285 if (!nr_clients || idx >= le16_to_cpu(ra->log_clients)) in ntfs_check_log_client_array()
299 idx = le16_to_cpu(ra->client_in_use_list); in ntfs_check_log_client_array()
355 ra = (RESTART_AREA*)((u8*)rp + le16_to_cpu(rp->restart_area_offset)); in ntfs_check_and_load_restart_page()
408 if ((!ntfs_is_chkd_record(trp->magic) || le16_to_cpu(trp->usa_count)) in ntfs_check_and_load_restart_page()
416 if (le16_to_cpu(rp->restart_area_offset) + in ntfs_check_and_load_restart_page()
417 le16_to_cpu(ra->restart_area_length) > in ntfs_check_and_load_restart_page()
685 ra = (RESTART_AREA*)((u8*)rp + le16_to_cpu(rp->restart_area_offset)); in ntfs_is_logfile_clean()