Lines Matching refs: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,
45 ntfs_error(vi->i_sb, "LogFile uses unsupported page size.");
53 ntfs_error(vi->i_sb, "Found restart area in incorrect position in LogFile.");
59 ntfs_error(vi->i_sb,
76 ntfs_error(vi->i_sb,
85 ntfs_error(vi->i_sb,
100 ntfs_error(vi->i_sb,
109 ntfs_error(vi->i_sb,
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)
148 ntfs_error(vi->i_sb,
162 ntfs_error(vi->i_sb,
177 ntfs_error(vi->i_sb,
192 ntfs_error(vi->i_sb,
207 ntfs_error(vi->i_sb,
214 ntfs_error(vi->i_sb,
221 ntfs_error(vi->i_sb,
231 * @vi: LogFile inode to which the restart page belongs
244 static bool ntfs_check_log_client_array(struct inode *vi,
290 ntfs_error(vi->i_sb, "LogFile log client array is corrupt.");
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,
331 if (!ntfs_check_restart_page_header(vi, rp, pos)) {
336 if (!ntfs_check_restart_area(vi, rp)) {
347 ntfs_error(vi->i_sb, "Failed to allocate memory for LogFile restart page buffer.");
370 folio = read_mapping_folio(vi->i_mapping, idx, NULL);
372 ntfs_error(vi->i_sb, "Error mapping LogFile page (index %lu).",
401 ntfs_error(vi->i_sb,
415 if (!ntfs_check_log_client_array(vi, trp)) {