zdb.c (06eeb2ad640ce72d394ac521094bed7681044408) | zdb.c (6754306ec9a89fd28806908d10c76141e8fbba3f) |
---|---|
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 --- 1006 unchanged lines hidden (view full) --- 1015 1016 if (dn->dn_type == DMU_OT_DNODE) { 1017 minlvl = 0; 1018 blkfill = DNODES_PER_BLOCK; 1019 } 1020 1021 for (;;) { 1022 error = dnode_next_offset(dn, B_FALSE, &start, minlvl, | 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 --- 1006 unchanged lines hidden (view full) --- 1015 1016 if (dn->dn_type == DMU_OT_DNODE) { 1017 minlvl = 0; 1018 blkfill = DNODES_PER_BLOCK; 1019 } 1020 1021 for (;;) { 1022 error = dnode_next_offset(dn, B_FALSE, &start, minlvl, |
1023 blkfill); | 1023 blkfill, 0); |
1024 if (error) 1025 break; 1026 end = start; 1027 error = dnode_next_offset(dn, B_TRUE, &end, minlvl, | 1024 if (error) 1025 break; 1026 end = start; 1027 error = dnode_next_offset(dn, B_TRUE, &end, minlvl, |
1028 blkfill); | 1028 blkfill, 0); |
1029 nicenum(end - start, segsize); 1030 (void) printf("\t\tsegment [%016llx, %016llx)" 1031 " size %5s\n", (u_longlong_t)start, 1032 (u_longlong_t)end, segsize); 1033 if (error) 1034 break; 1035 start = end; 1036 } --- 71 unchanged lines hidden (view full) --- 1108 (void) printf("\n"); 1109 return; 1110 } 1111 1112 dump_object(os, 0, verbosity, &print_header); 1113 object_count = 1; 1114 1115 object = 0; | 1029 nicenum(end - start, segsize); 1030 (void) printf("\t\tsegment [%016llx, %016llx)" 1031 " size %5s\n", (u_longlong_t)start, 1032 (u_longlong_t)end, segsize); 1033 if (error) 1034 break; 1035 start = end; 1036 } --- 71 unchanged lines hidden (view full) --- 1108 (void) printf("\n"); 1109 return; 1110 } 1111 1112 dump_object(os, 0, verbosity, &print_header); 1113 object_count = 1; 1114 1115 object = 0; |
1116 while ((error = dmu_object_next(os, &object, B_FALSE)) == 0) { | 1116 while ((error = dmu_object_next(os, &object, B_FALSE, 0)) == 0) { |
1117 dump_object(os, object, verbosity, &print_header); 1118 object_count++; 1119 } 1120 1121 ASSERT3U(object_count, ==, usedobjs); 1122 1123 (void) printf("\n"); 1124 --- 1112 unchanged lines hidden --- | 1117 dump_object(os, object, verbosity, &print_header); 1118 object_count++; 1119 } 1120 1121 ASSERT3U(object_count, ==, usedobjs); 1122 1123 (void) printf("\n"); 1124 --- 1112 unchanged lines hidden --- |