• Home
  • Raw
  • Download

Lines Matching full:restart

42  * @vi:		$LogFile inode to which the restart page header belongs
43 * @rp: restart page header to check
44 * @pos: position in @vi at which the restart page header resides
46 * Check the restart page header @rp for consistency and return 'true' if it is
50 * require the full restart page.
75 * We must be either at !pos (1st restart page) or at pos = system page in ntfs_check_restart_page_header()
76 * size (2nd restart page). in ntfs_check_restart_page_header()
79 ntfs_error(vi->i_sb, "Found restart area in incorrect " in ntfs_check_restart_page_header()
93 * If chkdsk has been run the restart page may not be protected by an in ntfs_check_restart_page_header()
103 ntfs_error(vi->i_sb, "$LogFile restart page specifies " in ntfs_check_restart_page_header()
112 ntfs_error(vi->i_sb, "$LogFile restart page specifies " in ntfs_check_restart_page_header()
118 * Verify the position of the restart area. It must be: in ntfs_check_restart_page_header()
127 ntfs_error(vi->i_sb, "$LogFile restart page specifies " in ntfs_check_restart_page_header()
128 "inconsistent restart area offset."); in ntfs_check_restart_page_header()
132 * Only restart pages modified by chkdsk are allowed to have chkdsk_lsn in ntfs_check_restart_page_header()
136 ntfs_error(vi->i_sb, "$LogFile restart page is not modified " in ntfs_check_restart_page_header()
145 * ntfs_check_restart_area - check the restart area for consistency
146 * @vi: $LogFile inode to which the restart page belongs
147 * @rp: restart page whose restart area to check
149 * Check the restart area of the restart page @rp for consistency and return
152 * This function assumes that the restart page header has already been
156 * require the full restart page.
175 ntfs_error(vi->i_sb, "$LogFile restart area specifies " in ntfs_check_restart_area()
183 * restart area elements safely. Also, the client array offset must be in ntfs_check_restart_area()
189 ntfs_error(vi->i_sb, "$LogFile restart area specifies " in ntfs_check_restart_area()
194 * The restart area must end within the system page size both when in ntfs_check_restart_area()
204 ntfs_error(vi->i_sb, "$LogFile restart area is out of bounds " in ntfs_check_restart_area()
206 "restart page header and/or the specified " in ntfs_check_restart_area()
207 "restart area length is inconsistent."); in ntfs_check_restart_area()
221 ntfs_error(vi->i_sb, "$LogFile restart area specifies " in ntfs_check_restart_area()
236 ntfs_error(vi->i_sb, "$LogFile restart area specifies " in ntfs_check_restart_area()
243 ntfs_error(vi->i_sb, "$LogFile restart area specifies " in ntfs_check_restart_area()
250 ntfs_error(vi->i_sb, "$LogFile restart area specifies " in ntfs_check_restart_area()
260 * @vi: $LogFile inode to which the restart page belongs
261 * @rp: restart page whose log client array to check
263 * Check the log client array of the restart page @rp for consistency and
266 * This function assumes that the restart page header and the restart area have
271 * restart page and the page must be multi sector transfer deprotected.
324 * ntfs_check_and_load_restart_page - check the restart page for consistency
325 * @vi: $LogFile inode to which the restart page belongs
326 * @rp: restart page to check
327 * @pos: position in @vi at which the restart page resides
328 * @wrp: [OUT] copy of the multi sector transfer deprotected restart page
331 * Check the restart page @rp for consistency and return 0 if it is consistent
332 * and -errno otherwise. The restart page may have been modified by chkdsk in
336 * require the full restart page.
343 * logfile lsn according to this restart page. On failure, *@lsn is undefined.
346 * -EINVAL - The restart page is inconsistent.
347 * -ENOMEM - Not enough memory to load the restart page.
359 /* Check the restart page header for consistency. */ in ntfs_check_and_load_restart_page()
364 /* Check the restart area for consistency. */ in ntfs_check_and_load_restart_page()
371 * Allocate a buffer to store the whole restart page so we can multi in ntfs_check_and_load_restart_page()
377 "restart page buffer."); in ntfs_check_and_load_restart_page()
381 * Read the whole of the restart page into the buffer. If it fits in ntfs_check_and_load_restart_page()
420 * restart page is protected. in ntfs_check_and_load_restart_page()
427 * abort if the restart page contents exceed the multi sector in ntfs_check_and_load_restart_page()
434 "detected in $LogFile restart page."); in ntfs_check_and_load_restart_page()
440 * If the restart page is modified by chkdsk or there are no active in ntfs_check_and_load_restart_page()
471 * @rp: [OUT] on success this is a copy of the current restart page
474 * consistent and 'false' if not. On success, the current restart page is
477 * At present we only check the two restart pages and ignore the log record
526 * Ensure the log file is big enough to store at least the two restart in ntfs_check_logfile()
535 * Read through the file looking for a restart page. Since the restart in ntfs_check_logfile()
565 * A log record page means there cannot be a restart page after in ntfs_check_logfile()
570 /* If not a (modified by chkdsk) restart page, continue. */ in ntfs_check_logfile()
578 * Check the (modified by chkdsk) restart page for consistency in ntfs_check_logfile()
580 * deprotected restart page. in ntfs_check_logfile()
589 * restart page, continue looking for the second one. in ntfs_check_logfile()
597 * restart page, so we can stop looking. in ntfs_check_logfile()
603 * not abort if the restart page was invalid as we might still in ntfs_check_logfile()
624 ntfs_error(vol->sb, "Did not find any restart pages in " in ntfs_check_logfile()
628 /* If both restart pages were found, use the more recent one. */ in ntfs_check_logfile()
631 * If the second restart area is more recent, switch to it. in ntfs_check_logfile()
635 ntfs_debug("Using second restart page as it is more " in ntfs_check_logfile()
641 ntfs_debug("Using first restart page as it is more " in ntfs_check_logfile()
663 * @rp: copy of the current restart page
668 * At present we only look at the two restart pages and ignore the log record
694 ntfs_error(vol->sb, "Restart page buffer is invalid. This is " in ntfs_is_logfile_clean()
703 * have the RESTART_VOLUME_IS_CLEAN bit set in the restart area flags, in ntfs_is_logfile_clean()