aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/md/dm-vdo/thread-registry.h
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@kernel.org>2024-02-09 14:04:34 -0600
committerMike Snitzer <snitzer@kernel.org>2024-03-01 09:26:20 -0500
commit82b354ffe28f43d6bbaf221bdeeb267bf6ff43d9 (patch)
treeaa873b8d609926956841719eca99ab7f2fff1679 /drivers/md/dm-vdo/thread-registry.h
parentdm vdo thread-utils: cleanup included headers (diff)
downloadwireguard-linux-82b354ffe28f43d6bbaf221bdeeb267bf6ff43d9.tar.xz
wireguard-linux-82b354ffe28f43d6bbaf221bdeeb267bf6ff43d9.zip
dm vdo thread-registry: rename all methods to reflect vdo-only use
Otherwise, uds_ prefix is misleading (vdo_ is the new catch-all for code that is used by vdo-only or _both_ vdo and the indexer code). Signed-off-by: Mike Snitzer <snitzer@kernel.org> Signed-off-by: Matthew Sakai <msakai@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/md/dm-vdo/thread-registry.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/md/dm-vdo/thread-registry.h b/drivers/md/dm-vdo/thread-registry.h
index f70f755568a1..cc6d78312b9e 100644
--- a/drivers/md/dm-vdo/thread-registry.h
+++ b/drivers/md/dm-vdo/thread-registry.h
@@ -3,8 +3,8 @@
* Copyright 2023 Red Hat
*/
-#ifndef UDS_THREAD_REGISTRY_H
-#define UDS_THREAD_REGISTRY_H
+#ifndef VDO_THREAD_REGISTRY_H
+#define VDO_THREAD_REGISTRY_H
#include <linux/list.h>
#include <linux/spinlock.h>
@@ -20,13 +20,13 @@ struct registered_thread {
struct task_struct *task;
};
-void uds_initialize_thread_registry(struct thread_registry *registry);
+void vdo_initialize_thread_registry(struct thread_registry *registry);
-void uds_register_thread(struct thread_registry *registry,
+void vdo_register_thread(struct thread_registry *registry,
struct registered_thread *new_thread, const void *pointer);
-void uds_unregister_thread(struct thread_registry *registry);
+void vdo_unregister_thread(struct thread_registry *registry);
-const void *uds_lookup_thread(struct thread_registry *registry);
+const void *vdo_lookup_thread(struct thread_registry *registry);
-#endif /* UDS_THREAD_REGISTRY_H */
+#endif /* VDO_THREAD_REGISTRY_H */