xref: /linux/drivers/md/dm-vdo/thread-device.h (revision e6a901a00822659181c93c86d8bbc2a17779fddc)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright 2023 Red Hat
4  */
5 
6 #ifndef VDO_THREAD_DEVICE_H
7 #define VDO_THREAD_DEVICE_H
8 
9 #include "thread-registry.h"
10 
11 void vdo_register_thread_device_id(struct registered_thread *new_thread,
12 				   unsigned int *id_ptr);
13 
14 void vdo_unregister_thread_device_id(void);
15 
16 int vdo_get_thread_device_id(void);
17 
18 void vdo_initialize_thread_device_registry(void);
19 
20 #endif /* VDO_THREAD_DEVICE_H */
21