aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/ddt_impl.h
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2023-07-03 12:32:53 +1000
committerBrian Behlendorf <[email protected]>2024-02-15 11:45:19 -0800
commitc8f694fe39ea7c1a99ced14064b909b515c53843 (patch)
tree4697eb0213a05fbf90398d218994e4132197fd53 /include/sys/ddt_impl.h
parent8e414fcdf40b52442d8fa1faf07c70d291aa8ac2 (diff)
ddt: typedef ddt_type and ddt_class
Mostly for consistency, so the reader is less likely to wonder why these things look different. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Rob Norris <[email protected]> Sponsored-by: Klara, Inc. Sponsored-by: iXsystems, Inc. Closes #15887
Diffstat (limited to 'include/sys/ddt_impl.h')
-rw-r--r--include/sys/ddt_impl.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/sys/ddt_impl.h b/include/sys/ddt_impl.h
index c43ced5a7..9960f9666 100644
--- a/include/sys/ddt_impl.h
+++ b/include/sys/ddt_impl.h
@@ -70,14 +70,14 @@ extern void ddt_key_fill(ddt_key_t *ddk, const blkptr_t *bp);
extern void ddt_stat_add(ddt_stat_t *dst, const ddt_stat_t *src, uint64_t neg);
-extern void ddt_object_name(ddt_t *ddt, enum ddt_type type,
- enum ddt_class clazz, char *name);
-extern int ddt_object_walk(ddt_t *ddt, enum ddt_type type,
- enum ddt_class clazz, uint64_t *walk, ddt_entry_t *dde);
-extern int ddt_object_count(ddt_t *ddt, enum ddt_type type,
- enum ddt_class clazz, uint64_t *count);
-extern int ddt_object_info(ddt_t *ddt, enum ddt_type type,
- enum ddt_class clazz, dmu_object_info_t *);
+extern void ddt_object_name(ddt_t *ddt, ddt_type_t type, ddt_class_t clazz,
+ char *name);
+extern int ddt_object_walk(ddt_t *ddt, ddt_type_t type, ddt_class_t clazz,
+ uint64_t *walk, ddt_entry_t *dde);
+extern int ddt_object_count(ddt_t *ddt, ddt_type_t type, ddt_class_t clazz,
+ uint64_t *count);
+extern int ddt_object_info(ddt_t *ddt, ddt_type_t type, ddt_class_t clazz,
+ dmu_object_info_t *);
#ifdef __cplusplus
}