Lines Matching defs:reason
2658 zpool_status_t reason;
2678 reason = zpool_import_status(config, &msgid, &errata);
2684 if (reason != ZPOOL_STATUS_OK && !report_error)
2685 return (reason);
2694 switch (reason) {
2837 assert(reason == ZPOOL_STATUS_OK);
2844 if (reason == ZPOOL_STATUS_VERSION_OLDER ||
2845 reason == ZPOOL_STATUS_FEAT_DISABLED) {
2850 } else if (reason == ZPOOL_STATUS_COMPATIBILITY_ERR) {
2856 } else if (reason == ZPOOL_STATUS_HOSTID_MISMATCH) {
2860 } else if (reason == ZPOOL_STATUS_ERRATA) {
2922 switch (reason) {
3018 if (reason == ZPOOL_STATUS_BAD_GUID_SUM) {
8053 * reason: One or more devices ...
8069 zpool_status_t reason;
8076 reason = zpool_get_status(zhp, &msgid, &errata);
8085 (reason == ZPOOL_STATUS_OK ||
8086 reason == ZPOOL_STATUS_VERSION_OLDER ||
8087 reason == ZPOOL_STATUS_FEAT_DISABLED ||
8088 reason == ZPOOL_STATUS_COMPATIBILITY_ERR ||
8089 reason == ZPOOL_STATUS_INCOMPATIBLE_FEAT)) {
8120 switch (reason) {
8159 zpool_get_name(zhp), reason, config);
8236 zpool_get_name(zhp), reason, config);
8465 assert(reason == ZPOOL_STATUS_OK);
10342 * resilvering for a different reason. However, we use it as a heuristic