Lines Matching refs:mode
842 enum zti_modes mode = ztip->zti_mode;
850 if (mode == ZTI_MODE_NULL) {
861 switch (mode) {
874 panic("unrecognized mode for %s_%s taskq (%u:%u) in "
876 zio_type_name[t], zio_taskq_types[q], mode, value);
1043 spa_activate(spa_t *spa, int mode)
1048 spa->spa_mode = mode;
2238 * If this is an untrusted config, access the pool in read-only mode.
2487 * import in read-write mode and (if it is not) whether the
2488 * pool is available for import in read-only mode. If the pool
2489 * is available for import in read-write mode, it is displayed
2491 * in read-only mode, it is displayed as unavailable in
2493 * mode but not read-write mode, it is displayed as unavailable
2495 * available for open in read-only mode.
2823 * read-only mode but not read-write mode. We now have enough
2931 int mode = spa->spa_mode;
2938 spa_activate(spa, mode);
3416 * import (mode is VDEV_ALLOC_SPARE), then we allow corrupted spares to be
3420 spa_validate_aux_devs(spa_t *spa, nvlist_t *nvroot, uint64_t crtxg, int mode,
3456 mode)) != 0)
3488 (mode != VDEV_ALLOC_SPARE && mode != VDEV_ALLOC_L2CACHE))
3501 spa_validate_aux(spa_t *spa, nvlist_t *nvroot, uint64_t crtxg, int mode)
3507 if ((error = spa_validate_aux_devs(spa, nvroot, crtxg, mode,
3513 return (spa_validate_aux_devs(spa, nvroot, crtxg, mode,
4051 uint64_t mode = spa_mode_global;
4075 mode = FREAD;
4094 spa_activate(spa, mode);