thread-device.h 435 B

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