1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright 2023 Red Hat
6 #ifndef VDO_THREAD_DEVICE_H
7 #define VDO_THREAD_DEVICE_H
9 #include "thread-registry.h"
11 void vdo_register_thread_device_id(struct registered_thread
*new_thread
,
12 unsigned int *id_ptr
);
14 void vdo_unregister_thread_device_id(void);
16 int vdo_get_thread_device_id(void);
18 void vdo_initialize_thread_device_registry(void);
20 #endif /* VDO_THREAD_DEVICE_H */