summaryrefslogtreecommitdiff
path: root/drivers/md/dm-vdo/thread-registry.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@kernel.org>2024-02-09 23:04:34 +0300
committerMike Snitzer <snitzer@kernel.org>2024-03-01 17:26:20 +0300
commit82b354ffe28f43d6bbaf221bdeeb267bf6ff43d9 (patch)
treeaa873b8d609926956841719eca99ab7f2fff1679 /drivers/md/dm-vdo/thread-registry.c
parentcb6f8b75005c385e4b604d6e9e3e94153d58cfaa (diff)
downloadlinux-82b354ffe28f43d6bbaf221bdeeb267bf6ff43d9.tar.xz
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 'drivers/md/dm-vdo/thread-registry.c')
-rw-r--r--drivers/md/dm-vdo/thread-registry.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/md/dm-vdo/thread-registry.c b/drivers/md/dm-vdo/thread-registry.c
index 8c887158c224..1314d2b6a26f 100644
--- a/drivers/md/dm-vdo/thread-registry.c
+++ b/drivers/md/dm-vdo/thread-registry.c
@@ -14,14 +14,14 @@
* their normal operation. For example, we do not want to invoke the logger while holding a lock.
*/
-void uds_initialize_thread_registry(struct thread_registry *registry)
+void vdo_initialize_thread_registry(struct thread_registry *registry)
{
INIT_LIST_HEAD(&registry->links);
spin_lock_init(&registry->lock);
}
/* Register the current thread and associate it with a data pointer. */
-void uds_register_thread(struct thread_registry *registry,
+void vdo_register_thread(struct thread_registry *registry,
struct registered_thread *new_thread, const void *pointer)
{
struct registered_thread *thread;
@@ -51,7 +51,7 @@ void uds_register_thread(struct thread_registry *registry,
}
}
-void uds_unregister_thread(struct thread_registry *registry)
+void vdo_unregister_thread(struct thread_registry *registry)
{
struct registered_thread *thread;
bool found_it = false;
@@ -74,7 +74,7 @@ void uds_unregister_thread(struct thread_registry *registry)
}
}
-const void *uds_lookup_thread(struct thread_registry *registry)
+const void *vdo_lookup_thread(struct thread_registry *registry)
{
struct registered_thread *thread;
const void *result = NULL;