Lines Matching defs:to

4  * The contents of this file are subject to the terms of the
23 * Use is subject to license terms.
117 /* all probably ought to be different, but these are convenient for debugging */
192 UFA_SET /* change uf to state */
215 /* thread to watch for failures */
280 * if flagged to be locked but not unmounted: (UFSMNT_ONERROR_LOCK)
286 * if flagged to be unmounted: (UFSMNT_ONERROR_UMOUNT)
289 * if flagged to panic: (UFSMNT_ONERROR_PANIC)
312 { UF_TRYLCK, "trying to be locked", sf_nonterm_cmn,
405 * when a failure is detected to put the file system into an
406 * error state (if possible) or to devolve to a panic otherwise
408 * vnode is some vnode in this file system, used to find the way
409 * to ufsvfs, vfsp etc. Since a panic can be called from many
410 * levels, the vnode is the most convenient hook to pass through.
455 * In order for the bad thing to be recorded in the superblock
456 * we need to write to the superblock directly.
458 * would normally intercept our write as a delta to the log,
515 * threadp so we have to release the lock.
522 * No need to log another failure as one is already
556 * Attempt to fix iff:
558 * - this file system isn't explicitly marked not to be fixed
559 * - we can connect to the user-level daemon
644 * enough information to make a fix attempt possible?
778 delay(hz >> 1); /* allow previous warnings to get out */
1062 * triggers differently in order to use uq_ne as meaningful data.
1077 /* sleep until there is work to do */
1106 * returns # of seconds to sleep before trying again
1129 * is appropriate to move it to the next state
1134 * retry == 0; nothing more to do (terminal state)
1193 * XXX to run fsck manually (and change retry time?)
1195 cmn_err(seriousness, "Waiting for repair of %s to %s",
1438 * UF_TRYLCK to set fx_current
1471 * don't need to check for null ufsvfsp because
1473 * to mark it null and we own that lock since
1491 * copy general flags to this ufs_failure so we don't
1492 * need to refer back to the ufsvfs, or, more importantly,
1493 * don't need to keep acquiring (trying to acquire) vfs_lockp
1513 TRIVIA((": set to replica failed] "));
1684 * just reset to current state
1753 * get on disk superblock; force it to really
1791 /* fsck started but doesn't seem to be proceeding? */
1962 * XXX or move to an historical list?
1967 * to occur (to the point of memory shortages),
2058 state_trans_valid(ufs_failure_states_t from, ufs_failure_states_t to)
2065 if (from & to)
2068 s = get_state_desc(to);
2072 * (to detect freshly allocated memory)
2075 valid = (to & UF_INIT)? from == s->ud_prev: from & s->ud_prev;
2205 * if can't get lock, then fallback to panic, unless
2364 HIDEOUS((": vfs_bufp mutated from 0x%p to 0x%p\n",
2369 HIDEOUS((": vfs_bufp mutated from 0x%p to 0x%p\n",
2546 * used to coordinate with hlock thread (see ufs_thread.c)
2547 * and to determine when the error lock thread may exit
2594 * called to shutdown fix failure thread and server daemon