Lines Matching full:vi
16 * @vi: LogFile inode to which the restart page header belongs
18 * @pos: position in @vi at which the restart page header resides
26 static bool ntfs_check_restart_page_header(struct inode *vi, in ntfs_check_restart_page_header() argument
45 ntfs_error(vi->i_sb, "LogFile uses unsupported page size."); in ntfs_check_restart_page_header()
53 ntfs_error(vi->i_sb, "Found restart area in incorrect position in LogFile."); in ntfs_check_restart_page_header()
59 ntfs_error(vi->i_sb, in ntfs_check_restart_page_header()
76 ntfs_error(vi->i_sb, in ntfs_check_restart_page_header()
85 ntfs_error(vi->i_sb, in ntfs_check_restart_page_header()
100 ntfs_error(vi->i_sb, in ntfs_check_restart_page_header()
109 ntfs_error(vi->i_sb, in ntfs_check_restart_page_header()
119 * @vi: LogFile inode to which the restart page belongs
131 static bool ntfs_check_restart_area(struct inode *vi, struct restart_page_header *rp) in ntfs_check_restart_area() argument
148 ntfs_error(vi->i_sb, in ntfs_check_restart_area()
162 ntfs_error(vi->i_sb, in ntfs_check_restart_area()
177 ntfs_error(vi->i_sb, in ntfs_check_restart_area()
192 ntfs_error(vi->i_sb, in ntfs_check_restart_area()
207 ntfs_error(vi->i_sb, in ntfs_check_restart_area()
214 ntfs_error(vi->i_sb, in ntfs_check_restart_area()
221 ntfs_error(vi->i_sb, in ntfs_check_restart_area()
231 * @vi: LogFile inode to which the restart page belongs
244 static bool ntfs_check_log_client_array(struct inode *vi, in ntfs_check_log_client_array() argument
290 ntfs_error(vi->i_sb, "LogFile log client array is corrupt."); in ntfs_check_log_client_array()
296 * @vi: LogFile inode to which the restart page belongs
298 * @pos: position in @vi at which the restart page resides
321 static int ntfs_check_and_load_restart_page(struct inode *vi, in ntfs_check_and_load_restart_page() argument
331 if (!ntfs_check_restart_page_header(vi, rp, pos)) { in ntfs_check_and_load_restart_page()
336 if (!ntfs_check_restart_area(vi, rp)) { in ntfs_check_and_load_restart_page()
347 ntfs_error(vi->i_sb, "Failed to allocate memory for LogFile restart page buffer."); in ntfs_check_and_load_restart_page()
370 folio = read_mapping_folio(vi->i_mapping, idx, NULL); in ntfs_check_and_load_restart_page()
372 ntfs_error(vi->i_sb, "Error mapping LogFile page (index %lu).", in ntfs_check_and_load_restart_page()
401 ntfs_error(vi->i_sb, in ntfs_check_and_load_restart_page()
415 if (!ntfs_check_log_client_array(vi, trp)) { in ntfs_check_and_load_restart_page()