zdb.c (268649) | zdb.c (268650) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 61 unchanged lines hidden (view full) --- 70#define ZDB_OT_NAME(idx) ((idx) < DMU_OT_NUMTYPES ? \ 71 dmu_ot[(idx)].ot_name : DMU_OT_IS_VALID(idx) ? \ 72 dmu_ot_byteswap[DMU_OT_BYTESWAP(idx)].ob_name : "UNKNOWN") 73#define ZDB_OT_TYPE(idx) ((idx) < DMU_OT_NUMTYPES ? (idx) : \ 74 (((idx) == DMU_OTN_ZAP_DATA || (idx) == DMU_OTN_ZAP_METADATA) ? \ 75 DMU_OT_ZAP_OTHER : DMU_OT_NUMTYPES)) 76 77#ifndef lint | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 61 unchanged lines hidden (view full) --- 70#define ZDB_OT_NAME(idx) ((idx) < DMU_OT_NUMTYPES ? \ 71 dmu_ot[(idx)].ot_name : DMU_OT_IS_VALID(idx) ? \ 72 dmu_ot_byteswap[DMU_OT_BYTESWAP(idx)].ob_name : "UNKNOWN") 73#define ZDB_OT_TYPE(idx) ((idx) < DMU_OT_NUMTYPES ? (idx) : \ 74 (((idx) == DMU_OTN_ZAP_DATA || (idx) == DMU_OTN_ZAP_METADATA) ? \ 75 DMU_OT_ZAP_OTHER : DMU_OT_NUMTYPES)) 76 77#ifndef lint |
78extern int zfs_recover; | 78extern boolean_t zfs_recover; |
79#else | 79#else |
80int zfs_recover; | 80boolean_t zfs_recover; |
81#endif 82 83const char cmdname[] = "zdb"; 84uint8_t dump_opt[256]; 85 86typedef void object_viewer_t(objset_t *, uint64_t, void *data, size_t size); 87 88extern void dump_intent_log(zilog_t *); --- 3492 unchanged lines hidden --- | 81#endif 82 83const char cmdname[] = "zdb"; 84uint8_t dump_opt[256]; 85 86typedef void object_viewer_t(objset_t *, uint64_t, void *data, size_t size); 87 88extern void dump_intent_log(zilog_t *); --- 3492 unchanged lines hidden --- |